From 29583efc4501ef9451f93237cc2f97416c1160cb Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Wed, 24 Jul 2024 16:04:06 +1000 Subject: [PATCH] AP_HAL_ChibiOS: CubeRedPrimary: enable DTR mode for external flash --- libraries/AP_HAL_ChibiOS/hwdef/CubeRedPrimary/hwdef-bl.dat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeRedPrimary/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeRedPrimary/hwdef-bl.dat index cd4a45bcc8..9c858c89db 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeRedPrimary/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeRedPrimary/hwdef-bl.dat @@ -76,6 +76,8 @@ INT_FLASH_PRIMARY 1 # IFace Device Name Bus QSPI Mode Clk Freq Size (Pow2) NCS Delay QSPIDEV w25q-dtr QUADSPI1 MODE1 80*MHZ 31 1 +define HAL_ENABLE_DTR 1 + # disable peripheral and sensor power in the bootloader PG0 VDD_3V3_SENSORS_EN OUTPUT LOW PF2 nVDD_5V_PERIPH_EN OUTPUT LOW