mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
HAL_ChibiOS: raise stack limits in f303 peripherals
This commit is contained in:
parent
3ba46d5bd9
commit
cf22caa7ef
@ -105,8 +105,8 @@ define HAL_UART_MIN_TX_SIZE 128
|
||||
define HAL_UART_MIN_RX_SIZE 128
|
||||
|
||||
define HAL_UART_STACK_SIZE 256
|
||||
define STORAGE_THD_WA_SIZE 256
|
||||
define IO_THD_WA_SIZE 256
|
||||
define STORAGE_THD_WA_SIZE 300
|
||||
define IO_THD_WA_SIZE 300
|
||||
|
||||
define HAL_NO_GCS
|
||||
define HAL_NO_LOGGING
|
||||
|
@ -58,7 +58,7 @@ define DMA_RESERVE_SIZE 0
|
||||
define PERIPH_FW TRUE
|
||||
|
||||
# MAIN_STACK is stack of initial thread
|
||||
MAIN_STACK 0x200
|
||||
MAIN_STACK 0x300
|
||||
|
||||
# PROCESS_STACK controls stack for main thread
|
||||
PROCESS_STACK 0x800
|
||||
@ -76,10 +76,10 @@ define STM32_I2C_USE_I2C1 TRUE
|
||||
define HAL_UART_MIN_TX_SIZE 256
|
||||
define HAL_UART_MIN_RX_SIZE 128
|
||||
|
||||
define HAL_UART_STACK_SIZE 256
|
||||
define HAL_UART_STACK_SIZE 512
|
||||
|
||||
define STORAGE_THD_WA_SIZE 256
|
||||
define IO_THD_WA_SIZE 256
|
||||
define STORAGE_THD_WA_SIZE 512
|
||||
define IO_THD_WA_SIZE 512
|
||||
|
||||
define HAL_NO_GCS
|
||||
define HAL_NO_LOGGING
|
||||
@ -94,7 +94,7 @@ I2C_ORDER I2C1
|
||||
|
||||
define HAL_I2C_CLEAR_ON_TIMEOUT 0
|
||||
|
||||
define HAL_DEVICE_THREAD_STACK 256
|
||||
define HAL_DEVICE_THREAD_STACK 512
|
||||
|
||||
define AP_PARAM_MAX_EMBEDDED_PARAM 0
|
||||
|
||||
|
@ -78,7 +78,7 @@ define DMA_RESERVE_SIZE 0
|
||||
define PERIPH_FW TRUE
|
||||
|
||||
# MAIN_STACK is stack of initial thread and of ISRs
|
||||
MAIN_STACK 0x200
|
||||
MAIN_STACK 0x300
|
||||
|
||||
# PROCESS_STACK controls stack for main thread
|
||||
PROCESS_STACK 0x800
|
||||
@ -100,10 +100,10 @@ define STM32_I2C_USE_I2C1 TRUE
|
||||
define HAL_UART_MIN_TX_SIZE 256
|
||||
define HAL_UART_MIN_RX_SIZE 128
|
||||
|
||||
define HAL_UART_STACK_SIZE 256
|
||||
define HAL_UART_STACK_SIZE 0x300
|
||||
|
||||
define STORAGE_THD_WA_SIZE 256
|
||||
define IO_THD_WA_SIZE 256
|
||||
define STORAGE_THD_WA_SIZE 512
|
||||
define IO_THD_WA_SIZE 512
|
||||
|
||||
define HAL_NO_GCS
|
||||
define HAL_NO_LOGGING
|
||||
@ -118,7 +118,7 @@ I2C_ORDER I2C1
|
||||
|
||||
define HAL_I2C_CLEAR_ON_TIMEOUT 0
|
||||
|
||||
define HAL_DEVICE_THREAD_STACK 256
|
||||
define HAL_DEVICE_THREAD_STACK 0x200
|
||||
|
||||
define AP_PARAM_MAX_EMBEDDED_PARAM 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user