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.
9 years, 11 months ago.
Can I use a F103RC/D/E with mbed?
Will a code that's working on a Nucleo F103RB work on a F103RC, RD or RE processor using the web compiler? I don't mind if I am limited to the features of the Nucleo board (F103RB).
I plan to use mbed to have a working solution as fast as possible, but I would like to be able to upgrade the code later, even if I have to switch to a local compiler.
Question relating to:
3 Answers
9 years, 11 months ago.
Using mbed for variants of a supported device has been asked before eg http://developer.mbed.org/questions/4643/Does-mbed-support-STM32F030F4/
If the part varies only in size of flash and/or ram, then the solution as provided in that link is to import mbed-src instead of mbed library, and adjust the flash & ram sizes to suit the new device. If your production hardware uses different pins for ease of layout, eg LEDs, buttons, then you can also modify the PinNames.h file accordingly.
9 years, 11 months ago.
With the offline tools it is not a problem to add F103RC/D/E. You have to change linker script, startup files and some mbed specific issues. When you know what to do a matter of perhaps half an hour, when you don't know what to do a liitle bit longer ;-)
9 years, 11 months ago.
Of course you can do that. But remember that RB is a product with medium density while RC/D/E are large density ones. You may change the startup script and the derivative setting of your compiler, then give it a try. One last thing, find out the differences of their pin configuration, it really helps.