-
-
Notifications
You must be signed in to change notification settings - Fork 212
Request: Build instructions - libmbed.a #51
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
It's halfway documented already in this repositories README. The following instructions should do the trick. Please let me know if they work, I'll augment the documentation (if you could create a PR even better). git clone https://github.com/ARMmbed/mbed-os
cd ArduinoCore-mbed
./mbed-os-to-arduino -r $PATH_TO_CLONED_MBED_OS ENVIE_M7:ENVIE_M7 |
Hello Alexander, Quick question - I'll try that - but are any linker scripts required that we may not have available - or does the above make them - i.e. - .link_options.txt and .link_script.sct ? Thanks, |
Hello Alexander, OK - gave that a try - I had to comment this out in the script:
And this is what I'm getting now:
Thanks! |
Hello @aentinger . After pointing to the arduino/mbed-os repo - getting this:
Thanks, |
Hello Again @aentinger , Ok - fixed repo copied over to tmp - getting this now:
Regards, |
Good morning 👋 ☕ |
Hello @aentinger ,
I'm running in the mbed terminal window - thought that should work. I can run bash from there too. Not having a symbolic link doesn't kill the build - and that can be fixed with mklink if necessary. OK - trying a few more things now... And, in order to be able to find the Portenta_H7 target - the cloned repository is: Regards, |
Hello Alexander, Getting this now - which is progress I suppose:
Thanks, |
Hello Again Alexander, So, I got a 'blinky' app and libmbed.a to build. The blinky app worked. I'll try the new libmbed.a lib in a few sketches before declaring any sort of success there. Since this 'flow' evidently isn't completely documented under M$ Win10 - would you like a PR request outlining that somewhat or how would you like to approach this? Are folks at Arduino running this in the mbed terminal window? I imagine that can work under mbed studio for linux and you can run your shell of choice in that as well. I must admit the mbed deploy command was a little interesting... Here's the blinky app - JIC:
And, to add that to the script:
Thanks, |
Thank you but I don't think so. It's not like the typical user will be cooking up their own mbed core every other day. Instead a new mbed core will be provided by Arduino in measured intervals when doing so is required (and I imagine that less and less as the core gets more "settled").
Not that I know of. Usually it's bash and that does the trick. |
Hello @aentinger , Thanks for the feedback. I think a new write-up is in order since things like target name, variant, etc, plus some of the instructions are out of date. Regards, |
That's true for sure. Is that something you could prepare a PR for? Cheers, Alex |
Hello @aentinger , Sure - when I get to a good point on #28 - I'll do that. Regards, |
Hello All,
I was wondering if we could get build instructions for libmbed.a - (rather than just patching it...) -
https://github.com/arduino/ArduinoCore-mbed/tree/master/variants/PORTENTA_H7_M7/libs
I have mbed studio downloaded already - I see the Nano BLE is already a target there.
Thanks in advance,
John W.
The text was updated successfully, but these errors were encountered: