This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3100: C3100 STM32 Discovery examples in TI CC3100 SDK 1.2.0 do not compile: missing files, symbols

Part Number: CC3100


Just thought you'd want to know that the examples supplied in ~/platform/stm32discovery do not build with the supplied workspace files for IAR Embedded Workbench for ARM version 7.8.0.

It's difficult to develop confidence this product will perform as claimed when the only STM32 example doesn't even compile, let alone run.  Hopefully it's something foolish I have missed.  I can find these missing files elsewhere, and put them in the search path or source directory but then I get duplicated symbols. 

The top-level documentation is also arguably dreadful.

Thank you for your time and attention

Out of the box SDK 1.2.0  build for "station" example:

Fatal Error[Pe1696]: cannot open source file "stm32f4xx.h" C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\cli_uart.c 41

Fatal Error[Pe1696]: cannot open source file "stm32f4_discovery.h" C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\board.h 44

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\BSP\STM32F4-Discovery\stm32f4_discovery.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c"
Error while running C/C++ Compiler
stm32f4xx_hal_flash.c
Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c"
Error while running C/C++ Compiler
stm32f4xx_hal_flash_ex.c
Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c"
Error while running C/C++ Compiler
stm32f4xx_hal_gpio.c
Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c"
Error while running C/C++ Compiler
stm32f4xx_hal_i2c.c
Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c"
Error while running C/C++ Compiler
stm32f4xx_hal_i2c_ex.c
Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c"
Error while running C/C++ Compiler
stm32f4xx_hal_rcc.c
Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rtc_ex.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_spi.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c"

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c"

Fatal Error[Pe1696]: cannot open source file "stm32f4_discovery.h" C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\stm32f4xx_it.h 47

Fatal Error[Pe1696]: cannot open source file "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c"

Fatal Error[Pe1696]: cannot open source file "stm32f4_discovery.h" C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\board.h 44

Fatal Error[Pe1696]: cannot open source file "stm32f4xx_hal.h" C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\system_stm32f4xx.c 66


Total number of errors: 36
Total number of warnings: 0