We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I would like to use CubeMX and its grafical interface to generate code for my project in the Keil uvision IDE. I would like to use RTX RTOS too.
I only found this tutorial:
www.keil.com/.../cubemx__r_t_x.html
but this tutorial is for STM32F7, and I am working with Cortex M4 (STM32F4). I made this tutorial step by step but I have an error in the compilaton:
error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.
Somebody knows what is the problem?? Any tutorial for this??
thank you very much.
I found the problem.
When I check the option "Generate peripheral initialization as a pair of '.c/.h' files per peripherals" in the "Code Generator" in the "Project Settings" I found problems to compile a project with RTX. When I don´t check that option, the project compile correctly.
I found another problem too. If the path to the project contains a space ' ', the code generator in STM32CubeMX puts the generated code in a wrong path outside the project path.
...thanks for sharing this solution, Julio
Yes, right, all init .. in one big main.c is working.
anyway, I like to use the option for seperated init files in STM32CobeMX: "Generate peripheral initialization as a pair of '.c/.h' files per peripherals".
Also, for me (using Keil 32k limit) with ST's small ..L011 MCU this does not generate usable code also. All looks perfect, declaration is in the usart.c & .h but, compiler error #114
Any Ideas?
Thanks, JoW