fmpp generating board files that fail to compile
Posted: Thu Jul 09, 2020 9:38 pm
I have been using ChibiOS since last week and I have to say I am loving it! But here to my problem: I created a board definition file for the STM32F411CE based BlackPill. fmpp creates the board files without issues. However, when I compile my application, I am getting errors in the board.h file (included in zip file), which is being generated with mistakes. In particular:
../ChibiOS/os/hal/boards/STM32F411_BLACKPILL/board.h:364:1: error: stray '#' in program
Because of:
(Line 363 should end with a parenthesis instead of the | \)
There are many other lines like that. What could be wrong? I am using the latest fmpp. Attached is my board configuration file.
I am using Chibios_20.3.1 and fmpp version 0.9.16.
Thanks.
../ChibiOS/os/hal/boards/STM32F411_BLACKPILL/board.h:364:1: error: stray '#' in program
Because of:
363 PIN_MODE_INPUT(GPIOB_SPI2_MOSI) | \
364 #define VAL_GPIOB_OTYPER (PIN_OTYPE_PUSHPULL(GPIOB_ADC1_IN8) | \
(Line 363 should end with a parenthesis instead of the | \)
There are many other lines like that. What could be wrong? I am using the latest fmpp. Attached is my board configuration file.
I am using Chibios_20.3.1 and fmpp version 0.9.16.
Thanks.