AP_HAL_ChibiOS: defaults for board log directory and terrain directory in chibios_hwdef.py

This commit is contained in:
Peter Barker 2023-06-28 18:47:29 +10:00 committed by Randy Mackay
parent 274aedeaae
commit 092afa54a9

View File

@ -3330,6 +3330,14 @@ INCLUDE common.ld
#define AP_UART_MONITOR_ENABLED AP_GPS_ENABLED && (GPS_MOVING_BASELINE || BOARD_FLASH_SIZE>=256)
#endif
#ifndef HAL_BOARD_LOG_DIRECTORY
#define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
#endif
#ifndef HAL_BOARD_TERRAIN_DIRECTORY
#define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
#endif
// end AP_Periph defaults
''')
@ -3457,6 +3465,14 @@ INCLUDE common.ld
#define HAL_DSHOT_ALARM_ENABLED (HAL_PWM_COUNT>0)
#endif
#ifndef HAL_BOARD_LOG_DIRECTORY
#define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
#endif
#ifndef HAL_BOARD_TERRAIN_DIRECTORY
#define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
#endif
// end firmware defaults
''')