You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A couple of us were trying for a while to be able to do source level debugging of the core files. In our case it was for the GIGA
but pretty sure this applies to all of the mbed boards.
Some of the things we ran into were simple to fix, things like: git clone [email protected]:arduino/ArduinoCore-API
Did not work for me with the new github authorization stuff. Better to convert them to lines like: git clone https://github.com/arduino/ArduinoCore-API.git
I am pretty sure there have been other threads about this, but the one, that described what we were doing is up on the forum thread https://forum.arduino.cc/t/building-debug-libmbed-a/1315845
Thanks to @per1234 help, we now are able to make the debug libmbed library for the GIGA.
So far we have done so, on a PC with Ubuntu 24.04. an RPI running the latest Raspberry PI OS 64 bit on RPI5. Also, RPI5 running Ubuntu 24.04 and I was also able to build on a Windows 11 machine using WSL with Ubuntu 24.04 and then copy the directory out of the logical Ubuntu File system to another location accessible to Windows. (you do need to update the symbolic link to the API directory).
The breakthrough at least for me was the suggestion of using Poetry for the python sandbox and suggestions on use Poetry for this.
These instructions may not be complete and may need to be modified for MAC. Hopefully a set of instructions for building it directly on Windows would be great. For example, could it be built using a git bash command window? Or has someone created a .bat file.
Hopefully the Readme file can be updated to make it easier for others.
Thanks
Kurt
The text was updated successfully, but these errors were encountered:
A couple of us were trying for a while to be able to do source level debugging of the core files. In our case it was for the GIGA
but pretty sure this applies to all of the mbed boards.
Some of the things we ran into were simple to fix, things like:
git clone [email protected]:arduino/ArduinoCore-API
Did not work for me with the new github authorization stuff. Better to convert them to lines like:
git clone https://github.com/arduino/ArduinoCore-API.git
I am pretty sure there have been other threads about this, but the one, that described what we were doing is up on the forum thread
https://forum.arduino.cc/t/building-debug-libmbed-a/1315845
Thanks to @per1234 help, we now are able to make the debug libmbed library for the GIGA.
So far we have done so, on a PC with Ubuntu 24.04. an RPI running the latest Raspberry PI OS 64 bit on RPI5. Also, RPI5 running Ubuntu 24.04 and I was also able to build on a Windows 11 machine using WSL with Ubuntu 24.04 and then copy the directory out of the logical Ubuntu File system to another location accessible to Windows. (you do need to update the symbolic link to the API directory).
The breakthrough at least for me was the suggestion of using Poetry for the python sandbox and suggestions on use Poetry for this.
My unofficial notes are in the post, that I marked as answer in that thread:
https://forum.arduino.cc/t/building-debug-libmbed-a/1315845/28
These instructions may not be complete and may need to be modified for MAC. Hopefully a set of instructions for building it directly on Windows would be great. For example, could it be built using a git bash command window? Or has someone created a .bat file.
Hopefully the Readme file can be updated to make it easier for others.
Thanks
Kurt
The text was updated successfully, but these errors were encountered: