From 46bc6d5122216bfe3f3277b2b300d6cdc19e3570 Mon Sep 17 00:00:00 2001 From: David Buzz Date: Tue, 2 May 2023 09:28:32 +1000 Subject: [PATCH] AP_HAL_ESP32: quieten imu's on esp32 less noisy ins debug imu --- libraries/AP_HAL_ESP32/boards/esp32buzz.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL_ESP32/boards/esp32buzz.h b/libraries/AP_HAL_ESP32/boards/esp32buzz.h index 29ff8cfe97..18ec470b7a 100644 --- a/libraries/AP_HAL_ESP32/boards/esp32buzz.h +++ b/libraries/AP_HAL_ESP32/boards/esp32buzz.h @@ -100,12 +100,14 @@ #define HAL_INS_MPU9250_NAME "mpu9250" -// uncommenting one or more of these will give more console debug in certain areas.. -//#define INSEDEBUG 1 +// uncommenting one or more of these will give more console debug in certain areas.. ... +// ...however all teh extra printf's use a lot of stack, so best to limit yourself to only uncommenting one at a time //#define STORAGEDEBUG 1 //#define SCHEDDEBUG 1 //#define FSDEBUG 1 -//#define BUSDEBUG 1 +//#define BUSDEBUG 1 //ok +//#define WIFIDEBUG 1 //uses a lot? +//#define INS_TIMING_DEBUG 1 //define this to see all the imu-resets and temp resets and imu timing info on the console. #define HAL_INS_PROBE_LIST PROBE_IMU_SPI( Invensense, HAL_INS_MPU9250_NAME, ROTATION_NONE) //#define HAL_INS_PROBE_LIST PROBE_IMU_SPI( Invensense, HAL_INS_MPU9250_NAME, ROTATION_ROLL_180)