-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cpu/atmega*/ldscripts_compat: add command to generate ldscript #11615
cpu/atmega*/ldscripts_compat: add command to generate ldscript #11615
Conversation
@benpicco is this good for you ? it is important that the documentation helps you. |
Yes this sure helps explains where that file comes from. |
|
||
Generated by extracting the output of | ||
|
||
avr-gcc -Wl,--verbose --mmcu=$(CPU) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get an error for this command, need to use -mmcu
instead of --mmcu
(no double dashes)
what I ran is
avr-gcc -Wl,--verbose -mmcu=atmega1281
I have avr-binutils 2.32 and avr-gcc 8.3.0 (on macOS installed via brew)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, was a mistake in the commit message too now that I remember.
My bad for not re-testing…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is bad to rush these changes ><
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please squash
and trigger CI afterwards, THX! |
b18f23e
to
ba91b61
Compare
Add the command to generate the ldscript in the documentation. It was only in the commit message before and had a typo 's/--mmcu/-mmcu/'.
ba91b61
to
40e7dd3
Compare
And typo again in the commit message >< Now it should be good. |
CI and everybody is happy. |
…mon/ldscripts_compat/doc
Contribution description
Add the command to generate the ldscript in the documentation.
It was only in the commit message before.
Testing procedure
Same as in the commit message:
Issues/PRs references
It was unclear which lead to #11537 and another mention I do not find anymore
The files were introduced in #9781