You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile the "Quaternion" example for RPi Pico from Arduino IDE using the "Arduino MBED OS for RP2040 Boards" Board Library by Arduino itself.
But I get the following error when Compiling:
"""
WARNING: library SparkFun_MPU-9250-DMP_Arduino_Library-master claims to run on samd architecture(s) and may be incompatible with your current board which runs on mbed_rp2040 architecture(s).
In file included from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\variants\RASPBERRY_PI_PICO/pinmode_arduino.h:30:0,
from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/Arduino.h:26,
from C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\arduino_mpu9250_clk.c:19:
C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/api/Common.h:76:9: error: unknown type name 'bool'
typedef bool boolean;
^~~~
In file included from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\variants\RASPBERRY_PI_PICO/pinmode_arduino.h:30:0,
from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/Arduino.h:26,
from C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu_dmp_motion_driver.c:35:
C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/api/Common.h:76:9: error: unknown type name 'bool'
typedef bool boolean;
^~~~
In file included from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\variants\RASPBERRY_PI_PICO/pinmode_arduino.h:30:0,
from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/Arduino.h:26,
from C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c:39:
C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/api/Common.h:76:9: error: unknown type name 'bool'
typedef bool boolean;
^~~~
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c: In function 'reg_int_cb':
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c:52:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu_dmp_motion_driver.c: In function 'dmp_set_accel_bias':
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu_dmp_motion_driver.c:605:5: warning: implicit declaration of function '__no_operation'; did you mean '__section'? [-Wimplicit-function-declaration]
__no_operation();
^~~~~~~~~~~~~~
__section
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c: In function 'mpu_reg_dump':
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c:47:19: warning: implicit declaration of function '_MLPrintLog' [-Wimplicit-function-declaration]
#define log_i _MLPrintLog
^
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c:612:9: note: in expansion of macro 'log_i'
log_i("%#5x: %#5x\r\n", ii, data);
^~~~~
exit status 1
Error compiling for board Raspberry Pi Pico.
"""
How can I get around this error?
The text was updated successfully, but these errors were encountered:
I tried to compile the "Quaternion" example for RPi Pico from Arduino IDE using the "Arduino MBED OS for RP2040 Boards" Board Library by Arduino itself.
But I get the following error when Compiling:
"""
WARNING: library SparkFun_MPU-9250-DMP_Arduino_Library-master claims to run on samd architecture(s) and may be incompatible with your current board which runs on mbed_rp2040 architecture(s).
In file included from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\variants\RASPBERRY_PI_PICO/pinmode_arduino.h:30:0,
from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/Arduino.h:26,
from C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\arduino_mpu9250_clk.c:19:
C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/api/Common.h:76:9: error: unknown type name 'bool'
typedef bool boolean;
^~~~
In file included from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\variants\RASPBERRY_PI_PICO/pinmode_arduino.h:30:0,
from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/Arduino.h:26,
from C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu_dmp_motion_driver.c:35:
C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/api/Common.h:76:9: error: unknown type name 'bool'
typedef bool boolean;
^~~~
In file included from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\variants\RASPBERRY_PI_PICO/pinmode_arduino.h:30:0,
from C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/Arduino.h:26,
from C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c:39:
C:\Users\athar\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\3.1.1\cores\arduino/api/Common.h:76:9: error: unknown type name 'bool'
typedef bool boolean;
^~~~
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c: In function 'reg_int_cb':
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c:52:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu_dmp_motion_driver.c: In function 'dmp_set_accel_bias':
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu_dmp_motion_driver.c:605:5: warning: implicit declaration of function '__no_operation'; did you mean '__section'? [-Wimplicit-function-declaration]
__no_operation();
^~~~~~~~~~~~~~
__section
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c: In function 'mpu_reg_dump':
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c:47:19: warning: implicit declaration of function '_MLPrintLog' [-Wimplicit-function-declaration]
#define log_i _MLPrintLog
^
C:\Users\athar\Documents\Arduino\libraries\SparkFun_MPU-9250-DMP_Arduino_Library-master\src\util\inv_mpu.c:612:9: note: in expansion of macro 'log_i'
log_i("%#5x: %#5x\r\n", ii, data);
^~~~~
exit status 1
Error compiling for board Raspberry Pi Pico.
"""
How can I get around this error?
The text was updated successfully, but these errors were encountered: