AnsweredAssumed Answered

STM32CubeMX and Keil MDK5 - not compatible at all??

Question asked by alis.alejandro on Apr 16, 2015
Latest reply on May 13, 2015 by STM32Cube-T

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


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


PD. I'm using this for STM32F407VG