Skip to content
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

Mention GNU awk requirement #731

Closed
wants to merge 1 commit into from

Conversation

spbnick
Copy link

@spbnick spbnick commented Dec 26, 2016

Mention GNU awk (gawk) as being required, as the build would fail
with e.g. mawk.

E.g. libopencm3-examples fails with mawk like this:

  GENLNK  samd10d14
arm-none-eabi-gcc -E -mcpu=cortex-m0plus -mthumb -msoft-float -DSAMD  -P -E /home/nick/projects/github.com/libopencm3/libopencm3-examples/libopencm3/ld/linker.ld.S > generated.samd10d14.ld
arm-none-eabi-gcc --static -nostartfiles -Tgenerated.samd10d14.ld -mcpu=cortex-m0plus -mthumb -msoft-float -Wl,-Map=miniblink.map -Wl,--gc-sections -L/home/nick/projects/github.com/libopencm3/libopencm3-examples/libopencm3/lib miniblink.o -lopencm3_samd -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group -o miniblink.elf
/usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/bin/ld:generated.samd10d14.ld:16: warning: memory region `rom' not declared
/usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/bin/ld: invalid origin for memory region ram

Mention GNU awk (gawk) as being required, as the build would fail
with e.g. mawk.

E.g. libopencm3-examples fails with mawk like this:

      GENLNK  samd10d14
    arm-none-eabi-gcc -E -mcpu=cortex-m0plus -mthumb -msoft-float -DSAMD  -P -E /home/nick/projects/github.com/libopencm3/libopencm3-examples/libopencm3/ld/linker.ld.S > generated.samd10d14.ld
    arm-none-eabi-gcc --static -nostartfiles -Tgenerated.samd10d14.ld -mcpu=cortex-m0plus -mthumb -msoft-float -Wl,-Map=miniblink.map -Wl,--gc-sections -L/home/nick/projects/github.com/libopencm3/libopencm3-examples/libopencm3/lib miniblink.o -lopencm3_samd -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group -o miniblink.elf
    /usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/bin/ld:generated.samd10d14.ld:16: warning: memory region `rom' not declared
    /usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/bin/ld: invalid origin for memory region ram
@karlp
Copy link
Member

karlp commented Dec 26, 2016

I believe there's a ticket or a pull to remove the gawk requirement, which I find far more appealing :)

@spbnick
Copy link
Author

spbnick commented Dec 27, 2016

@karlp Ah, that would be better, without doubt. Although, if that's going to take a while, merging this one would perhaps save some time for new users like me, in the meantime.

@karlp
Copy link
Member

karlp commented Dec 27, 2016

no-one reads them anyway, but sure, that can be done I guess :)

@karlp
Copy link
Member

karlp commented Dec 27, 2016

Ah, also, that's why I was confused, this is just for the examples, and only for the targets that use the gneerated linker scripts. hooray! someone else is using the samd10 :)

karlp added a commit that referenced this pull request Dec 27, 2016
@karlp
Copy link
Member

karlp commented Dec 27, 2016

wrote somethign similar and pushed in 6b5edeb

@karlp karlp closed this Dec 27, 2016
BOJIT pushed a commit to BOJIT/PlatformIO-libopencm3 that referenced this pull request Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants