9 years, 5 months ago.

How to add a bare-metal platform to bed

I would like to add a platform to bed, but the only posts I have seen on the subject don't seem to cover bare-metal platforms. I don't want bed or CMSIS libs entangled with my projects. What I am interested in adding is a couple of Pygmy boards. The Pygmy boards don't use the SDKs that appear to be required when adding a new platform.

Any suggestions?

1 Answer

9 years, 5 months ago.

I assume with 'bed' you mean 'mbed'? But how do you want to add a platform to mbed which does not entangle mbed with your projects? I also can't find 'pygmy' boards, can you give a link?

How do you mean an SDK which appears to be required for adding a new platform? For example all NXP boards and all but the latest Freescale boards don't use manufacturer drivers, the mbed code is all directly on a register level.

www.pygmyos.com

Yes, I meant mbed. Pygmy doesn't require ST's CMSIS or bed libs. I can actually create a Pygmy binary by choosing any NUCLEO platform and removing the mbed libs. Pygmy provides the register level interface.

posted by Warren D Greenway 04 Dec 2014

So you want to add a platform to the mbed online compiler which does not actually use mbed libraries if I understand you correctly?

If it compiles I guess you can make your own program with the mbed libs removed, add pygmy source code and publish that. But obviously it won't be added as official platform if that new platform does not actually support mbed code, neither will there be support for it.

posted by Erik - 04 Dec 2014

I want to use the mbed compiler and IDE in a more generic way. Honestly, even generic platforms would be acceptable. I have tested building the boot loader and have been successful. However, I need to set a different section starting address for the main app. Also, when I send someone to the site to build, they get confused because there is no matching platform.

posted by Warren D Greenway 04 Dec 2014