I made some mistakes in compiling firmware!

I use bistromathic to make the firmwave.but It prompts the following errors!

Compiling motor.c
cc1: error: -Werror=implicit-fallthrough: no option -Wimplicit-fallthrough
zubax_chibios///chibios/os/common/ports/ARMCMx/compilers/GCC/rules.mk:216: recipe for target ‘build/obj/motor.o’ failed
make: *** [build/obj/motor.o] Error 1

I don’t know how to solve it . can you help me ?

Please use a newer version of the compiler (GCC 7.2) as requested in the README:

hello! I have change my gcc version。


But there are still problems.


what can i do for this?
thank u!

You are still using wrong version of GCC. The build system uses the toolchain with the prefix arm-none-eabi-, so the compiler executable is named arm-none-eabi-gcc, not just gcc. Setup instructions here: GNU ARM embedded toolchain - Knowledge Base - Zubax Knowledge Base