stdperiph, STemWin and Linux
Hi folks,
I’m having a run at producing a project for an STM32F429I-DISCO board with STemWin support. I thought I’d report what I ran into so folks can either tell me what I overlooked or perhaps found areas for improvement in Workbench.
First, the project came up with insufficient include directories. The projct started with:
"${ProjDirPath}/inc"
and I added
/home/hbarta/.ac6/SW4STM32/firmwares/STM32F429I-Discovery_FW_V1.0.1/Utilities/STM32F429I-Discovery /home/hbarta/.ac6/SW4STM32/firmwares/STM32F429I-Discovery_FW_V1.0.1/Libraries/CMSIS/Include /home/hbarta/.ac6/SW4STM32/firmwares/STM32F429I-Discovery_FW_V1.0.1/Libraries/CMSIS/Device/ST/STM32F4xx/Include
One of the includes complained about a missing macro so I had to define STM32F429_439xx
With those changed I was able to build.
Flush with that success I went to debug. This was not so much fun. After choosing the Ac6 STM32 Debugging configuration I get an error message:
Resource '/stm32f429i-disco_stdperiph_lib' is not open.
I’m at a loss here. I’m not sure why the debugger wants this resource or how to provide it.
Wait - I have it! There is a project in the same workspace by that name. Opening it resiolves that issue.
The first try to debug ended with some kind of timeout in the back end. However the second try try succeeded!
Now to get something useful programmed. At present I’m a lot more familiar with the HAL libraries so I need tocome up to speed on the standard peripheral library.
For the folks working on System Work bench - Many thanks!
For anyone else - hope you find this useful.