I am moving my first steps with ChibiOs and I am actually developing with a STM32L152L_DISCOVERY board.
My aim is to change the default GPIO configuration which seems to be defined in
Code: Select all
os/hal/boards/ST_STM32L_DISCOVERY/board.h
At the begin of the file it is written:
Code: Select all
/*
* This file has been automatically generated using ChibiStudio board
* generator plugin. Do not edit manually.
*/
I tried ChibiStudio but, as far as I understood, the project template generator can only generate a fixed GPIO configuration specific for some predefined development boards. Seems also the generator plugin reads the GPIO configuration from XML file board.chcfg.
My question is: what is the best approach to generate a board.h file manually?
Previously I used to configure GPIO through the STM32 Standard Peripheral Library. I am not using ChibiStudio and I am developing on Linux.
Thank you in advance