adamgreen / gcc4mbed

Project to allow GCC compilation of code using mbed SDK libraries.
172 stars 68 forks source link

Compiled BIN fails on Freescale FRDM-K64F #50

Closed ajdolio closed 8 years ago

ajdolio commented 8 years ago

I was working with the "HelloWorld" sample which is identical code to the "mbed_blinky" example on the online compiler, however the only difference is that when I compile the "mbed_blinky" online, the code deploys properly with no issues and when I compile the "HelloWorld" and try to deploy it, the code fails and in the fail.txt I get a "RESERVED BITS" error.

adamgreen commented 8 years ago

What happens if you export your mbed_blinky project from the online compiler to build with the GCC (ARM Embedded) toolchain? Does it work in that scenario?

How did you use gcc4mbed to target the K64F? Currently it doesn't support that platform. Have you added that support? If so, can you share the contents of your -device.mk file here?

ajdolio commented 8 years ago

Adam,

Thanks for your reply. I managed to find another article (albeit in German) explaining how to get the K64F to function with gcc4mbed and it solved my issue.

Thanks, Andrew On Jan 29, 2016 15:56, "Adam Green" notifications@github.com wrote:

What happens if you export your mbed_blinky project from the online compiler to build with the GCC (ARM Embedded) toolchain? Does it work in that scenario?

How did you use gcc4mbed to target the K64F? Currently it doesn't support that platform. Have you added that support? If so, can you share the contents of your -device.mk file here?

— Reply to this email directly or view it on GitHub https://github.com/adamgreen/gcc4mbed/issues/50#issuecomment-176966237.