mirror of
https://github.com/m5stack/M5Stack.git
synced 2026-05-20 10:06:46 -07:00
Remove MPU9250 support
This commit is contained in:
@@ -15,9 +15,5 @@ if(CONFIG_M5STACK_FIRE)
|
||||
list(APPEND DEFINITIONS "M5STACK_FIRE")
|
||||
endif(CONFIG_M5STACK_FIRE)
|
||||
|
||||
if(CONFIG_MPU9250_INSDE)
|
||||
list(APPEND DEFINITIONS "MPU9250_INSDE")
|
||||
endif(CONFIG_MPU9250_INSDE)
|
||||
|
||||
target_compile_definitions(${COMPONENT_TARGET} PUBLIC ${DEFINITIONS})
|
||||
|
||||
|
||||
@@ -16,14 +16,5 @@ config M5STACK_FIRE
|
||||
bool "M5Stack Fire"
|
||||
endchoice
|
||||
|
||||
config MPU9250_INSDE
|
||||
bool "Enable MPU9250"
|
||||
default "y" if M5STICK="y"
|
||||
default "n" if M5STACK_BASIC="y"
|
||||
default "y" if M5STACK_GRAY="y"
|
||||
default "y" if M5STACK_FIRE="y"
|
||||
default "n"
|
||||
help
|
||||
Select this if your core has MPU9250 inside.
|
||||
endmenu
|
||||
|
||||
|
||||
@@ -133,7 +133,6 @@ class M5Stack {
|
||||
|
||||
// MPU9250
|
||||
#ifdef MPU9250_INSDE
|
||||
#include "utility/MPU9250.h"
|
||||
MPU9250 IMU = MPU9250();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user