From 1eb318c62b6d984a859ace2a359c7b6571d2e546 Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Mon, 5 Jul 2021 15:03:40 +0530 Subject: [PATCH] AP_HAL_ChibiOS: increase clock frequency for QSPI --- libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef-bl.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef.dat | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef-bl.dat index 7fba9ab309..a0c64b386c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef-bl.dat @@ -74,7 +74,7 @@ PG6 QUADSPI_BK1_NCS QUADSPI1 PB2 QUADSPI_CLK QUADSPI1 # IFace Device Name Bus QSPI Mode Clk Freq Size (Pow2) NCS Delay -QSPIDEV mt25q QUADSPI1 MODE1 50*MHZ 24 2 +QSPIDEV mt25q QUADSPI1 MODE1 120*MHZ 24 8 PB13 VBUS INPUT OPENDRAIN diff --git a/libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef.dat index 413f544103..95915f4717 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef.dat @@ -23,10 +23,10 @@ APJ_BOARD_ID 146 FLASH_SIZE_KB 2048 # setup build for a peripheral firmware -env AP_PERIPH 1 +# env AP_PERIPH 1 -define HAL_BUILD_AP_PERIPH -define HAL_NO_GCS +# define HAL_BUILD_AP_PERIPH +# define HAL_NO_GCS # bootloader is installed at zero offset FLASH_RESERVE_START_KB 128