Other Parts Discussed in Thread: CC3100, CC3100SDK
Hi everybody!
I have CC3100BOOST, STM32F407-discovery and development tool Keil.
Could You tell me please, where can I find the working example project for CC3100 for STM32 MCU for Keil?
ThankYou!
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.
Hi everybody!
I have CC3100BOOST, STM32F407-discovery and development tool Keil.
Could You tell me please, where can I find the working example project for CC3100 for STM32 MCU for Keil?
ThankYou!
I downloaded IAR, opened the example CC3100 SDK ( \cc3100-sdk\platform\stm32discovery\......getting_started_with_wlan_station, pressed on the keyboard F7, but there were a lot of errors in the message window of the IAR.
A lot of header files of stm are not opened!
I can't find in Internet files: stm32f4_discovery.h, stm32f407xx.h, stm32f4xx_hal.h
What is wrong?
Thank You!
From "STM32Cube" folder I copied the folder "Drivers" to folder "stm32discovery" in CC3100SDK..., pressed F7 and all old errors about not opening were disappered.
But there are a lot of errors in file "stm32f407xx.h", the error [Pe101].
For example: "Error[Pe101]: "NonMaskableInt_IRQn" has already been declared in the current scope (at line 143 of "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\stm32f4xx.h") C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h 87
" and so on.
What I need to do?
Thank You!
I start using the evaluation version of IAR for 30 days from today (not IAR version with maximum sixe of code 32K)
Thsnk You, Jan!
I run in CC3100SDK_v1.2 the platform\\stm32discovery\\example_project_iar. I have not change anything just use default. It's fail and get the flowing errors:
1 Error[Li005]: no definition for "_SlDrvHandleGeneralEvents" [referenced from C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\example_project_iar\getting_started_with_wlan_station\Debug\Obj\driver.o]
2 Error[Li005]: no definition for "APBPrescTable" [referenced from C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\example_project_iar\getting_started_with_wlan_ap\Debug\Obj\stm32f4xx_hal_rcc.o]
In user.h file I added line "#define sl_GeneralEvtHdlr SimpleLinkGeneralEventHandler" and the first error was corrected.
How can I correct the SECOND error?
Thank You!
The problem was solved, when I copied files "system_stm32f4xx.c" and "system_stm32f4xx.h" from folder "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates" and "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\stm32discovery\Drivers\CMSIS\Device\ST\STM32F4xx\Include" to folder "C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform". The file "stm32f4xx_hal_rcc.c" must be default without adding string.
How to create hex or bin file from IAR?
I can't understand(((
Thank You!