Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 4 months ago.
How to add a new target MCU to the new mbed-os?
Hello,
I have a board that is based on a STM32F3xx MCU that doesn't have a target in mbed-os. I really would like to use mbed for my project (actually in all my projects), so what I have in mind is forking the mbed-os project and have mbed-cli to pull mbed-os from that fork, but I need to know how to add a new MCU part to the mbed-os. I have read some information on how to do that but it is outdated. Is there any up to date information or guide that I can get to do that?
Thanks, Gabriel
1 Answer
8 years, 4 months ago.
Hello,
there's target doc describing target json format https://github.com/ARMmbed/mbed-os/blob/master/docs/mbed_targets.md. I updated links in the https://developer.mbed.org/handbook/mbed-SDK-porting, but that one will get also update .
Hi,
It's not possible to add a target without forking mbed-os repository?
I can't `mbed add my-target-url`?
posted by 10 Aug 2016Thanks man, I could port a new ST target and build an application (Blinky), I had to do a bit of reverse engineering but these 2 links are a good start.
Gabriel
posted by 11 Aug 2016@Bruno, I said I wanted to fork the mbed-os project since I wanted to add a board that has an ARM Cortex M4 on it but is not an mbed board. Probably if you want to add a legitimate mbed board you can create a branch and make a pull request.
Gabriel
posted by 11 Aug 2016@Gabriel, no, that's not what I want. I want to add a "private" board (prototype, developed for a client, whatever). How can I build my app for a board that is NOT an official, supported board. My question then is : is it possible to add a target WITHOUT branching to use mbed OS on a custom board after the prototyping phase executed on officially supported boards.
posted by 11 Aug 2016