Hi DiSlord,
I just tried to compile your H code with the updates from a few days ago and got the following errors in the ChibiOS area.
I installed ChibiOS from your current repo.
ChibiOS/os/hal/osal/rt/osal.h:241:34: note: in expansion of macro 'chDbgAssert'
#define osalDbgAssert(c, remark) chDbgAssert(c, remark)
^~~~~~~~~~~
ChibiOS/os/hal/src/hal_usb.c:932:5: note: in expansion of macro 'osalDbgAssert'
osalDbgAssert(false, "EP0 state machine error");
^~~~~~~~~~~~~
ChibiOS/os/hal/src/hal_usb.c:934:3: note: here
case USB_EP0_ERROR:
^~~~
Compiling nvic.c
Compiling hal_lld.c
ChibiOS/os/hal/ports/STM32/STM32F0xx/hal_lld.c:54:40: error: expected identifier or '(' before 'void'
static void hal_lld_backup_domain_init(void) {
^~~~
ChibiOS/os/hal/ports/STM32/STM32F0xx/hal_lld.c: In function 'hal_lld_init':
ChibiOS/os/hal/ports/STM32/STM32F0xx/hal_lld.c:235:30: error: expected expression before ')' token
hal_lld_backup_domain_init();
^
make: *** [ChibiOS/os/common/startup/ARMCMx/compilers/GCC/rules.mk:216: build/obj/hal_lld.o] Error 1
Any idea where to look?
The last code I compiled for the H was from Aug 2020 and it still compiles OK today, so did something change in ChibiOS?
Thanks,
Larry