Page 1 of 1

Add new board to official Arduino core support for STM32 based boards

Posted: Wed May 20, 2020 12:34 pm
by lctasca
Hi

The company I work for has a custom STM32F405 board:
Image

Which following the add a new variant Wiki I managed to get worked successfully. Therefore I would like to know how we can add our board to the support boards list https://github.com/stm32duino/Arduino_C ... /README.md then it will be configured automatically in Arduino IDE as well as the other manufactures listed.

Thanks in advance for the clarification

Re: Add new board to official Arduino core support for STM32 based boards

Posted: Wed May 20, 2020 2:10 pm
by fpiSTM
Fine,

I guess it should be fine to add first the Generic F4x5VG support then you will be able to add some custom value if needed.

For the next version the Generic variant will be revamp to ease custom board integration and also a better readability.

Re: Add new board to official Arduino core support for STM32 based boards

Posted: Wed May 20, 2020 2:31 pm
by lctasca
Thanks for the quick reply!

As I said, I actually made the customization files to include our board into Arduino IDE my question is how I can submit the variant folder (with the ldscript, peripheral pins, and variant files) as well the new lines in the boards.txt file to make it available to anyone who configures the IDE via the JSON file?

I have made customizations in the files so the Generic F4x5VG is not enough...

Re: Add new board to official Arduino core support for STM32 based boards

Posted: Wed May 20, 2020 2:34 pm
by fpiSTM
Simply do a PR anyway as I said there will be several refactoring.

Re: Add new board to official Arduino core support for STM32 based boards

Posted: Wed May 20, 2020 2:38 pm
by lctasca
That simple?
Thanks!
:lol:

Just to make sure, the project I must make the PR is the Arduino_Core_STM32?
https://github.com/stm32duino/Arduino_Core_STM32

Re: Add new board to official Arduino core support for STM32 based boards

Posted: Wed May 20, 2020 3:06 pm
by fpiSTM
lctasca wrote:
Wed May 20, 2020 2:38 pm
That simple?
Thanks!
:lol:
See the Contributing.md starting from here: https://github.com/stm32duino/Arduino_C ... l-requests
lctasca wrote:
Wed May 20, 2020 2:38 pm
Just to make sure, the project I must make the PR is the Arduino_Core_STM32?
https://github.com/stm32duino/Arduino_Core_STM32
Yes

Re: Add new board to official Arduino core support for STM32 based boards

Posted: Wed May 20, 2020 3:07 pm
by lctasca
Thanks!