cannot compile hello.c
Posted: Thu Nov 11, 2021 5:03 pm
Hi, I tried to configure the environment in your Bitcraze VM (not the AI deck one!)
I compiled SDK 3.8.1 and others according to this:https://www.bitcraze.io/documentation/r ... g-started/
Then I want to enable the driver:
https://www.bitcraze.io/documentation/r ... the-driver
But I cannot make it successfully.
Is it correct I source sourcename.sh and choose Gapoc V1? Or Gapunio V1? Which one is correct? I'm using olimex USB tiny h.
I compiled SDK 3.8.1 and others according to this:https://www.bitcraze.io/documentation/r ... g-started/
Then I want to enable the driver:
https://www.bitcraze.io/documentation/r ... the-driver
But I cannot make it successfully.
Code: Select all
bitcraze@ubuntu:~/projects/crazyflie-firmware$ make clean && make
CLEAN
CLEAN_VERSION
CC list.o
riscv32-unknown-elf-gcc: error: unrecognized argument in option '-mcpu=cortex-m4'
riscv32-unknown-elf-gcc: note: valid arguments to '-mcpu=' are: gap8 gap9 pulpslim pulpv0 pulpv1 pulpv2 pulpv3
riscv32-unknown-elf-gcc: error: unrecognized command line option '-mfp16-format=ieee'
riscv32-unknown-elf-gcc: error: unrecognized command line option '-mthumb'
riscv32-unknown-elf-gcc: error: unrecognized command line option '-mfloat-abi=hard'
riscv32-unknown-elf-gcc: error: unrecognized command line option '-mfpu=fpv4-sp-d16'
make[1]: *** [tools/make/targets.mk:27: list.o] Error 1
make: *** [Makefile:401: build] Error 2