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

If you made your own board, post here, unless you built a Maple or Maple mini clone etc
Post Reply
lctasca
Posts: 4
Joined: Wed May 20, 2020 12:23 pm

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

Post 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
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

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

Post 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.
lctasca
Posts: 4
Joined: Wed May 20, 2020 12:23 pm

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

Post 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...
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

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

Post by fpiSTM »

Simply do a PR anyway as I said there will be several refactoring.
lctasca
Posts: 4
Joined: Wed May 20, 2020 12:23 pm

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

Post 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
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

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

Post 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
lctasca
Posts: 4
Joined: Wed May 20, 2020 12:23 pm

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

Post by lctasca »

Thanks!
Post Reply

Return to “Custom design boards”