diff --git a/devices/common_patches/f3_flash.yaml b/devices/common_patches/f3_flash.yaml index 12f3b038b..78db52c1f 100644 --- a/devices/common_patches/f3_flash.yaml +++ b/devices/common_patches/f3_flash.yaml @@ -1,4 +1,7 @@ FLASH: + _modify: + OBR: + resetValue: 0xFFFFFF0F ACR: _add: HLFCYA: @@ -16,6 +19,5 @@ FLASH: name: "OBL_LAUNCH" OBR: _modify: - resetValue: 0xFFFFFF0F BOOT1: name: "nBOOT1" diff --git a/devices/common_patches/f7_rcc_dckcfgr.yaml b/devices/common_patches/f7_rcc_dckcfgr.yaml index 2d2722776..1672ab01e 100644 --- a/devices/common_patches/f7_rcc_dckcfgr.yaml +++ b/devices/common_patches/f7_rcc_dckcfgr.yaml @@ -1,9 +1,8 @@ RCC: + _modify: + DCKCFGR[12]: + resetValue: 0x00000000 DCKCFGR1: _modify: - resetValue: 0x00000000 PLLI2SDIV: name: PLLI2SDIVQ - DCKCFGR2: - _modify: - resetValue: 0x00000000 diff --git a/devices/common_patches/sdio_f446.yaml b/devices/common_patches/sdio_f446.yaml index bbd1d7abf..56040dee9 100644 --- a/devices/common_patches/sdio_f446.yaml +++ b/devices/common_patches/sdio_f446.yaml @@ -5,6 +5,8 @@ _modify: groupName: SDIO addressBlock: size: "0x400" + offset: 0 + usage: registers SDIO: _strip: SDMMC_ diff --git a/devices/stm32f373.yaml b/devices/stm32f373.yaml index bce351334..984ea1c24 100644 --- a/devices/stm32f373.yaml +++ b/devices/stm32f373.yaml @@ -87,6 +87,9 @@ CAN: - COMP1_2 FLASH: + _modify: + OBR: + resetValue: 0xFFFFFF0F SR: _modify: WRPRT: @@ -97,7 +100,6 @@ FLASH: name: "OBL_LAUNCH" OBR: _modify: - resetValue: 0xFFFFFF0F BOOT1: name: "nBOOT1" diff --git a/devices/stm32g051.yaml b/devices/stm32g051.yaml index 114903fc4..3a2bbed59 100644 --- a/devices/stm32g051.yaml +++ b/devices/stm32g051.yaml @@ -19,7 +19,7 @@ TIM1: TIM2: CCMR1_Output: _clear: - OC1M1: + - OC1M1 _modify: OC1M1: name: OC1M diff --git a/devices/stm32g0b1.yaml b/devices/stm32g0b1.yaml index f5f10cb73..7b1e3b228 100644 --- a/devices/stm32g0b1.yaml +++ b/devices/stm32g0b1.yaml @@ -20,7 +20,7 @@ TIM1: TIM2: CCMR1_Output: _clear: - OC1M1: + - OC1M1 _modify: OC1M1: name: OC1M diff --git a/devices/stm32g0c1.yaml b/devices/stm32g0c1.yaml index 61a91f8b6..ad0230be8 100644 --- a/devices/stm32g0c1.yaml +++ b/devices/stm32g0c1.yaml @@ -26,7 +26,7 @@ TIM1: TIM2: CCMR1_Output: _clear: - OC1M1: + - OC1M1 _modify: OC1M1: name: OC1M diff --git a/devices/stm32h7b3.yaml b/devices/stm32h7b3.yaml index ea6378bc7..e727f9e40 100644 --- a/devices/stm32h7b3.yaml +++ b/devices/stm32h7b3.yaml @@ -63,6 +63,10 @@ RCC: _delete: - LPTIM4LPEN - LPTIM5LPEN + RSR,C1_RSR: + _clear: + - RMVF + - BORRSTF DBGMCU: APB4FZ1: