Skip to content

Version 2.0.0 Portenta MBED not running on windows fine on linux #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hpssjellis opened this issue Apr 9, 2021 · 1 comment
Closed

Comments

@hpssjellis
Copy link
Contributor

Large Machine Learning Tensorflow Lite program that worked fine on Mbed Core Version 1.3.2. With Version 2.0.0 Portenta only Installation works fine on Linux but does not run on windows. Here is the error message.

arm-none-eabi-gcc: error: CreateProcess: No such file or directory


This single file (using TensorflowLite as an included library) can be used on a windows machine to demonstrate the problem.

https://raw.githubusercontent.com/hpssjellis/my-examples-for-the-arduino-portentaH7/master/m09-Tensoflow/b01_makerML_hello_world.ino

The file does however work on the deprecated Multiple Mbed Core version 2.0.0

@facchinm
Copy link
Member

Hi @hpssjellis ,
as a woraround you can open C:\Users\yourusername\AppData\Local\Arduino15\packages\arduino\hardware\mbed_portenta\2.0.0\variants\PORTENTA_H7_M7\includes.txt and remove all the lines starting with -iwithprefixbefore/mbed/connectivity/nanostack/ .
The issue is, as always, the command line length limit on Windows 😞
I'll be pushing a proper fix and a new core version during this week

facchinm added a commit to facchinm/ArduinoCore-mbed that referenced this issue Apr 13, 2021
sebromero pushed a commit to sebromero/ArduinoCore-mbed that referenced this issue Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants