From 5c7a2b6369e7ae8593ae20fb0f4d716fb9d6ebaf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 27 Sep 2022 16:52:43 +1000 Subject: [PATCH] hwdef: reduced memory usage on MatekF405-CAN board --- libraries/AP_HAL_ChibiOS/hwdef/MatekF405-CAN/hwdef.dat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-CAN/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-CAN/hwdef.dat index c0ad772bc0..8b9db05c3f 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-CAN/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-CAN/hwdef.dat @@ -81,6 +81,9 @@ PB8 CAN1_RX CAN1 PB9 CAN1_TX CAN1 PC13 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(70) +# reduce memory usage +define UAVCAN_NODE_POOL_SIZE 1024 + # --------------------- UARTs --------------------------- SERIAL_ORDER OTG1 USART1 USART3 UART4 UART5 USART2