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

MDK5 and STM32Cube - Impossible to run together

Dear all,

I have many problems using STM32CubeMX and Keil MDK5. I'm trying to start defining all the peripherals with the STM32Cube (is intended for this), then I run code generation for Keil MDK5 and finally I open the project... all ok at this point..

BUT!!!...

When I'm trying to use any RTE of Keil like Network, Filesystem, etc.. Keil need to load also the Device drivers to resolve any dependencies and Keil add to the project the HAL driver and a configuration file called "RTE_Devices.h". At this point I have two problems:

1- The device drivers are duplicated, STM32Cube generated a group called "Drivers/STM32...." with all the xxx_hal.c drivers and also Keil generated a new component class called "Device" with the same xxx_hal.c drivers (but older version of course)

2- I have to edit the file "RTE_Devices.h" to enable and configure all the peripherals and pinout... it have no sense, I've done it with STM32Cube!!!!!

Can't understand how to use STM32Cube and Keil MDK5 togehter, only want to configure all the peripherals witn STM32Cube and then use Keil with the Filesystem, Network, RTOS...

Thanks

Parents
  • Hi Alejandro,

    we are aware of that problem and actually working on a solution together with ST.
    We believe that this will become available in June/July 2015 and it will then be possible to use CubeMX as configuration utility that configures the RTE_Device.h file.

Reply
  • Hi Alejandro,

    we are aware of that problem and actually working on a solution together with ST.
    We believe that this will become available in June/July 2015 and it will then be possible to use CubeMX as configuration utility that configures the RTE_Device.h file.

Children