Hi,
I tried to make the tutrial-3 and upload it to arduino-nano-33-ble. but I got error like this: I exactly follow the steps that you explained in tutorial-3. The error is:
"make" -C /home/shadi/Documents/RIOT/pkg/nimble
"make" -C /home/shadi/Documents/RIOT/build/pkg/nimble/nimble/controller/src/ -f /home/shadi/Documents/RIOT/Makefile.base MODULE=nimble_controller
arm-none-eabi-gcc: error: unrecognized command line option '-Wformat-overflow'; did you mean '-Wstrict-overflow'?
arm-none-eabi-gcc: error: unrecognized command line option '-Wformat-truncation'; did you mean '-Wline-truncation'?
/home/shadi/Documents/RIOT/Makefile.base:131: recipe for target '/home/shadi/Documents/RIOT/examples/nimble_bpf/bin/arduino-nano-33-ble/nimble_controller/ble_ll_utils.o' failed
make[2]: *** [/home/shadi/Documents/RIOT/examples/nimble_bpf/bin/arduino-nano-33-ble/nimble_controller/ble_ll_utils.o] Error 1
Makefile:71: recipe for target 'nimble_controller' failed
make[1]: *** [nimble_controller] Error 2
/home/shadi/Documents/RIOT/examples/nimble_bpf/../../Makefile.include:741: recipe for target 'pkg-build-nimble' failed
Could you please help me to solve this error?
Regards
*UPDATE:
For Ubuntu 18.04 you can set CROSS_COMPILE.
Firstly download gcc-arm-none-eabi-your-version and then create links so that binaries are accessible system-wide:
sudo ln -s /usr/share/gcc-arm-none-eabi-your-version/bin/arm-none-eabi-gcc /usr/bin/arm-none-eabi-gcc
Then check if it works:
arm-none-eabi-gcc --version
Hi,
I tried to make the tutrial-3 and upload it to arduino-nano-33-ble. but I got error like this: I exactly follow the steps that you explained in tutorial-3. The error is:
"make" -C /home/shadi/Documents/RIOT/pkg/nimble
"make" -C /home/shadi/Documents/RIOT/build/pkg/nimble/nimble/controller/src/ -f /home/shadi/Documents/RIOT/Makefile.base MODULE=nimble_controller
arm-none-eabi-gcc: error: unrecognized command line option '-Wformat-overflow'; did you mean '-Wstrict-overflow'?
arm-none-eabi-gcc: error: unrecognized command line option '-Wformat-truncation'; did you mean '-Wline-truncation'?
/home/shadi/Documents/RIOT/Makefile.base:131: recipe for target '/home/shadi/Documents/RIOT/examples/nimble_bpf/bin/arduino-nano-33-ble/nimble_controller/ble_ll_utils.o' failed
make[2]: *** [/home/shadi/Documents/RIOT/examples/nimble_bpf/bin/arduino-nano-33-ble/nimble_controller/ble_ll_utils.o] Error 1
Makefile:71: recipe for target 'nimble_controller' failed
make[1]: *** [nimble_controller] Error 2
/home/shadi/Documents/RIOT/examples/nimble_bpf/../../Makefile.include:741: recipe for target 'pkg-build-nimble' failed
Could you please help me to solve this error?
Regards
*UPDATE:
For Ubuntu 18.04 you can set CROSS_COMPILE.
Firstly download gcc-arm-none-eabi-your-version and then create links so that binaries are accessible system-wide:
sudo ln -s /usr/share/gcc-arm-none-eabi-your-version/bin/arm-none-eabi-gcc /usr/bin/arm-none-eabi-gcc
Then check if it works:
arm-none-eabi-gcc --version