I think that this might want to be an ifdef:
https://github.com/grblHAL/STM32F4xx/blob/7dbf6fa1ecacac138d760679673cbb4b3d43de32/Src/driver.c#L451
When not defined, SPIIRQBIT gets inndef’d to 0 and this causes a compile issue at line 470 of driver.c because spiirq (driverirqhandert) never gets intialized.
评论 (2)
#2 – terjeio 于 2023-08-06
#1 – terjeio 于 2023-07-31
Oops, it is the #ifdef at line 470 that has to be changed to #if… I’ll fix that.