Code: Select all
../os/hal/ports/STM32/STM32L0xx/stm32_registry.h:103:9: note: this is the location of the previous definition
103 | #define STM32_DMA1_CH5_CMASK 0x00000018U
| ^~~~~~~~~~~~~~~~~~~~
Compiling board.c
In file included from ../os/hal/ports/STM32/STM32L0xx/hal_lld.h:1232,
from ../os/hal/include/hal.h:263,
from ../os/hal/boards/ST_NUCLEO32_L011K4/board.c:22:
../os/hal/ports/STM32/STM32L0xx/stm32_isr.h:78:9: warning: 'STM32_DMA1_CH4_CMASK' redefined
78 | #define STM32_DMA1_CH4_CMASK 0x00000078U
| ^~~~~~~~~~~~~~~~~~~~
(edit) forgot to mention this is on ChibiOS_21.11.5.