From ec46f1b3f163d2525700b66fcce658eb7962a19a Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sun, 19 Dec 2021 10:33:12 +0100 Subject: [PATCH 1/2] cpu/stm32: remove invalid symbols used in Kconfig --- cpu/stm32/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/stm32/Kconfig b/cpu/stm32/Kconfig index 2d2d22f1c1..ab15c7a76a 100644 --- a/cpu/stm32/Kconfig +++ b/cpu/stm32/Kconfig @@ -55,7 +55,7 @@ choice 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) +depends on (CPU_FAM_F1 || CPU_FAM_F2 || CPU_FAM_F3 || CPU_FAM_F4 || CPU_FAM_F7) config RDP0 bool "RDP0" config RDP1 From 6f6999693758cc49b2a1796037c5b4e2156fb86a Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sun, 19 Dec 2021 10:37:29 +0100 Subject: [PATCH 2/2] cpu/stm32/Kconfig: replace tabs with spaces --- cpu/stm32/Kconfig | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/cpu/stm32/Kconfig b/cpu/stm32/Kconfig index ab15c7a76a..605dd7cfe3 100644 --- a/cpu/stm32/Kconfig +++ b/cpu/stm32/Kconfig @@ -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. + 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