board file generation: missing templates

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
Posts: 1
Joined: Tue Mar 20, 2018 9:11 am

board file generation: missing templates

Postby aatrof » Tue Mar 20, 2018 9:50 am


I would like to use fmpp to generate board files, but templates are missing. E.g.:

os/hal/boards/ST_NUCLEO64_F030R8/cfg/board.fmpp expects templates at tools/ftl/processors/boards/stm32f0xx/templates

$ stat $(cd os/hal/boards/ST_NUCLEO64_F030R8/cfg;head -n1 $(basename os/hal/boards/ST_NUCLEO64_F030R8/cfg/board.fmpp)|cut -f2 -d' ')
stat: cannot stat '../../../../../tools/ftl/processors/boards/stm32f0xx/templates': No such file or directory

I checked branches stable_18.2.x and master and in both cases it's missing. There are some templates to be found at chibistudio_trunk branch, but are fairly outdated (e.g. type gpio_setup_t is not utlized).

Where can I find up-to-date template files?

Thank you,

User avatar
Site Admin
Posts: 11712
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 493 times
Been thanked: 418 times

Re: board file generation: missing templates

Postby Giovanni » Tue Mar 20, 2018 10:33 am


Those are subversion "externals", I am not sure if the git mirror handles those correctly. Please checkout from the official subversion repository or download one of the released versions from SF.


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 1 guest