-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] What is needed to add support to new boards/mcu/frameworks ? #128
Comments
Hi @chepo92 ! Adding a new MCU is pretty much the same as adding a new board as long as the CPU is ARM-based. The main question is what framework/SDK you plan to use with that MCU? |
thanks @valeros My plans are first to have a different IDE (from atmel studio/eclipse) to program SAM4 boards and then to add support in Marlin firmware to SAM4 (Duet boards), I think i would need to write a HAL for that Any advice would be welcome |
Well, not necessarily, you can still write some application without any HAL, but with a framework it's significantly easier. As for CMSIS build script, it requires some new re-examination to bring it back to life since a lot has changed since that PR. |
Hi @valeros, i'm reviving this, with more time and budget :D, I pretend to enable the use with Zephyr framework I know it supports the chip (https://docs.zephyrproject.org/latest/boards/arm/sam4e_xpro/doc/index.html), and then with Arduino framework, what are the next steps I should follow? I have started reading some PR that add new boards |
Hi @chepo92, you can take a look at some board manifest that already supports those two frameworks (e.g. https://github.com/platformio/platform-atmelsam/blob/develop/boards/zero.json). AFAIK, there are no Arduino cores that support SAM4, so you're on your own here. As for Zephyr, please note that the latest supported by PlatformIO is 2.7.1, not sure if your target board was available in that release. |
In general, what is needed to add support to new boards/mcu/frameworks ?
So far I've read and see in PR's
Any guideline? I want to work in adding support to SAM4 (and maybe others mcu) but i'm needing some docs
The text was updated successfully, but these errors were encountered: