Install toolchain using this brew recipe: https://github.com/miyaki/homebrew-misc/blob/master/gcc-arm-embedded.rb
Got this kind of messages:
“HardFault_Handler’ referenced in section.isr_vector’ of obj/main/NAZE/startup
stm32f10x_md_gcc.o: defined in discarded section .text’ of obj/main/NAZE/main. o (symbol from plugin) SysTick_Handler’ referenced in section .isr_vector’ of obj/main/NAZE/startup_s tm32f10x_md_gcc.o: defined in discarded section.text’ of obj/main/NAZE/drivers
/system.o (symbol from plugin)”
This helped me and got it linking:
https://github.com/cleanflight/cleanflight/issues/107#issuecomment-60536855