mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
nuttx: use TABs instead of spaces in Kconfig files
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
c4cf1eeb2b
commit
bd7cb522a1
@@ -116,7 +116,6 @@ config GD32F4_GD32F4XX
|
|||||||
select GD32F4_HAVE_OVERDRIVE
|
select GD32F4_HAVE_OVERDRIVE
|
||||||
select GD32F4_HAVE_EXMC
|
select GD32F4_HAVE_EXMC
|
||||||
|
|
||||||
|
|
||||||
config GD32F4_GD32F405
|
config GD32F4_GD32F405
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ config RP2040_UF2_BINARY
|
|||||||
|
|
||||||
if RP2040_UART0
|
if RP2040_UART0
|
||||||
|
|
||||||
config RP2040_UART0_TX_GPIO
|
config RP2040_UART0_TX_GPIO
|
||||||
int "GPIO pin for UART0 TX (0, 12, 16, or 28)"
|
int "GPIO pin for UART0 TX (0, 12, 16, or 28)"
|
||||||
default 0
|
default 0
|
||||||
range 0 28
|
range 0 28
|
||||||
@@ -44,7 +44,7 @@ if RP2040_UART0
|
|||||||
from the RP2040. Refer to board documentation to see
|
from the RP2040. Refer to board documentation to see
|
||||||
which pins are available.
|
which pins are available.
|
||||||
|
|
||||||
config RP2040_UART0_RX_GPIO
|
config RP2040_UART0_RX_GPIO
|
||||||
int "GPIO pin for UART0 RX (1, 13, 17, or 29)"
|
int "GPIO pin for UART0 RX (1, 13, 17, or 29)"
|
||||||
default 1
|
default 1
|
||||||
range 1 29
|
range 1 29
|
||||||
@@ -53,9 +53,9 @@ if RP2040_UART0
|
|||||||
RP2040. Refer to board documentation to see which pins
|
RP2040. Refer to board documentation to see which pins
|
||||||
are available.
|
are available.
|
||||||
|
|
||||||
if SERIAL_IFLOWCONTROL
|
if SERIAL_IFLOWCONTROL
|
||||||
|
|
||||||
config RP2040_UART0_CTS_GPIO
|
config RP2040_UART0_CTS_GPIO
|
||||||
int "GPIO pin for UART0 CTS (2, 14, or 18)"
|
int "GPIO pin for UART0 CTS (2, 14, or 18)"
|
||||||
default 2
|
default 2
|
||||||
range 2 18
|
range 2 18
|
||||||
@@ -65,11 +65,11 @@ if RP2040_UART0
|
|||||||
the UART is able to receive another character. Refer to board
|
the UART is able to receive another character. Refer to board
|
||||||
documentation to see which pins are available.
|
documentation to see which pins are available.
|
||||||
|
|
||||||
endif # SERIAL_IFLOWCONTROL
|
endif # SERIAL_IFLOWCONTROL
|
||||||
|
|
||||||
if SERIAL_OFLOWCONTROL
|
if SERIAL_OFLOWCONTROL
|
||||||
|
|
||||||
config RP2040_UART0_RTS_GPIO
|
config RP2040_UART0_RTS_GPIO
|
||||||
int "GPIO pin for UART0 RTS (3, 15, or 19)"
|
int "GPIO pin for UART0 RTS (3, 15, or 19)"
|
||||||
default 3
|
default 3
|
||||||
range 2 19
|
range 2 19
|
||||||
@@ -80,7 +80,7 @@ if RP2040_UART0
|
|||||||
transmitted. Refer to board documentation to see which
|
transmitted. Refer to board documentation to see which
|
||||||
pins are available.
|
pins are available.
|
||||||
|
|
||||||
endif # SERIAL_OFLOWCONTROL
|
endif # SERIAL_OFLOWCONTROL
|
||||||
|
|
||||||
endif # RP2040_UART0
|
endif # RP2040_UART0
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@ endif # RP2040_UART0
|
|||||||
|
|
||||||
if RP2040_UART1
|
if RP2040_UART1
|
||||||
|
|
||||||
config RP2040_UART1_TX_GPIO
|
config RP2040_UART1_TX_GPIO
|
||||||
int "GPIO pin for UART1 TX (4, 8, 20, or 24)"
|
int "GPIO pin for UART1 TX (4, 8, 20, or 24)"
|
||||||
default 20
|
default 20
|
||||||
range 4 24
|
range 4 24
|
||||||
@@ -96,7 +96,7 @@ if RP2040_UART1
|
|||||||
RP2040 UART1 TX pin number. Refer to board documentation
|
RP2040 UART1 TX pin number. Refer to board documentation
|
||||||
to see which pins are available.
|
to see which pins are available.
|
||||||
|
|
||||||
config RP2040_UART1_RX_GPIO
|
config RP2040_UART1_RX_GPIO
|
||||||
int "GPIO pin for UART1 RX (5, 9, 21, or 25)"
|
int "GPIO pin for UART1 RX (5, 9, 21, or 25)"
|
||||||
default 21
|
default 21
|
||||||
range 5 25
|
range 5 25
|
||||||
@@ -104,9 +104,9 @@ if RP2040_UART1
|
|||||||
RP2040 UART1 RX pin number. Refer to board documentation
|
RP2040 UART1 RX pin number. Refer to board documentation
|
||||||
to see which pins are available.
|
to see which pins are available.
|
||||||
|
|
||||||
if SERIAL_IFLOWCONTROL
|
if SERIAL_IFLOWCONTROL
|
||||||
|
|
||||||
config RP2040_UART1_CTS_GPIO
|
config RP2040_UART1_CTS_GPIO
|
||||||
int "GPIO pin for UART1 CTS (6, 10, 22, or 26)"
|
int "GPIO pin for UART1 CTS (6, 10, 22, or 26)"
|
||||||
default 22
|
default 22
|
||||||
range 6 26
|
range 6 26
|
||||||
@@ -116,11 +116,11 @@ if RP2040_UART1
|
|||||||
the UART is able to receive another character. Refer to board
|
the UART is able to receive another character. Refer to board
|
||||||
documentation to see which pins are available.
|
documentation to see which pins are available.
|
||||||
|
|
||||||
endif # SERIAL_IFLOWCONTROL
|
endif # SERIAL_IFLOWCONTROL
|
||||||
|
|
||||||
if SERIAL_OFLOWCONTROL
|
if SERIAL_OFLOWCONTROL
|
||||||
|
|
||||||
config RP2040_UART1_RTS_GPIO
|
config RP2040_UART1_RTS_GPIO
|
||||||
int "GPIO pin for UART1 RTS (7, 11, 23, or 27)"
|
int "GPIO pin for UART1 RTS (7, 11, 23, or 27)"
|
||||||
default 23
|
default 23
|
||||||
range 7 27
|
range 7 27
|
||||||
@@ -131,7 +131,7 @@ if RP2040_UART1
|
|||||||
transmitted. Refer to board documentation to see which
|
transmitted. Refer to board documentation to see which
|
||||||
pins are available.
|
pins are available.
|
||||||
|
|
||||||
endif # SERIAL_OFLOWCONTROL
|
endif # SERIAL_OFLOWCONTROL
|
||||||
|
|
||||||
endif # RP2040_UART1
|
endif # RP2040_UART1
|
||||||
|
|
||||||
@@ -141,7 +141,7 @@ endif # RP2040_UART1
|
|||||||
|
|
||||||
if RP2040_SPI0
|
if RP2040_SPI0
|
||||||
|
|
||||||
config RP2040_SPI0_RX_GPIO
|
config RP2040_SPI0_RX_GPIO
|
||||||
int "GPIO pin for SPI0 RX (0, 4, 16, or 20)"
|
int "GPIO pin for SPI0 RX (0, 4, 16, or 20)"
|
||||||
default 16
|
default 16
|
||||||
range 0 20
|
range 0 20
|
||||||
@@ -150,7 +150,7 @@ if RP2040_SPI0
|
|||||||
This line is also known as MISO when we are configured in
|
This line is also known as MISO when we are configured in
|
||||||
SPI master mode.
|
SPI master mode.
|
||||||
|
|
||||||
config RP2040_SPI0_CS_GPIO
|
config RP2040_SPI0_CS_GPIO
|
||||||
int "GPIO pin for SPI0 CSn (1, 5, 17, or 21)"
|
int "GPIO pin for SPI0 CSn (1, 5, 17, or 21)"
|
||||||
default 17
|
default 17
|
||||||
range 1 21
|
range 1 21
|
||||||
@@ -158,14 +158,14 @@ if RP2040_SPI0
|
|||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
|
|
||||||
config RP2040_SPI0_SCK_GPIO
|
config RP2040_SPI0_SCK_GPIO
|
||||||
int "GPIO pin for SPI0 SCK (2, 6, 18, or 22)"
|
int "GPIO pin for SPI0 SCK (2, 6, 18, or 22)"
|
||||||
default 18
|
default 18
|
||||||
range 2 22
|
range 2 22
|
||||||
---help---
|
---help---
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
config RP2040_SPI0_TX_GPIO
|
config RP2040_SPI0_TX_GPIO
|
||||||
int "GPIO pin for SPI0 TX (3, 7, 19, or 23)"
|
int "GPIO pin for SPI0 TX (3, 7, 19, or 23)"
|
||||||
default 19
|
default 19
|
||||||
range 3 23
|
range 3 23
|
||||||
@@ -180,7 +180,7 @@ endif # RP2040_SPI0
|
|||||||
|
|
||||||
if RP2040_SPI1
|
if RP2040_SPI1
|
||||||
|
|
||||||
config RP2040_SPI1_RX_GPIO
|
config RP2040_SPI1_RX_GPIO
|
||||||
int "GPIO pin for SPI1 RX (8, 12, 24, or 28)"
|
int "GPIO pin for SPI1 RX (8, 12, 24, or 28)"
|
||||||
default 8
|
default 8
|
||||||
range 8 28
|
range 8 28
|
||||||
@@ -189,21 +189,21 @@ if RP2040_SPI1
|
|||||||
This line is also known as MISO when we are configured in
|
This line is also known as MISO when we are configured in
|
||||||
SPI master mode, or MOSI when slave mode is configured.
|
SPI master mode, or MOSI when slave mode is configured.
|
||||||
|
|
||||||
config RP2040_SPI1_CS_GPIO
|
config RP2040_SPI1_CS_GPIO
|
||||||
int "GPIO pin for SPI1 CSn (9, 13, 25, or 29)"
|
int "GPIO pin for SPI1 CSn (9, 13, 25, or 29)"
|
||||||
default 9
|
default 9
|
||||||
range 9 29
|
range 9 29
|
||||||
---help---
|
---help---
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
config RP2040_SPI1_SCK_GPIO
|
config RP2040_SPI1_SCK_GPIO
|
||||||
int "GPIO pin for SPI1 SCK (10, 14, or 26)"
|
int "GPIO pin for SPI1 SCK (10, 14, or 26)"
|
||||||
default 10
|
default 10
|
||||||
range 10 26
|
range 10 26
|
||||||
---help---
|
---help---
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
config RP2040_SPI1_TX_GPIO
|
config RP2040_SPI1_TX_GPIO
|
||||||
int "GPIO pin for SPI1 TX (11, 15, or 27)"
|
int "GPIO pin for SPI1 TX (11, 15, or 27)"
|
||||||
default 11
|
default 11
|
||||||
range 11 27
|
range 11 27
|
||||||
@@ -220,14 +220,14 @@ endif # RP2040_SPI1
|
|||||||
|
|
||||||
if RP2040_I2C0 || RP2040_I2C0_SLAVE
|
if RP2040_I2C0 || RP2040_I2C0_SLAVE
|
||||||
|
|
||||||
config RP2040_I2C0_SDA_GPIO
|
config RP2040_I2C0_SDA_GPIO
|
||||||
int "GPIO pin for I2C0 SDA (0, 4, 8, 12, 16, 20, 24, or 28)"
|
int "GPIO pin for I2C0 SDA (0, 4, 8, 12, 16, 20, 24, or 28)"
|
||||||
default 4
|
default 4
|
||||||
range 0 28
|
range 0 28
|
||||||
---help---
|
---help---
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
config RP2040_I2C0_SCL_GPIO
|
config RP2040_I2C0_SCL_GPIO
|
||||||
int "GPIO pin for I2C0 SCL (1, 5, 9, 13, 17, 21, 25, or 29)"
|
int "GPIO pin for I2C0 SCL (1, 5, 9, 13, 17, 21, 25, or 29)"
|
||||||
default 5
|
default 5
|
||||||
range 1 29
|
range 1 29
|
||||||
@@ -240,14 +240,14 @@ endif # RP2040_I2C0 || RP2040_I2C0_SLAVE
|
|||||||
|
|
||||||
if RP2040_I2C1 || RP2040_I2C1_SLAVE
|
if RP2040_I2C1 || RP2040_I2C1_SLAVE
|
||||||
|
|
||||||
config RP2040_I2C1_SDA_GPIO
|
config RP2040_I2C1_SDA_GPIO
|
||||||
int "GPIO pin for I2C1 SDA (2, 6, 10, 14, 18, 22, or 26)"
|
int "GPIO pin for I2C1 SDA (2, 6, 10, 14, 18, 22, or 26)"
|
||||||
default 6
|
default 6
|
||||||
range 2 26
|
range 2 26
|
||||||
---help---
|
---help---
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
config RP2040_I2C1_SCL_GPIO
|
config RP2040_I2C1_SCL_GPIO
|
||||||
int "GPIO pin for I2C1 SCL (3, 7, 11, 15, 19, 23, or 27)"
|
int "GPIO pin for I2C1 SCL (3, 7, 11, 15, 19, 23, or 27)"
|
||||||
default 7
|
default 7
|
||||||
range 3 27
|
range 3 27
|
||||||
@@ -262,7 +262,7 @@ endif # RP2040_I2C1 || RP2040_I2C1_SLAVE
|
|||||||
|
|
||||||
if RP2040_PWM0
|
if RP2040_PWM0
|
||||||
|
|
||||||
config RP2040_PWM0A_GPIO
|
config RP2040_PWM0A_GPIO
|
||||||
int "GPIO pin for PWM0 channel 1 (0, 16 or -1:no assign)"
|
int "GPIO pin for PWM0 channel 1 (0, 16 or -1:no assign)"
|
||||||
default 0
|
default 0
|
||||||
range -1 16
|
range -1 16
|
||||||
@@ -271,9 +271,9 @@ if RP2040_PWM0
|
|||||||
either 0 or 16, any other value disables the output.
|
either 0 or 16, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
config RP2040_PWM0B_GPIO
|
config RP2040_PWM0B_GPIO
|
||||||
int "GPIO pin for PWM0 channel 2 (1, 17 or -1:no assign)"
|
int "GPIO pin for PWM0 channel 2 (1, 17 or -1:no assign)"
|
||||||
default 1
|
default 1
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -282,7 +282,7 @@ if RP2040_PWM0
|
|||||||
either 1 or 17, any other value disables the output.
|
either 1 or 17, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
endif # RP2040_PWM0
|
endif # RP2040_PWM0
|
||||||
|
|
||||||
@@ -290,7 +290,7 @@ endif # RP2040_PWM0
|
|||||||
|
|
||||||
if RP2040_PWM1
|
if RP2040_PWM1
|
||||||
|
|
||||||
config RP2040_PWM1A_GPIO
|
config RP2040_PWM1A_GPIO
|
||||||
int "GPIO pin for PWM1 channel 1 (2, 18 or -1:no assign)"
|
int "GPIO pin for PWM1 channel 1 (2, 18 or -1:no assign)"
|
||||||
default 2
|
default 2
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -299,9 +299,9 @@ if RP2040_PWM1
|
|||||||
either 2 or 18, any other value disables the output.
|
either 2 or 18, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
config RP2040_PWM1B_GPIO
|
config RP2040_PWM1B_GPIO
|
||||||
int "GPIO pin for PWM1 channel 2 (3, 19 or -1:no assign)"
|
int "GPIO pin for PWM1 channel 2 (3, 19 or -1:no assign)"
|
||||||
default 3
|
default 3
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -310,7 +310,7 @@ if RP2040_PWM1
|
|||||||
either 3 or 19, any other value disables the output.
|
either 3 or 19, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
endif # RP2040_PWM1
|
endif # RP2040_PWM1
|
||||||
|
|
||||||
@@ -318,7 +318,7 @@ endif # RP2040_PWM1
|
|||||||
|
|
||||||
if RP2040_PWM2
|
if RP2040_PWM2
|
||||||
|
|
||||||
config RP2040_PWM2A_GPIO
|
config RP2040_PWM2A_GPIO
|
||||||
int "GPIO pin for PWM2 channel 1 (4, 20 or -1:no assign)"
|
int "GPIO pin for PWM2 channel 1 (4, 20 or -1:no assign)"
|
||||||
default 4
|
default 4
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -327,9 +327,9 @@ if RP2040_PWM2
|
|||||||
either 4 or 20, any other value disables the output.
|
either 4 or 20, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
config RP2040_PWM2B_GPIO
|
config RP2040_PWM2B_GPIO
|
||||||
int "GPIO pin for PWM2 channel 2 (5, 21 or -1:no assign)"
|
int "GPIO pin for PWM2 channel 2 (5, 21 or -1:no assign)"
|
||||||
default 5
|
default 5
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -338,7 +338,7 @@ if RP2040_PWM2
|
|||||||
either 5 or 21, any other value disables the output.
|
either 5 or 21, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
endif # RP2040_PWM2
|
endif # RP2040_PWM2
|
||||||
|
|
||||||
@@ -346,8 +346,7 @@ endif # RP2040_PWM2
|
|||||||
|
|
||||||
if RP2040_PWM3
|
if RP2040_PWM3
|
||||||
|
|
||||||
config RP2040_PWM3A_GPIO
|
config RP2040_PWM3A_GPIO
|
||||||
|
|
||||||
int "GPIO pin for PWM3 channel 1 (6, 22 or -1:no assign)"
|
int "GPIO pin for PWM3 channel 1 (6, 22 or -1:no assign)"
|
||||||
default 6
|
default 6
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -356,9 +355,9 @@ if RP2040_PWM3
|
|||||||
either 6 or 22, any other value disables the output.
|
either 6 or 22, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
config RP2040_PWM3B_GPIO
|
config RP2040_PWM3B_GPIO
|
||||||
int "GPIO pin for PWM3 channel 2 (7, 23 or -1:no assign)"
|
int "GPIO pin for PWM3 channel 2 (7, 23 or -1:no assign)"
|
||||||
default 7
|
default 7
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -367,7 +366,7 @@ if RP2040_PWM3
|
|||||||
either 7 or 23, any other value disables the output.
|
either 7 or 23, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
endif # RP2040_PWM3
|
endif # RP2040_PWM3
|
||||||
|
|
||||||
@@ -375,7 +374,7 @@ endif # RP2040_PWM3
|
|||||||
|
|
||||||
if RP2040_PWM4
|
if RP2040_PWM4
|
||||||
|
|
||||||
config RP2040_PWM4A_GPIO
|
config RP2040_PWM4A_GPIO
|
||||||
int "GPIO pin for PWM4 channel 1 (8, 24 or -1:no assign)"
|
int "GPIO pin for PWM4 channel 1 (8, 24 or -1:no assign)"
|
||||||
default 8
|
default 8
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -384,9 +383,9 @@ if RP2040_PWM4
|
|||||||
either 8 or 24, any other value disables the output.
|
either 8 or 24, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
config RP2040_PWM4B_GPIO
|
config RP2040_PWM4B_GPIO
|
||||||
int "GPIO pin for PWM4 channel 2 (9, 25 or -1:no assign)"
|
int "GPIO pin for PWM4 channel 2 (9, 25 or -1:no assign)"
|
||||||
default 9
|
default 9
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -395,7 +394,7 @@ if RP2040_PWM4
|
|||||||
either 9 or 25, any other value disables the output.
|
either 9 or 25, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
endif # RP2040_PWM4
|
endif # RP2040_PWM4
|
||||||
|
|
||||||
@@ -403,7 +402,7 @@ endif # RP2040_PWM4
|
|||||||
|
|
||||||
if RP2040_PWM5
|
if RP2040_PWM5
|
||||||
|
|
||||||
config RP2040_PWM5A_GPIO
|
config RP2040_PWM5A_GPIO
|
||||||
int "GPIO pin for PWM5 channel 1 (10, 26 or -1:no assign)"
|
int "GPIO pin for PWM5 channel 1 (10, 26 or -1:no assign)"
|
||||||
default 10
|
default 10
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -412,9 +411,9 @@ if RP2040_PWM5
|
|||||||
either 10 or 26, any other value disables the output.
|
either 10 or 26, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
config RP2040_PWM5B_GPIO
|
config RP2040_PWM5B_GPIO
|
||||||
int "GPIO pin for PWM5 channel 2 (11, 27 or -1:no assign)"
|
int "GPIO pin for PWM5 channel 2 (11, 27 or -1:no assign)"
|
||||||
default 11
|
default 11
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -423,7 +422,7 @@ if RP2040_PWM5
|
|||||||
either 11 or 27, any other value disables the output.
|
either 11 or 27, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
endif # RP2040_PWM5
|
endif # RP2040_PWM5
|
||||||
|
|
||||||
@@ -431,7 +430,7 @@ endif # RP2040_PWM5
|
|||||||
|
|
||||||
if RP2040_PWM6
|
if RP2040_PWM6
|
||||||
|
|
||||||
config RP2040_PWM6A_GPIO
|
config RP2040_PWM6A_GPIO
|
||||||
int "GPIO pin for PWM6 channel 1 (12, 28 or -1:no assign)"
|
int "GPIO pin for PWM6 channel 1 (12, 28 or -1:no assign)"
|
||||||
default 12
|
default 12
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -440,9 +439,9 @@ if RP2040_PWM6
|
|||||||
either 12 or 28, any other value disables the output.
|
either 12 or 28, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
config RP2040_PWM6B_GPIO
|
config RP2040_PWM6B_GPIO
|
||||||
int "GPIO pin for PWM6 channel 2 (13, 29 or -1:no assign)"
|
int "GPIO pin for PWM6 channel 2 (13, 29 or -1:no assign)"
|
||||||
default 13
|
default 13
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -451,7 +450,7 @@ if RP2040_PWM6
|
|||||||
either 13 or 29, any other value disables the output.
|
either 13 or 29, any other value disables the output.
|
||||||
Refer to board documentation to see which pins are available.
|
Refer to board documentation to see which pins are available.
|
||||||
|
|
||||||
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
endif # RP2040_PWM6
|
endif # RP2040_PWM6
|
||||||
|
|
||||||
@@ -459,7 +458,7 @@ endif # RP2040_PWM6
|
|||||||
|
|
||||||
if RP2040_PWM7
|
if RP2040_PWM7
|
||||||
|
|
||||||
config RP2040_PWM7A_GPIO
|
config RP2040_PWM7A_GPIO
|
||||||
int "GPIO pin for PWM7 channel 1 (14 or -1:no assign)"
|
int "GPIO pin for PWM7 channel 1 (14 or -1:no assign)"
|
||||||
default 14
|
default 14
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -468,9 +467,9 @@ if RP2040_PWM7
|
|||||||
either 14, any other value disables the output.
|
either 14, any other value disables the output.
|
||||||
Refer to board documentation to see if pin 14 is available.
|
Refer to board documentation to see if pin 14 is available.
|
||||||
|
|
||||||
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
if PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
config RP2040_PWM7B_GPIO
|
config RP2040_PWM7B_GPIO
|
||||||
int "GPIO pin for PWM7 channel 2 (15 or -1:no assign)"
|
int "GPIO pin for PWM7 channel 2 (15 or -1:no assign)"
|
||||||
default 15
|
default 15
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -479,7 +478,7 @@ if RP2040_PWM7
|
|||||||
either 15, any other value disables the output.
|
either 15, any other value disables the output.
|
||||||
Refer to board documentation to see if pin 15 is available.
|
Refer to board documentation to see if pin 15 is available.
|
||||||
|
|
||||||
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
endif # PWM_MULTICHAN && PWM_NCHANNELS > 1
|
||||||
|
|
||||||
endif # RP2040_PWM7
|
endif # RP2040_PWM7
|
||||||
|
|
||||||
@@ -489,12 +488,12 @@ endif # RP2040_PWM7
|
|||||||
|
|
||||||
if RP2040_I2S
|
if RP2040_I2S
|
||||||
|
|
||||||
config RP2040_I2S_DATA
|
config RP2040_I2S_DATA
|
||||||
int "GPIO pin for I2S DATA (0-29)"
|
int "GPIO pin for I2S DATA (0-29)"
|
||||||
default 9
|
default 9
|
||||||
range 0 29
|
range 0 29
|
||||||
|
|
||||||
config RP2040_I2S_CLOCK
|
config RP2040_I2S_CLOCK
|
||||||
int "GPIO pin for I2S CLOCK (0-29)"
|
int "GPIO pin for I2S CLOCK (0-29)"
|
||||||
default 10
|
default 10
|
||||||
range 0 29
|
range 0 29
|
||||||
@@ -507,7 +506,7 @@ endif # RP2040_I2S
|
|||||||
|
|
||||||
if RP2040_BOARD_HAS_WS2812
|
if RP2040_BOARD_HAS_WS2812
|
||||||
|
|
||||||
config RP2040_WS2812_GPIO_PIN
|
config RP2040_WS2812_GPIO_PIN
|
||||||
int "GPIO pin for ws2812 data line (0-29)"
|
int "GPIO pin for ws2812 data line (0-29)"
|
||||||
default 0
|
default 0
|
||||||
range 0 29
|
range 0 29
|
||||||
@@ -515,7 +514,7 @@ if RP2040_BOARD_HAS_WS2812
|
|||||||
This is the GPIO pin used to send data to the
|
This is the GPIO pin used to send data to the
|
||||||
configured ws2812 pixels.
|
configured ws2812 pixels.
|
||||||
|
|
||||||
config RP2040_WS2812_PWR_GPIO
|
config RP2040_WS2812_PWR_GPIO
|
||||||
int "GPIO pin for ws2812 power (0-29, or -1 if not used)"
|
int "GPIO pin for ws2812 power (0-29, or -1 if not used)"
|
||||||
default -1
|
default -1
|
||||||
range -1 29
|
range -1 29
|
||||||
@@ -533,7 +532,7 @@ endif # RP2040_BOARD_HAS_WS2812
|
|||||||
|
|
||||||
if RP2040_FLASH_FILE_SYSTEM
|
if RP2040_FLASH_FILE_SYSTEM
|
||||||
|
|
||||||
config RP2040_FLASH_LENGTH
|
config RP2040_FLASH_LENGTH
|
||||||
int "Size of flash memory in bytes."
|
int "Size of flash memory in bytes."
|
||||||
default 2097152
|
default 2097152
|
||||||
---help---
|
---help---
|
||||||
@@ -547,7 +546,7 @@ endif # RP2040_FLASH_FILE_SYSTEM
|
|||||||
|
|
||||||
if LCD
|
if LCD
|
||||||
|
|
||||||
config RP2040_LCD_SPI_CH
|
config RP2040_LCD_SPI_CH
|
||||||
int "RP2040 LCD SPI channel number"
|
int "RP2040 LCD SPI channel number"
|
||||||
default 0
|
default 0
|
||||||
range 0 1
|
range 0 1
|
||||||
@@ -562,19 +561,19 @@ endif # LCD
|
|||||||
|
|
||||||
if ENC28J60
|
if ENC28J60
|
||||||
|
|
||||||
config RP2040_ENC28J60_SPI_CH
|
config RP2040_ENC28J60_SPI_CH
|
||||||
int "ENC28J60 SPI channel number"
|
int "ENC28J60 SPI channel number"
|
||||||
default 1
|
default 1
|
||||||
range 0 1
|
range 0 1
|
||||||
---help---
|
---help---
|
||||||
Select SPI channel number to use ENC28J60 ethernet.
|
Select SPI channel number to use ENC28J60 ethernet.
|
||||||
|
|
||||||
config RP2040_ENC28J60_INTR_GPIO
|
config RP2040_ENC28J60_INTR_GPIO
|
||||||
int "ENC28J60 interrupt GPIO pin assign"
|
int "ENC28J60 interrupt GPIO pin assign"
|
||||||
default -1
|
default -1
|
||||||
range -1 29
|
range -1 29
|
||||||
|
|
||||||
config RP2040_ENC28J60_RESET_GPIO
|
config RP2040_ENC28J60_RESET_GPIO
|
||||||
int "ENC28J60 reset GPIO pin assign (optional)"
|
int "ENC28J60 reset GPIO pin assign (optional)"
|
||||||
default -1
|
default -1
|
||||||
range -1 29
|
range -1 29
|
||||||
|
|||||||
Reference in New Issue
Block a user