Skip to content

Commit 4f985f4

Browse files
simbit18xiaoxiang781216
authored andcommitted
Fix Kconfig style
Remove spaces from Kconfig Add comments
1 parent 4c9c0c8 commit 4f985f4

File tree

4 files changed

+31
-34
lines changed

4 files changed

+31
-34
lines changed

arch/arm/src/at32/Kconfig

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ config ARCH_CHIP_AT32F435RG
6767
---help---
6868
AT32F43X 64-pin , 1024KB FLASH, 384KB SRAM
6969

70-
endchoice
70+
endchoice # AT32 Chip Selection
7171

7272
choice
7373
prompt "Override Flash Size Designator"
@@ -95,8 +95,6 @@ choice
9595
'M', if a variant of the part with a 4032 KiB Flash is released
9696
in the future one could simply select the 'M' designator here.
9797

98-
99-
10098
config AT32_FLASH_CONFIG_DEFAULT
10199
bool "Default"
102100

@@ -121,7 +119,7 @@ config AT32_FLASH_CONFIG_I
121119
config AT32_FLASH_CONFIG_M
122120
bool "M 4032KiB"
123121

124-
endchoice
122+
endchoice # Override Flash Size Designator
125123

126124
config AT32_AT32F43XX
127125
bool
@@ -140,7 +138,6 @@ config AT32_AT32F43XX
140138
select AT32_HAVE_IP_DMA_V1
141139
select AT32_HAVE_DMAMUX
142140

143-
144141
config AT32_AT32F435
145142
bool
146143
default n
@@ -149,7 +146,7 @@ config AT32_AT32F435
149146
select AT32_HAVE_UART4
150147
select AT32_HAVE_UART5
151148
select AT32_HAVE_UART7
152-
select AT32_HAVE_UART8
149+
select AT32_HAVE_UART8
153150
select AT32_HAVE_USART6
154151
select AT32_HAVE_TIM1
155152
select AT32_HAVE_TIM3
@@ -164,7 +161,7 @@ config AT32_AT32F435
164161
select AT32_HAVE_TIM12
165162
select AT32_HAVE_TIM13
166163
select AT32_HAVE_TIM14
167-
select AT32_HAVE_TIM20
164+
select AT32_HAVE_TIM20
168165
select AT32_HAVE_ADC2
169166
select AT32_HAVE_ADC3
170167
select AT32_HAVE_CAN1
@@ -175,7 +172,7 @@ config AT32_AT32F435
175172
select AT32_HAVE_I2S3
176173
select AT32_HAVE_I2C3
177174
select AT32_HAVE_OTGFS
178-
select AT32_HAVE_OTGFS2
175+
select AT32_HAVE_OTGFS2
179176

180177
config AT32_AT32F437
181178
bool
@@ -201,7 +198,7 @@ config AT32_AT32F437
201198
select AT32_HAVE_TIM12
202199
select AT32_HAVE_TIM13
203200
select AT32_HAVE_TIM14
204-
select AT32_HAVE_TIM20
201+
select AT32_HAVE_TIM20
205202
select AT32_HAVE_ADC2
206203
select AT32_HAVE_ADC3
207204
select AT32_HAVE_CAN1
@@ -6089,7 +6086,7 @@ config USART1_RS485_DIR_POLARITY
60896086
config USART1_RXDMA
60906087
bool "USART1 Rx DMA"
60916088
default n
6092-
depends on AT32_DMA1 || AT32_DMA2
6089+
depends on AT32_DMA1 || AT32_DMA2
60936090
select AT32_USART_RXDMA
60946091
---help---
60956092
In high data rate usage, Rx DMA may eliminate Rx overrun errors
@@ -7059,7 +7056,7 @@ menu "RTC Configuration"
70597056
config AT32_RTC_MAGIC_REG
70607057
int "BKP register"
70617058
default 0
7062-
range 0 19
7059+
range 0 19
70637060
depends on !AT32_HAVE_RTC_COUNTER
70647061
---help---
70657062
The BKP register used to store/check the Magic value to determine if

arch/xtensa/src/esp32s3/Kconfig

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,67 +1745,67 @@ config ESP32S3_LCD_HE_PIN
17451745
default 17
17461746

17471747
config ESP32S3_LCD_DATA0_PIN
1748-
int "LCD Parallel Output Data Bit-0 Pin"
1748+
int "LCD Parallel Output Data Bit-0 Pin"
17491749
default 10
17501750

17511751
config ESP32S3_LCD_DATA1_PIN
1752-
int "LCD Parallel Output Data Bit-1 Pin"
1752+
int "LCD Parallel Output Data Bit-1 Pin"
17531753
default 11
17541754

17551755
config ESP32S3_LCD_DATA2_PIN
1756-
int "LCD Parallel Output Data Bit-2 Pin"
1756+
int "LCD Parallel Output Data Bit-2 Pin"
17571757
default 12
17581758

