Page 1 of 1

board file generation: missing templates

Posted: Tue Mar 20, 2018 9:50 am
by aatrof
Hello,

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,
Aleksander

Re: board file generation: missing templates

Posted: Tue Mar 20, 2018 10:33 am
by Giovanni
Hi,

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.

Giovanni