-
-
Notifications
You must be signed in to change notification settings - Fork 215
Need help compiling mbed for PORTENTA_H7_M7 #609
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
Comments
I did the clone, and created the symbolic link Everything else was left as is I now get the following error message ? compiler location ?
|
@salasidis some python modules are missing. use this requirements file to install all the dependencies https://github.com/ARMmbed/mbed-os/blob/master/requirements.txt |
Thanks, I see that now in the list. I have once upon a time used QNX about 25 yrs ago, but have not used any UNIX/Linux flavor since, so I am quite rusty - sorry. I managed to install them - had to use 'sudo pip install -r requirements.txt' Interestingly enough, it worked the first time, but if I try to install again, I get all sorts of errors - below is a short list of the start of the output
In any case, when I try to run the ./mbed-os-to-arduino script again I also get a variable output - after running a few times, I now get this
|
This is the content of the 0001-PACKAGING... file
I In ./tools/profiles from that directory the develop.json file is there These are the files present in that directory When I execute the git apply command, I get the following
No difference if I execute it as sudo Still lost unfortunately - Thanks for any further help |
Hi @salasidis , About bundling the patches with the released version of the core there's an issue already opened here #587 that may contains some information to get you unstuck |
Thanks for taking the time. That did help in getting the compiler to continue running again. There were some more dependencies and the like I had to install, but it eventtually says
In case others are interested, I created a file that has the steps I took in order to get it to work
|
Hello, having eternal issues trying to compile new libmbed.a file
Created a new PC with Ubuntuu linux
Downloaded Arduino IDE 2.0
Install Portenta Board manager
Used the main file below as guide
https://github.com/arduino/ArduinoCore-mbed#mbed-os-to-arduino-script
Did not create a new clone, but trying to compile in the 3.5.4 installation itself
Went to ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.5.4
I tried running the mbed-os-to-arduino script at that point, and was getting a line 25 error
I then found this
arduino/ArduinoCore-nRF528x-mbedos#66
I installed python3
Created a virtual environemt and and ran
./mbed-os-to-arduino -a -g PORTENTA_H7_M7:PORTENTA_H7_M7
I then got an error message later in the script
I downloaded the GNU ToolChain, but not sure if the problem is that the scrtipt dows not find the compiler locations?
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: