HAL_ChibiOS: enable UART monitor

enabled if GPS moving baseline available or the board flash size is
256k or over
This commit is contained in:
Andrew Tridgell 2023-07-10 07:02:32 +10:00
parent 62b2fdb8f8
commit a3eba8bbd3
1 changed files with 8 additions and 0 deletions

View File

@ -3322,6 +3322,14 @@ INCLUDE common.ld
#define AP_BOOTLOADER_ALWAYS_ERASE 1 #define AP_BOOTLOADER_ALWAYS_ERASE 1
#endif #endif
#ifndef GPS_MOVING_BASELINE
#define GPS_MOVING_BASELINE 0
#endif
#ifndef AP_UART_MONITOR_ENABLED
#define AP_UART_MONITOR_ENABLED AP_GPS_ENABLED && (GPS_MOVING_BASELINE || BOARD_FLASH_SIZE>=256)
#endif
// end AP_Periph defaults // end AP_Periph defaults
''') ''')