17591759
config ESP32S3_LCD_DATA3_PIN
1760-
int "LCD Parallel Output Data Bit-3 Pin"
1760+
int "LCD Parallel Output Data Bit-3 Pin"
17611761
default 13
17621762

17631763
config ESP32S3_LCD_DATA4_PIN
1764-
int "LCD Parallel Output Data Bit-4 Pin"
1764+
int "LCD Parallel Output Data Bit-4 Pin"
17651765
default 14
17661766

17671767
config ESP32S3_LCD_DATA5_PIN
1768-
int "LCD Parallel Output Data Bit-5 Pin"
1768+
int "LCD Parallel Output Data Bit-5 Pin"
17691769
default 21
17701770

17711771
config ESP32S3_LCD_DATA6_PIN
1772-
int "LCD Parallel Output Data Bit-6 Pin"
1772+
int "LCD Parallel Output Data Bit-6 Pin"
17731773
default 47
17741774

17751775
config ESP32S3_LCD_DATA7_PIN
1776-
int "LCD Parallel Output Data Bit-7 Pin"
1776+
int "LCD Parallel Output Data Bit-7 Pin"
17771777
default 48
17781778

17791779
config ESP32S3_LCD_DATA8_PIN
1780-
int "LCD Parallel Output Data Bit-8 Pin"
1780+
int "LCD Parallel Output Data Bit-8 Pin"
17811781
default 45
17821782

17831783
config ESP32S3_LCD_DATA9_PIN
1784-
int "LCD Parallel Output Data Bit-9 Pin"
1784+
int "LCD Parallel Output Data Bit-9 Pin"
17851785
default 38
17861786

17871787
config ESP32S3_LCD_DATA10_PIN
1788-
int "LCD Parallel Output Data Bit-10 Pin"
1788+
int "LCD Parallel Output Data Bit-10 Pin"
17891789
default 39
17901790

17911791
config ESP32S3_LCD_DATA11_PIN
1792-
int "LCD Parallel Output Data Bit-11 Pin"
1792+
int "LCD Parallel Output Data Bit-11 Pin"
17931793
default 40
17941794

17951795
config ESP32S3_LCD_DATA12_PIN
1796-
int "LCD Parallel Output Data Bit-12 Pin"
1796+
int "LCD Parallel Output Data Bit-12 Pin"
17971797
default 41
17981798

17991799
config ESP32S3_LCD_DATA13_PIN
1800-
int "LCD Parallel Output Data Bit-13 Pin"
1800+
int "LCD Parallel Output Data Bit-13 Pin"
18011801
default 42
18021802

18031803
config ESP32S3_LCD_DATA14_PIN
1804-
int "LCD Parallel Output Data Bit-14 Pin"
1804+
int "LCD Parallel Output Data Bit-14 Pin"
18051805
default 2
18061806

18071807
config ESP32S3_LCD_DATA15_PIN
1808-
int "LCD Parallel Output Data Bit-15 Pin"
1808+
int "LCD Parallel Output Data Bit-15 Pin"
18091809
default 1
18101810

18111811
endmenu

boards/arm/stm32f7/stm32f777zit6-meadow/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ config MEADOW_PWR_MGMT_SUPPORT
6464
default n
6565

6666
choice
67-
prompt "Select Main Board Model"
68-
default BOARD_MEADOW_F7MICRO_DEFAULT
69-
---help---
70-
Select the mainboard model
67+
prompt "Select Main Board Model"
68+
default BOARD_MEADOW_F7MICRO_DEFAULT
69+
---help---
70+
Select the mainboard model
7171

7272
config BOARD_MEADOW_F7MICRO_DEFAULT
7373
bool "Meadow F7 Micro Default"
@@ -92,6 +92,6 @@ config BOARD_MEADOW_F7_CORE_COMPUTE
9292
The F7 Core Compute is a modular mainboard with basic
9393
features of F7-Micro, but with SDCard and Dual Ethernet.
9494

95-
endchoice # "Main Board Model"
95+
endchoice # Select Main Board Model
9696

9797
endif # ARCH_BOARD_MEADOW_F7MICRO

boards/arm/tiva/tm4c123g-launchpad/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ config TM4C123G_LAUNCHPAD_AT24_BLOCKMOUNT
1818
- VCC -- VCC
1919
- GND -- GND
2020
- PB2 -- SCL
21-
- PB3 -- SDA
21+
- PB3 -- SDA
2222

2323
choice
2424
prompt "AT24 serial EPPROM configuration"
@@ -75,4 +75,4 @@ config TM4C123G_LAUNCHPAD_CAN0TX_PE5
7575

7676
endchoice # CAN0 TX pin selection
7777

78-
endif
78+
endif # ARCH_BOARD_TM4C123G_LAUNCHPAD

0 commit comments

Comments
 (0)