-
Notifications
You must be signed in to change notification settings - Fork 39
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
how to rebuild libmbed-os.a #279
Comments
Great question! That's a hint... It relies on another GitHub action to run a few arbitrary mbed build jobs. If you check out the arguments passed in you can see that the mbed command to build a static library is: This means you will need to get mbed installed w/ a gcc toolchain. Here's a little more info about that: |
Thanks for the information. |
I wanted to add. You want to use the ambiq-apollo3-arduino branch when doing this. The latest version of mbed changed some namespaces and the arduinoBLE has not yet been updated to match these changes. This branch is based on an older version of mbed. |
thanks !! |
As I have spend good time getting this going I have documented how I had done it. Maybe useful for others as a starting point |
Much of the kernel code (for good reason) is stored in a static library {build.variant.path}/mbed/libmbed-os.a. I am studying the library code and want to check some changes. However even if I change the source code, it will not be taken into effect as the compiler (instructed in platform.txt) is using the library. How can I rebuild the libmbed-os.a from the changed source code?
regards,
Paul
The text was updated successfully, but these errors were encountered: