I have recently purchased and assembled some weather kits and more. I was successful in pairing devices and even with MQTT integration. Now I would like to move on and program my own code.
Problem:
When I first have tried some blank project. It created successfuly, but the make command does not work. It says:
pi@hub:~/mybigclownprojects/lcd-module-test $ make
Clean output …
Compiling: app/application.c
make[1]: arm-none-eabi-gcc: Command not found
sdk/Makefile.mk:340: recipe for target ‘obj/debug/app/application.o’ failed
make[1]: *** [obj/debug/app/application.o] Error 127
sdk/Makefile.mk:171: recipe for target ‘debug’ failed
make: *** [debug] Error 2
I am working on Raspberry Pi 3 with BigClown version of Raspbian.
What do you mean by prepared? I have used the bcf create command as the documentation said. Then cd to the project folder and make which thrown the error.
OK, thank you for the information. Is there any manual how to install it on the raspberry or do I have to use the “Setup on Generic Linux” guide?
edit:
I have tried the Setup on Generic Linux and it says I have everything up to date. When I tried to make, the same problem as in first post appeared.
Thank you very much, I will try it, but I am leaving internet connection now. I just installed the toolchain on my notebook and will use it instead of RPi.
You have to install arm gcc on your Raspberry Pi, then compilation works
sudo apt install gcc-arm-none-eabi
we did not put arm-none-eabi-gcc package to the bc-raspbian on purpose. It would make the image much bigger and the most users do not compile on Rpi.
We have internally discussed that we could create two releases of bc-raspbian - the usual and bigger with arm GCC compiler. I think for now it would be fine to mention installation of this package somewhere in the documentation. I fix that soon.