Closed GiacomoThror closed 7 years ago
Hi @GiacomoThror. Thanks for the detailed bug report. Could you tell us what version (or if on master what hash) of Mbed OS you are using? It looks like you are using a version >= 5.6.0 (you have a TARGET_CORTEX folder, which were introduced in 5.6.0). Also, could you tell us what version of arm-non-eabi-gcc
you are using. to do that you can run the command arm-none-eabi-gcc --version
which should give output similar to (taken from my arch machine with a very new gcc):
# arm-none-eabi-gcc --version
arm-none-eabi-gcc (Arch Repository) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Using Mbed OS master and the above version of GCC, and a release from the 6.x series, I cannot reproduce the problem.
Hi @theotherjimmy,
I solved the problem!
As you suggested the problem is the version of arm-non-eabi-gcc
. I have the distribution old package version 4.9.3. Now installed the suggested 6.3.1 and it works.
For the mbed-os repository I had tried with both branch "master" and "mbed-os-5.6" with same results, the issue was not here.
Thanks a lot.
Thank you for posting how you solved your problem. I hope this may help others in the future.
I am trying to compile the standard Blinky Example for mbed OS 5 for the NUCLEO_L073RZ: This is the configuration of my sytsem:
This is the steps that I did:
Start log:
Log of the error:
Other things already tried: