1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #17421 from aabadie/pr/cpu/stm32_kconfig_cleanup

cpu/stm32: remove invalid family symbols used in Kconfig
This commit is contained in:
Kaspar Schleiser 2021-12-19 11:52:54 +01:00 committed by GitHub
commit ffecd0110a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,23 +45,23 @@ orsource "kconfigs/*/Kconfig.lines"
orsource "kconfigs/*/Kconfig.models"
choice
prompt "ReaDout Protection level"
default RDP0
help
Set minimum running RDP level.
RDP0 is full debug permissions, RDP1 disables read from Flash but
otherwise leaves debug enabled, RDP2 disables JTAG completely. If
there is a mismatch between desired RDP level here and RDP level
set on the chip, early cpu init will hang. This ensures production
devices with the wrong RDP level, by fault or malace intent, will
not run. See cpu manual for further details on RDP.
depends on (CPU_FAM_F1 || CPU_FAM_F2 || CPU_FAM_F3 || CPU_FAM_F4 || CPU_FAM_F5 || CPU_FAM_F6 || CPU_FAM_F7)
prompt "ReaDout Protection level"
default RDP0
help
Set minimum running RDP level.
RDP0 is full debug permissions, RDP1 disables read from Flash but
otherwise leaves debug enabled, RDP2 disables JTAG completely. If
there is a mismatch between desired RDP level here and RDP level
set on the chip, early cpu init will hang. This ensures production
devices with the wrong RDP level, by fault or malace intent, will
not run. See cpu manual for further details on RDP.
depends on (CPU_FAM_F1 || CPU_FAM_F2 || CPU_FAM_F3 || CPU_FAM_F4 || CPU_FAM_F7)
config RDP0
bool "RDP0"
bool "RDP0"
config RDP1
bool "RDP1"
bool "RDP1"
config RDP2
bool "RDP2"
bool "RDP2"
endchoice
if TEST_KCONFIG