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

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

Children
No data