This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uvision and RTX in combination with CubeMX

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.

Parents
  • 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.

Reply
  • 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.

Children