AnsweredAssumed Answered

How to merge an Mbed program onto a CubeMx generated code

Question asked by Murat Tologlu on Apr 11, 2017
Latest reply on Mar 2, 2018 by Andrew Neil


Recently I am developing a project using CubeMx and uVision5 on NUCLEO-F103RB board. I try to retain CubeMx support and for this reason I write my code within the predefined user code sections so I keep CubeMx integrity active.

What I want to do is, I would like to use some mbed programs in my project.

I can easily export an mbed c++ program for Keil uVision and I can use it in uVision without problem; The code can be compiled without error and works.However, if I want to integrate the exported mbed code into an existing CubeMx/Keil uVision project the things become complicated. First of all the directory structure and location of files are different for exported mbed code and generated CubeMx code. Then, there are 2 set of option, configuration files, etc.

Is it possible to make what I want to do, or, should I forget it! I appreciate very much your help.

Regards, Murat