-
Notifications
You must be signed in to change notification settings - Fork 13
Issue with Core_V2: wrong linker script file? #13
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 tried to fix this but having some issues: trying with asb
to:
gives the error:
Trying to use instead svlChanging this:
into:
and this:
into:
Gives:
|
I think these issues are not with the linked script though, but a new issue (version of compiler or compiler used or something in this kind?). |
Ok, I have been playing around, this seems well to be related to 1) finding the right linker script, 2) using the right flags on it. Cannot get it to compile yet though. |
Ok, looking at the output from the Sparkfun Arduino IDE when successfully compiling a script should provide the flags and working linker file I suppose, right?
|
Hi @jerabaul29 I hadn't updated the boards which has the linker script name. |
Amazing, works fine now :) Feel free to close. A side note: I suppose that these flags are just copied from the Sparkfun file(s) with linker flags (and other flags needed to compile build etc), right? Something like the flags for the ld script here getting copied, right? https://github.com/sparkfun/Arduino_Apollo3/tree/master/variants/SFE_ARTEMIS_DK/mbed Do you think it would be possible to add an "expert readme" or something like this that lists where these flags come from (ie Sparkfun), and where in your code they get copied, so that users can easily pull themselves updated flags from Sparkfun between your releases? :) I was even wondering if there would be some possibility to programmatically read these flags from the Sparkfun files, so that these get always up to date by just pulling the sparkfun repo? May be material for another issue though, let me know if I should open a new one just to keep track. |
When applying the fixes described in issues #11 #12 , I still get this error:
The corresponding asb folder (a git submodule of the sparkfun apollo3 code) contains indeed:
Does that mean that the linker script should be
0xC000.ld
instead?Another thing: it looks like the asb bootlader does not work any more, and that Sparkfun now recommends to use the svl bootloader, see for example:
sparkfun/Arduino_Apollo3#310
Should this package too change to using the SVL, with baudrate 460800 ?
The text was updated successfully, but these errors were encountered: