-
• #2
Did you use
source scripts/provisio.sh PICO_R1_3
to set up the compiler, or did you use your own?Looks like you may have used something else? https://stackoverflow.com/questions/26931979/gnu-arm-nano-specs-not-found
-
• #3
I used
gcc-arm-none-eabi-5_4-2016q3
that was already on my machine under/usr/local
Then I updated my$PATH
withexport PATH=/usr/local/gcc-arm-none-eabi-5_4-2016q3/bin:$PATH
and finally run
make clean && BOARD=PICO_R1_3 RELEASE=1 make
Now if I type
source scripts/provision.sh PICO_R1_3
it just printsARM
. by callingmake
it then just tells me the same error withnano.specs
I don't really understand what I missed. Do you suggest to remove+reinstall the complete toolchain?
-
• #4
It's complaining about the option
--specs=nano.specs
on the Linker command-line, and for whatever reason I guess the compiler you have doesn't have them in.The provision script checks for GCC before installing it, and in this case I guess it finds it so does nothing. Maybe ensure that it's not in your path, then run provision and it should pull a new compiler into a local folder under Espruino and temporarily set your path.
It'd be a good way to check if that is the problem or not as it doesn't install anything globally.
-
• #5
I had another (old) toolchain installed in
/usr/bin
previously installed with apt-get .... :-/
Just removed it, runsource scripts/provision.sh PICO_R1_3
, which actually installed the correct toolchain and after that I just could compile for my Pico. Thanks for the support Gordon!
Hi guys,
I just tried to compile Espruino for Pico. Cross compilation seems OK but after a while I got:
Any idea?