mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_HAL_ChibiOS: defaults for board log directory and terrain directory in chibios_hwdef.py
This commit is contained in:
parent
274aedeaae
commit
092afa54a9
@ -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
|
||||
''')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user