From ac2021b906f72b89ebe7a1431cc049dbcd5ba662 Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Thu, 21 Mar 2024 12:19:15 +0100 Subject: [PATCH] Fix Kconfig style Replace help => ---help--- Remove spaces from Kconfig Add comments --- arch/xtensa/src/esp32/Kconfig | 27 ++++++++++++++------------- boards/arm/xmc4/xmc4800-relax/Kconfig | 9 +++++---- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/arch/xtensa/src/esp32/Kconfig b/arch/xtensa/src/esp32/Kconfig index 49a3b81f294..b3ec5ffb4e4 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_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_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 4509e31a85a..9ca69340854 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