jegy wrote on Friday, November 16, 2018:
Hi,
I am evaluating the Rowley IDE, so I would try the FreeRTOS demo, CORTEX_STM32F103_GCC_Rowley.
FreeRTOS is ver 10.1.1, Rowley is ver 4.3.
There are some problems when building this demo.
6> Compiling ‘SPI_Flash_ST_Eval.c’
6> In file included from D:\Projekter\FreeRTOS\FreeRTOSv10.1.1\FreeRTOS\Demo\CORTEX_STM32F103_GCC_Rowley\Drivers\SPI_Flash_ST_Eval.h:21:0,
6> from D:\Projekter\FreeRTOS\FreeRTOSv10.1.1\FreeRTOS\Demo\CORTEX_STM32F103_GCC_Rowley\Drivers\SPI_Flash_ST_Eval.c:18:
6> ST Library/inc/stm32f10x.h:220:2: error: #error bad __TARGET_PROCESSOR
Build failed
A target processor is the defined: #define __TARGET_PROCESSOR STM32F103C8
6> Compiling ‘SPI_Flash_ST_Eval.c’
6> In file included from D:\Projekter\FreeRTOS\FreeRTOSv10.1.1\FreeRTOS\Demo\CORTEX_STM32F103_GCC_Rowley\Drivers\SPI_Flash_ST_Eval.h:21:0,
6> from D:\Projekter\FreeRTOS\FreeRTOSv10.1.1\FreeRTOS\Demo\CORTEX_STM32F103_GCC_Rowley\Drivers\SPI_Flash_ST_Eval.c:18:
6> ST Library/inc/stm32f10x.h:158:10: fatal error: targets/STM32F103C8.h: No such file or directory
6> compilation terminated.
Build failed
A such file, STM32F103C8.h is not found in the FreeRTOS folders or in the Rowley folders.
The file is included in SPI_Flash_ST_Eval.h.
Excluding helps the build: // #include “stm32f10x.h”
BUT
Then the linking failes:
Rebuilding ‘RTOSDemo’ from solution ‘RTOSDemo’ in configuration ‘THUMB Flash Debug’
1> Compiling ‘port.c’
2> Compiling ‘tasks.c’
3> Compiling ‘list.c’
4> Compiling ‘queue.c’
5> Compiling ‘heap_2.c’
6> Compiling ‘main.c’
7> Compiling ‘recmutex.c’
8> Compiling ‘semtest.c’
1> Compiling ‘BlockQ.c’
3> Compiling ‘flash.c’
5> Compiling ‘GenQTest.c’
4> Compiling ‘integer.c’
6> Compiling ‘PollQ.c’
2> Compiling ‘QPeek.c’
7> Compiling ‘stm32f10x_gpio.c’
8> Compiling ‘stm32f10x_lib.c’
1> Compiling ‘stm32f10x_systick.c’
3> Compiling ‘stm32f10x_rcc.c’
4> Compiling ‘stm32f10x_nvic.c’
5> Compiling ‘stm32f10x_spi.c’
6> Compiling ‘stm32f10x_usart.c’
2> Compiling ‘stm32f10x_can.c’
8> Compiling ‘stm32f10x_i2c.c’
1> Compiling ‘STM32_USART.c’
3> Compiling ‘ParTest_MCBSTM32.c’
7> Compiling ‘SPI_Flash_ST_Eval.c’
4> Assembling ‘thumb_crt0.s’
1> Assembling ‘STM32F10x_Startup.s’
1> no linker script, memory map file or section placement segments specified
Build complete
So what now?
Best regards
Jens Gydesen