From d81c2ee407fc254b99ecd9fe85f4c51cac0c0dae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Jan 2021 09:24:21 +1100 Subject: [PATCH] HAL_ChibiOS: allow for some embedded parameters on AP_Periph builds --- libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.dat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat index 1d72666245..504dfdfcee 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat @@ -128,7 +128,7 @@ define HAL_DEVICE_THREAD_STACK 0x200 define STORAGE_THD_WA_SIZE 512 define IO_THD_WA_SIZE 512 -define AP_PARAM_MAX_EMBEDDED_PARAM 0 +define AP_PARAM_MAX_EMBEDDED_PARAM 512 define HAL_I2C_INTERNAL_MASK 1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat index b63e465a20..a2e8c1abc4 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat @@ -95,7 +95,7 @@ define HAL_I2C_CLEAR_ON_TIMEOUT 0 define HAL_DEVICE_THREAD_STACK 512 -define AP_PARAM_MAX_EMBEDDED_PARAM 0 +define AP_PARAM_MAX_EMBEDDED_PARAM 512 define HAL_I2C_INTERNAL_MASK 1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.dat index 3cec62c9cf..bd7002a252 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.dat @@ -119,7 +119,7 @@ define HAL_I2C_CLEAR_ON_TIMEOUT 0 define HAL_DEVICE_THREAD_STACK 0x200 -define AP_PARAM_MAX_EMBEDDED_PARAM 0 +define AP_PARAM_MAX_EMBEDDED_PARAM 512 define HAL_I2C_INTERNAL_MASK 0