Page 1 of 1

Addign a custom board with custom loader and libraries

Posted: Tue May 23, 2023 11:14 am
by BlaGodGiving
Hello all,

I have made a custom board using STM32F205ZG and I want to add it to Arduino IDE. And I have problems with this, because for this board I have written my own bootloader (I flash via CAN) and libraries (I do not use HAL). I went through "Add a new variant (board)" in the wiki i.e. added definition in boards.txt, added linker file and variant and peripheral pins.
But I can't figure out how I can add my own loader (a separate CLI application) and use my libraries instead of HAL. I understand that for this I have to rewrite the core, but maybe you can tell me where to start? The task, probably, not absolutely trivial, but very much it would be desirable to understand it.
Thanks for any help!