Can't compile it using ChibiOS 2.4.2 and the KEIL IDE / Compiler.
Code: Select all
Build target 'segway_firmware'
compiling MPU60X0.c...
..\MPU60X0\MPU60X0.c(221): error: #165: too few arguments in function call
..\MPU60X0\MPU60X0.c(221): error: #18: expected a ")"
..\MPU60X0\MPU60X0.c(215): warning: #550-D: variable "mpu_txbuf" was set but never used
..\MPU60X0\MPU60X0.c(215): warning: #177-D: variable "mpu_rxbuf" was declared but never referenced
..\MPU60X0\MPU60X0.c(241): error: #165: too few arguments in function call
..\MPU60X0\MPU60X0.c(241): error: #18: expected a ")"
..\MPU60X0\MPU60X0.c(229): warning: #550-D: variable "mpu_txbuf" was set but never used
..\MPU60X0\MPU60X0.c(229): warning: #550-D: variable "mpu_rxbuf" was set but never used
Target not createdThe function arguments seem to be okay although?