You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/03/21 14:28:55 UTC
(nuttx) branch master updated: Fix Kconfig style
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new ac2021b906 Fix Kconfig style
ac2021b906 is described below
commit ac2021b906f72b89ebe7a1431cc049dbcd5ba662
Author: simbit18 <10...@users.noreply.github.com>
AuthorDate: Thu Mar 21 12:19:15 2024 +0100
Fix Kconfig style
Replace help => ---help---
Remove spaces from Kconfig
Add comments
---
arch/xtensa/src/esp32/Kconfig | 29 +++++++++++++++--------------
boards/arm/xmc4/xmc4800-relax/Kconfig | 9 +++++----
2 files changed, 20 insertions(+), 18 deletions(-)
diff --git a/arch/xtensa/src/esp32/Kconfig b/arch/xtensa/src/esp32/Kconfig
index 49a3b81f29..b3ec5ffb4e 100644
--- a/arch/xtensa/src/esp32/Kconfig
+++ b/arch/xtensa/src/esp32/Kconfig
@@ -252,20 +252,21 @@ config ESP32_OPENETH
Disable this if you are using the real device.
if ESP32_OPENETH
- config ESP32_OPENETH_DMA_RX_BUFFER_NUM
- int "Number of Ethernet DMA Rx buffers"
- range 1 64
- default 4
- help
- Number of DMA receive buffers, each buffer is 1600 bytes.
-
- config ESP32_OPENETH_DMA_TX_BUFFER_NUM
- int "Number of Ethernet DMA Tx buffers"
- range 1 64
- default 1
- help
- Number of DMA transmit buffers, each buffer is 1600 bytes.
-endif
+config ESP32_OPENETH_DMA_RX_BUFFER_NUM
+ int "Number of Ethernet DMA Rx buffers"
+ range 1 64
+ default 4
+ ---help---
+ Number of DMA receive buffers, each buffer is 1600 bytes.
+
+config ESP32_OPENETH_DMA_TX_BUFFER_NUM
+ int "Number of Ethernet DMA Tx buffers"
+ range 1 64
+ default 1
+ ---help---
+ Number of DMA transmit buffers, each buffer is 1600 bytes.
+
+endif # ESP32_OPENETH
config ESP32_I2C
bool
diff --git a/boards/arm/xmc4/xmc4800-relax/Kconfig b/boards/arm/xmc4/xmc4800-relax/Kconfig
index 4509e31a85..9ca6934085 100644
--- a/boards/arm/xmc4/xmc4800-relax/Kconfig
+++ b/boards/arm/xmc4/xmc4800-relax/Kconfig
@@ -6,8 +6,9 @@
if ARCH_BOARD_XMC4800RELAX
config ECAT
- bool "Enable EtherCAT interface"
- default y
- ---help---
- Enable start up of the EtherCAT interface and configure ports.
+ bool "Enable EtherCAT interface"
+ default y
+ ---help---
+ Enable start up of the EtherCAT interface and configure ports.
+
endif