flash-cleanup

This commit is contained in:
eZio Pan 2024-01-02 18:54:50 +08:00
parent a535002553
commit 5e6056d36e
2 changed files with 3 additions and 30 deletions

View File

@ -146,17 +146,14 @@ fieldset/OBR:
description: nBOOT0
bit_offset: 11
bit_size: 1
enum: nBOOT0
- name: nBOOT1
description: BOOT1
bit_offset: 12
bit_size: 1
enum: nBOOT1
- name: VDDA_MONITOR
description: VDDA_MONITOR
bit_offset: 13
bit_size: 1
enum: VDDA_MONITOR
- name: RAM_PARITY_CHECK
description: RAM_PARITY_CHECK
bit_offset: 14
@ -247,15 +244,6 @@ enum/RDPRT:
- name: Level2
description: Level 2
value: 3
enum/VDDA_MONITOR:
bit_size: 1
variants:
- name: Disabled
description: VDDA power supply supervisor disabled
value: 0
- name: Enabled
description: VDDA power supply supervisor enabled
value: 1
enum/WDG_SW:
bit_size: 1
variants:
@ -265,24 +253,6 @@ enum/WDG_SW:
- name: Software
description: Software watchdog
value: 1
enum/nBOOT0:
bit_size: 1
variants:
- name: Disabled
description: When BOOT_SEL is cleared, select the device boot mode
value: 0
- name: Enabled
description: When BOOT_SEL is cleared, select the device boot mode
value: 1
enum/nBOOT1:
bit_size: 1
variants:
- name: Disabled
description: Together with BOOT0, select the device boot mode
value: 0
- name: Enabled
description: Together with BOOT0, select the device boot mode
value: 1
enum/nRST_STDBY:
bit_size: 1
variants:

3
transforms/FLASH_f0.yaml Normal file
View File

@ -0,0 +1,3 @@
transforms:
- !DeleteEnums
from: ^(VDDA_MONITOR|nBOOT[01])$