9 years, 4 months ago.

why only board targets and not also chip targets..?

Hi, sorry if it was already asked, can't managed to find a similar question..

why is there only board targets on mbed and not chip targets, so we could just use our custom boards..? or maybe a way to re-defined all the I/O and memory sizes from inside mbed, to adapt a standard target board to our custom board...? or..is it already possible and I didn't saw it yet...? I'm still a beginner with mbed, so that could be possible, but with what I saw for now, I'll have to export a project created from a standard target and edit it from outside to adapt it to my board and maybe use emblocks or coocox or GCC to finish my project.. am I right...? thanks. ffred

1 Answer

9 years, 4 months ago.

There is nothing preventing you from using a board target for your custom board, many do that also. The board part pretty much only consists of some extra PinName aliases (such as Arduino pinnames), while also the regular pinnames are always defined.

If you use another MCU in the same series which only has less flash, RAM or IOs you can generally use it from the online compiler: less flash and IOs should still work (I think in case of IOs, know for the flash it works), less RAM requires you to import mbed-src and modify some of the source files.

But yeah in the end if you want to use mbed for a custom board it might make sense to use one of the MCUs which are on an mbed enabled board, then it works exactly the same.

Accepted Answer

ok, thanks..

posted by fred fred 15 Dec 2014