Hi,
I was working through Geoffrey Brown's book on STM32, hoping to learn how to program these using gcc. Turns out my geek factor is too small. I don't get exercise 4.1 to compile.
stm32f10x_gpio.o: In function `GPIO_DeInit':
/home/oppa/hacking/arm/stm32/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:111: undefined reference to `assert_failed'
stm32f10x_gpio.o: In function `GPIO_Init':
/home/oppa/hacking/arm/stm32/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:178: undefined reference to `assert_failed'
/home/oppa/hacking/arm/stm32/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:179: undefined reference to `assert_failed'
/home/oppa/hacking/arm/stm32/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:180: undefined reference to `assert_failed'
/home/oppa/hacking/arm/stm32/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:187: undefined reference to `assert_failed'
stm32f10x_gpio.o:/home/oppa/hacking/arm/stm32/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c:286: more undefined references to `assert_failed' follow
collect2: error: ld returned 1 exit status
../Makefile.common:61: recipe for target 'blinky.elf' failed
make: *** [blinky.elf] Error 1
This leaves me helpless. Any ideas ?
Thanks,
Stephan