Fix Kconfig style
correct block name board Remove extra TABs Add comments
This commit is contained in:
parent
c06c10f6f3
commit
fde641fac9
7 changed files with 111 additions and 109 deletions
|
|
@ -774,9 +774,9 @@ config GD32F4_ONESHOT_MAXTIMERS
|
||||||
timers that you can use.
|
timers that you can use.
|
||||||
|
|
||||||
# config GD32F4_TIMER0
|
# config GD32F4_TIMER0
|
||||||
# bool "TIMER0"
|
# bool "TIMER0"
|
||||||
# default n
|
# default n
|
||||||
# depend on GD32F4_HAVE_TIMER0
|
# depend on GD32F4_HAVE_TIMER0
|
||||||
|
|
||||||
config GD32F4_TIMER0_PWM
|
config GD32F4_TIMER0_PWM
|
||||||
bool "TIMER0 PWM"
|
bool "TIMER0 PWM"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
comment "RP2040 Configuration Options"
|
comment "RP2040 Configuration Options"
|
||||||
|
|
||||||
config RP2040_DMAC
|
config RP2040_DMAC
|
||||||
bool "DMAC support"
|
bool "DMAC support"
|
||||||
|
|
@ -377,7 +377,6 @@ config RP2040_PWM2_PHASE_CORRECT
|
||||||
|
|
||||||
endif # RP2040_PWM2
|
endif # RP2040_PWM2
|
||||||
|
|
||||||
|
|
||||||
config RP2040_PWM3
|
config RP2040_PWM3
|
||||||
bool "PWM3"
|
bool "PWM3"
|
||||||
---help---
|
---help---
|
||||||
|
|
@ -684,34 +683,35 @@ if RP2040_CLK_GPOUT0
|
||||||
choice
|
choice
|
||||||
prompt "Source Clock"
|
prompt "Source Clock"
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT0_SRC_REF
|
config RP2040_CLK_GPOUT0_SRC_REF
|
||||||
bool "REF (6 - 12 MHz)"
|
bool "REF (6 - 12 MHz)"
|
||||||
---help---
|
---help---
|
||||||
Reference clock that is always running unless in DORMANT mode. Runs from
|
Reference clock that is always running unless in DORMANT mode. Runs from
|
||||||
Ring Oscillator (ROSC) at power-up but can be switched to Crystal
|
Ring Oscillator (ROSC) at power-up but can be switched to Crystal
|
||||||
Oscillator (XOSC) for more accuracy.
|
Oscillator (XOSC) for more accuracy.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT0_SRC_SYS
|
config RP2040_CLK_GPOUT0_SRC_SYS
|
||||||
bool "SYS (125 MHz)"
|
bool "SYS (125 MHz)"
|
||||||
---help---
|
---help---
|
||||||
System clock that is always running unless in DORMANT mode. Runs from
|
System clock that is always running unless in DORMANT mode. Runs from
|
||||||
clk_ref at power-up but is typically switched to a PLL.
|
clk_ref at power-up but is typically switched to a PLL.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT0_SRC_USB
|
config RP2040_CLK_GPOUT0_SRC_USB
|
||||||
bool "USB (48 MHz)"
|
bool "USB (48 MHz)"
|
||||||
---help---
|
---help---
|
||||||
USB reference clock. Must be 48MHz.
|
USB reference clock. Must be 48MHz.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT0_SRC_ADC
|
config RP2040_CLK_GPOUT0_SRC_ADC
|
||||||
bool "ADC (48 MHz)"
|
bool "ADC (48 MHz)"
|
||||||
---help---
|
---help---
|
||||||
ADC reference clock. Must be 48MHz.
|
ADC reference clock. Must be 48MHz.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT0_SRC_RTC
|
config RP2040_CLK_GPOUT0_SRC_RTC
|
||||||
bool "RTC (46875 Hz)"
|
bool "RTC (46875 Hz)"
|
||||||
---help---
|
---help---
|
||||||
RTC reference clock. The RTC divides this clock to generate a 1 second reference.
|
RTC reference clock. The RTC divides this clock to generate a 1 second reference.
|
||||||
endchoice
|
|
||||||
|
endchoice # Source Clock
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT0_DIVINT
|
config RP2040_CLK_GPOUT0_DIVINT
|
||||||
int "Divisor (Integer)"
|
int "Divisor (Integer)"
|
||||||
|
|
@ -734,34 +734,35 @@ if RP2040_CLK_GPOUT1
|
||||||
choice
|
choice
|
||||||
prompt "Source Clock"
|
prompt "Source Clock"
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT1_SRC_REF
|
config RP2040_CLK_GPOUT1_SRC_REF
|
||||||
bool "REF (6 - 12 MHz)"
|
bool "REF (6 - 12 MHz)"
|
||||||
---help---
|
---help---
|
||||||
Reference clock that is always running unless in DORMANT mode. Runs from
|
Reference clock that is always running unless in DORMANT mode. Runs from
|
||||||
Ring Oscillator (ROSC) at power-up but can be switched to Crystal
|
Ring Oscillator (ROSC) at power-up but can be switched to Crystal
|
||||||
Oscillator (XOSC) for more accuracy.
|
Oscillator (XOSC) for more accuracy.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT1_SRC_SYS
|
config RP2040_CLK_GPOUT1_SRC_SYS
|
||||||
bool "SYS (125 MHz)"
|
bool "SYS (125 MHz)"
|
||||||
---help---
|
---help---
|
||||||
System clock that is always running unless in DORMANT mode. Runs from
|
System clock that is always running unless in DORMANT mode. Runs from
|
||||||
clk_ref at power-up but is typically switched to a PLL.
|
clk_ref at power-up but is typically switched to a PLL.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT1_SRC_USB
|
config RP2040_CLK_GPOUT1_SRC_USB
|
||||||
bool "USB (48 MHz)"
|
bool "USB (48 MHz)"
|
||||||
---help---
|
---help---
|
||||||
USB reference clock. Must be 48MHz.
|
USB reference clock. Must be 48MHz.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT1_SRC_ADC
|
config RP2040_CLK_GPOUT1_SRC_ADC
|
||||||
bool "ADC (48 MHz)"
|
bool "ADC (48 MHz)"
|
||||||
---help---
|
---help---
|
||||||
ADC reference clock. Must be 48MHz.
|
ADC reference clock. Must be 48MHz.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT1_SRC_RTC
|
config RP2040_CLK_GPOUT1_SRC_RTC
|
||||||
bool "RTC (46875 Hz)"
|
bool "RTC (46875 Hz)"
|
||||||
---help---
|
---help---
|
||||||
RTC reference clock. The RTC divides this clock to generate a 1 second reference.
|
RTC reference clock. The RTC divides this clock to generate a 1 second reference.
|
||||||
endchoice
|
|
||||||
|
endchoice # Source Clock
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT1_DIVINT
|
config RP2040_CLK_GPOUT1_DIVINT
|
||||||
int "Divisor (Integer)"
|
int "Divisor (Integer)"
|
||||||
|
|
@ -784,34 +785,35 @@ if RP2040_CLK_GPOUT2
|
||||||
choice
|
choice
|
||||||
prompt "Source Clock"
|
prompt "Source Clock"
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT2_SRC_REF
|
config RP2040_CLK_GPOUT2_SRC_REF
|
||||||
bool "REF (6 - 12 MHz)"
|
bool "REF (6 - 12 MHz)"
|
||||||
---help---
|
---help---
|
||||||
Reference clock that is always running unless in DORMANT mode. Runs from
|
Reference clock that is always running unless in DORMANT mode. Runs from
|
||||||
Ring Oscillator (ROSC) at power-up but can be switched to Crystal
|
Ring Oscillator (ROSC) at power-up but can be switched to Crystal
|
||||||
Oscillator (XOSC) for more accuracy.
|
Oscillator (XOSC) for more accuracy.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT2_SRC_SYS
|
config RP2040_CLK_GPOUT2_SRC_SYS
|
||||||
bool "SYS (125 MHz)"
|
bool "SYS (125 MHz)"
|
||||||
---help---
|
---help---
|
||||||
System clock that is always running unless in DORMANT mode. Runs from
|
System clock that is always running unless in DORMANT mode. Runs from
|
||||||
clk_ref at power-up but is typically switched to a PLL.
|
clk_ref at power-up but is typically switched to a PLL.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT2_SRC_USB
|
config RP2040_CLK_GPOUT2_SRC_USB
|
||||||
bool "USB (48 MHz)"
|
bool "USB (48 MHz)"
|
||||||
---help---
|
---help---
|
||||||
USB reference clock. Must be 48MHz.
|
USB reference clock. Must be 48MHz.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT2_SRC_ADC
|
config RP2040_CLK_GPOUT2_SRC_ADC
|
||||||
bool "ADC (48 MHz)"
|
bool "ADC (48 MHz)"
|
||||||
---help---
|
---help---
|
||||||
ADC reference clock. Must be 48MHz.
|
ADC reference clock. Must be 48MHz.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT2_SRC_RTC
|
config RP2040_CLK_GPOUT2_SRC_RTC
|
||||||
bool "RTC (46875 Hz)"
|
bool "RTC (46875 Hz)"
|
||||||
---help---
|
---help---
|
||||||
RTC reference clock. The RTC divides this clock to generate a 1 second reference.
|
RTC reference clock. The RTC divides this clock to generate a 1 second reference.
|
||||||
endchoice
|
|
||||||
|
endchoice # Source Clock
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT2_DIVINT
|
config RP2040_CLK_GPOUT2_DIVINT
|
||||||
int "Divisor (Integer)"
|
int "Divisor (Integer)"
|
||||||
|
|
@ -834,34 +836,35 @@ if RP2040_CLK_GPOUT3
|
||||||
choice
|
choice
|
||||||
prompt "Source Clock"
|
prompt "Source Clock"
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT3_SRC_REF
|
config RP2040_CLK_GPOUT3_SRC_REF
|
||||||
bool "REF (6 - 12 MHz)"
|
bool "REF (6 - 12 MHz)"
|
||||||
---help---
|
---help---
|
||||||
Reference clock that is always running unless in DORMANT mode. Runs from
|
Reference clock that is always running unless in DORMANT mode. Runs from
|
||||||
Ring Oscillator (ROSC) at power-up but can be switched to Crystal
|
Ring Oscillator (ROSC) at power-up but can be switched to Crystal
|
||||||
Oscillator (XOSC) for more accuracy.
|
Oscillator (XOSC) for more accuracy.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT3_SRC_SYS
|
config RP2040_CLK_GPOUT3_SRC_SYS
|
||||||
bool "SYS (125 MHz)"
|
bool "SYS (125 MHz)"
|
||||||
---help---
|
---help---
|
||||||
System clock that is always running unless in DORMANT mode. Runs from
|
System clock that is always running unless in DORMANT mode. Runs from
|
||||||
clk_ref at power-up but is typically switched to a PLL.
|
clk_ref at power-up but is typically switched to a PLL.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT3_SRC_USB
|
config RP2040_CLK_GPOUT3_SRC_USB
|
||||||
bool "USB (48 MHz)"
|
bool "USB (48 MHz)"
|
||||||
---help---
|
---help---
|
||||||
USB reference clock. Must be 48MHz.
|
USB reference clock. Must be 48MHz.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT3_SRC_ADC
|
config RP2040_CLK_GPOUT3_SRC_ADC
|
||||||
bool "ADC (48 MHz)"
|
bool "ADC (48 MHz)"
|
||||||
---help---
|
---help---
|
||||||
ADC reference clock. Must be 48MHz.
|
ADC reference clock. Must be 48MHz.
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT3_SRC_RTC
|
config RP2040_CLK_GPOUT3_SRC_RTC
|
||||||
bool "RTC (46875 Hz)"
|
bool "RTC (46875 Hz)"
|
||||||
---help---
|
---help---
|
||||||
RTC reference clock. The RTC divides this clock to generate a 1 second reference.
|
RTC reference clock. The RTC divides this clock to generate a 1 second reference.
|
||||||
endchoice
|
|
||||||
|
endchoice # Source Clock
|
||||||
|
|
||||||
config RP2040_CLK_GPOUT3_DIVINT
|
config RP2040_CLK_GPOUT3_DIVINT
|
||||||
int "Divisor (Integer)"
|
int "Divisor (Integer)"
|
||||||
|
|
|
||||||
|
|
@ -5534,9 +5534,9 @@ endchoice # CS0 Memory Type
|
||||||
# depends on SAMA5_EBICS0_NAND
|
# depends on SAMA5_EBICS0_NAND
|
||||||
#
|
#
|
||||||
# config SAMA5_EBICS0_ECCNONE
|
# config SAMA5_EBICS0_ECCNONE
|
||||||
# bool "No ECC"
|
# bool "No ECC"
|
||||||
# ---help---
|
# ---help---
|
||||||
# Only raw transfers to/from NAND are supported
|
# Only raw transfers to/from NAND are supported
|
||||||
#
|
#
|
||||||
# config SAMA5_EBICS0_SWECC
|
# config SAMA5_EBICS0_SWECC
|
||||||
# bool "Software ECC"
|
# bool "Software ECC"
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@
|
||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ARCH_BOARD_IMX9QM_MEK
|
if ARCH_BOARD_IMX93_EVK
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@
|
||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ARCH_BOARD_TWR_K60N512
|
if ARCH_BOARD_US7032EVB1
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,6 @@
|
||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ARCH_BOARD_ESP32H2_GENERIC
|
if ARCH_BOARD_ESP32H2_DEVKIT
|
||||||
|
|
||||||
endif # ARCH_BOARD_ESP32H2_GENERIC
|
endif # ARCH_BOARD_ESP32H2_DEVKIT
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,3 @@
|
||||||
# For a description of the syntax of this configuration file,
|
# For a description of the syntax of this configuration file,
|
||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
#
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue