CanBoot
CanBoot copied to clipboard
Compiler error BTT EBB36 V1.0
Compiling the firmware for the Bigtreetch EBB36 gave me this compiler errror: src/stm32/can.c: In function 'can_init': src/stm32/can.c:259:21: error: 'GPIO_Rx' undeclared (first use in this function); did you mean 'GPIOD'? gpio_peripheral(GPIO_Rx, CAN_FUNCTION, 1); ^~~~~~~ GPIOD src/stm32/can.c:259:21: note: each undeclared identifier is reported only once for each function it appears in src/stm32/can.c:260:21: error: 'GPIO_Tx' undeclared (first use in this function); did you mean 'GPIOD'? gpio_peripheral(GPIO_Tx, CAN_FUNCTION, 0); ^~~~~~~ GPIOD