‎2021-01-18 04:55 AM
Hi. Downloaded the latest 4.16 TouchGFX toolchain; latest STM32CubeIDE; latest STM32CubeMX.
Selected STM32F429i-DISC1 kit -> imported the Pool Lights GUI. Nothing else. Ran fine on the simulator; runs fine on the target. Generated Code. No errors. Very nice.
Wish to interact with CubeMX using this GUI generated project. Compiles without errors on the STM32Cube IDE.
Raises many errors with IAR / Keil compilers.
Can post more details later today.
Any known issues with these toolchains?
Thanks.
Solved! Go to Solution.
‎2021-01-18 05:32 AM
Hi,
In order to work with IAR or Keil you need to select the toolchain/IDE you wish to work for within CubeMX in the "Project Manager" tab, and re-generate code from CubeMX. Then open the TouchGFX project in TouchGFX Designer and generate code as well. You will now be able to run the project with the selected toolchain.
The application templates for dev kits have projects for different toolchains but not all project files are present in your project at the same time. The tool chain selected in CubeMX is the one that will be generated, by default CubeIDE is selected. Here is a link to the documentation: Using IDEs with TouchGFX article
/Romain
‎2021-01-18 05:32 AM
Hi,
In order to work with IAR or Keil you need to select the toolchain/IDE you wish to work for within CubeMX in the "Project Manager" tab, and re-generate code from CubeMX. Then open the TouchGFX project in TouchGFX Designer and generate code as well. You will now be able to run the project with the selected toolchain.
The application templates for dev kits have projects for different toolchains but not all project files are present in your project at the same time. The tool chain selected in CubeMX is the one that will be generated, by default CubeIDE is selected. Here is a link to the documentation: Using IDEs with TouchGFX article
/Romain
‎2021-01-18 05:33 AM
or did you mean that the "Pool Demo" (Pool Lights ?) UI example does not run with IAR or Keil ?
‎2021-01-19 08:01 AM
‎2021-01-19 06:49 PM
Hello Mon2,
I'm glad you are pleased with the current solution :D
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre