Closed KenjutsuGH closed 9 years ago
If you send a pull request with this added file then I can merge it in and prepare it for the next upcoming release of gcc4mbed.
Thanks!
Done :-)
Done :-)
What has been done?
I'm sorry, I made a total hash of it. I completed the pull request a few moments ago.
Thanks again. It has been merged into the working branch.
I am currently doing a project using a similar cheap/generic STM32F103C8T6 board (2.5£ on eBay!) I was planning to use this as a start, but curious what would be the board naming convention, since it's not a NUCLEO platform (GENERIC_F103C8 maybe???)
What kind of changes do you need to make for this generic board? Are they really changes that should go into GCC4MBED or are you really wanting to add a new device to the mbed SDK/HAL proper in https://github.com/ARMmbed/mbed-os ?
that's an interesting question. The board does not have the debug interface, so it won't fully support the mbed flow by itself - But using an external link interface, I managed to build and download the HelloWorld sample. Changes will be required in the linker script (because it's 64Kb flash) and the HAL, as the LED1 is in a different pin. I would think other peripherals may need remapping as well. I will check the mbed main repo, maybe there is some work in progress there.
it seems both the mbed SDK and OS support the BLUEPILL_F103C8 target, which is for this board, so once the mbed library moves forward, only the .mk file will be needed.
Hello everyone
Just a repost from the mbed forum. Hopefully more F103RB users read this post and can test and confirm whether it worked.
Here is my attempt at a NUCLEO_F103RB-device.mk file:
I do not own such a board, but I decided to give it a go, since I wanted to use the mbed code on a generic (eBay) STM32F103 based board. I was able to get it to compile and upload the resulting .hex file to the board using stm32flash, and so far it is working
@adamgreen Again, thank for developing gcc4mbed! making all of this possible