-
• #2
I'm not really sure. It seems that happens if sections overlap, but it's slightly confusing that
.init
contains only 4 bytes.Have you changed the code at all?
I'd maybe look at using an earlier compiler like 4.9 - I haven't used 5.3 (the release was only 3 days ago), and that could potentially be an issue.
-
• #3
No, I have not changed the code, I will first compile the code as is, before I make any changes.
It was the compiler.
gcc-arm-none-eabi-4_9-2015q3, works
gcc-arm-none-eabi-5_2-2015q4, does not work
gcc-arm-none-eabi-5_3-2016q1, does not workThank you very much
-
• #4
Thanks for the update!
It's a bit frustrating really - it seems like every single time the compiler is updated, the build needs tweaking to make it work again.
-
• #5
I've now tweaked the build so it works on GCC 5.3
I get this, when I compile:
In makefile l have this:
What have done wrong?
I am running on Linux Mint 17.3 64 bit.