HWSPI.c: In function 'HWSPI_macro': HWSPI.c:115:41: error: expected ')' before ';' token cdcprintf(" 1. EXTI SPI sniffer\r\n"; ^ HWSPI.c:426:1: error: expected declaration or statement at end of input } ^ HWSPI.c:426:1: error: expected declaration or statement at end of input At top level: HWSPI.c:16:17: warning: 'LA_period' defined but not used [-Wunused-variable] static uint16_t LA_period[8]={ ^~~~~~~~~ HWSPI.c:14:56: warning: 'od' defined but not used [-Wunused-variable] static uint32_t cpol, cpha, br, dff, lsbfirst, csidle, od; ^~ HWSPI.c:14:38: warning: 'lsbfirst' defined but not used [-Wunused-variable] static uint32_t cpol, cpha, br, dff, lsbfirst, csidle, od; ^~~~~~~~ HWSPI.c:14:33: warning: 'dff' defined but not used [-Wunused-variable] static uint32_t cpol, cpha, br, dff, lsbfirst, csidle, od; ^~~ HWSPI.c:14:29: warning: 'br' defined but not used [-Wunused-variable] static uint32_t cpol, cpha, br, dff, lsbfirst, csidle, od; ^~ HWSPI.c:14:23: warning: 'cpha' defined but not used [-Wunused-variable] static uint32_t cpol, cpha, br, dff, lsbfirst, csidle, od; ^~~~ HWSPI.c:14:17: warning: 'cpol' defined but not used [-Wunused-variable] static uint32_t cpol, cpha, br, dff, lsbfirst, csidle, od; ^~~~ make: *** [HWSPI.o] Error 1