2 years, 12 months ago.

How can I get mbed to work with ST's CUBE MX?

I ran CUBE MX but it doesn't generate code for mbed. CUBE MX is the ideal way to comprehensively init my MCU at boot time. I mean it's fantastic! But it doesn't seem to support mbed's toolchain.

Comment on this question

1 Answer

2 years, 12 months ago.

Hello Doug,
Create an mbed project for your STM target board using the online compiler. Then copy the init file(s) generated by the STM32CubeMX tool into your project (as for instance in this simple example).

You need to log in to post a question