Hello, I am following along with your book "Discovering the STM32 Microcontroller". On page 49 there is instruction to type "make" in the demo folder. The stm32f10x.h file cannot be found despite Makefile.common pointing to the right place. I even checked by navigating to the location and looking at the file!
This is the error from make:
~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-eabi-gcc -c -O1 -g -mcpu=cortex-m3 -mthumb -I..
-I/gcc-arm-none-eabi_samples/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x
-I/gcc-arm-none-eabi_samples/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/CMSIS/CM3/CoreSupport
-I/gcc-arm-none-eabi_samples/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/inc
-I. -DSTM32F10X_MD_VL -DUSE_STDPERIPH_DRIVER -DUSE_FULL_ASSERT
-I../Library/ff9/src -I../Library ../startup_stm32f10x.c -o startup_stm32f10x.o
../startup_stm32f10x.c:3:23: fatal error: stm32f10x.h: No such file or directory
compilation terminated.
make: *** [../Makefile.common:66: startup_stm32f10x.o] Error 1
Please could you send help, I would like to carry on with this book.
I can see the first linked library is "-I.." could that be where the problem lies? I will carry on looking at the files and wait for your reply.
Hello, I am following along with your book "Discovering the STM32 Microcontroller". On page 49 there is instruction to type "make" in the demo folder. The stm32f10x.h file cannot be found despite Makefile.common pointing to the right place. I even checked by navigating to the location and looking at the file!
This is the error from make:
Please could you send help, I would like to carry on with this book.
I can see the first linked library is "-I.." could that be where the problem lies? I will carry on looking at the files and wait for your reply.