Skip to content

Commit 816a714

Browse files
committed
fix some format issues;
1 parent e861463 commit 816a714

File tree

5 files changed

+5
-94
lines changed

5 files changed

+5
-94
lines changed

bsp/stm32/stm32f410-st-nucleo/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
![board](figures/board.png)
2222

23-
该开发板常用 ** 板载资源 ** 如下:
23+
该开发板常用 **板载资源** 如下:
2424

2525
- MCU:STM32F410RBT6,主频 84MHz,128KB FLASH ,32KB RAM。
2626
- 常用外设
@@ -91,7 +91,7 @@ msh >
9191

9292
4. 输入 `scons --target=mdk4/mdk5/iar` 命令重新生成工程。
9393

94-
本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32 系列 BSP 外设驱动使用教程. md)。
94+
本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)
9595

9696
## 注意事项
9797

bsp/stm32/stm32f410-st-nucleo/board/Kconfig

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -42,95 +42,6 @@ menu "On-chip Peripheral Drivers"
4242
default n
4343

4444
endif
45-
46-
menuconfig BSP_USING_I2C1
47-
bool "Enable I2C1 BUS (software simulation)"
48-
default n
49-
select RT_USING_I2C
50-
select RT_USING_I2C_BITOPS
51-
select RT_USING_PIN
52-
if BSP_USING_I2C1
53-
comment "Notice: PB8 --> 24; PB9 --> 25"
54-
config BSP_I2C1_SCL_PIN
55-
int "i2c1 scl pin number"
56-
range 0 80
57-
default 24
58-
config BSP_I2C1_SDA_PIN
59-
int "I2C1 sda pin number"
60-
range 0 80
61-
default 25
62-
endif
63-
64-
menuconfig BSP_USING_SPI
65-
bool "Enable SPI BUS"
66-
default n
67-
select RT_USING_SPI
68-
if BSP_USING_SPI
69-
config BSP_USING_SPI1
70-
bool "Enable SPI1 BUS"
71-
default n
72-
73-
config BSP_SPI1_TX_USING_DMA
74-
bool "Enable SPI1 TX DMA"
75-
depends on BSP_USING_SPI1
76-
default n
77-
78-
config BSP_SPI1_RX_USING_DMA
79-
bool "Enable SPI1 RX DMA"
80-
depends on BSP_USING_SPI1
81-
select BSP_SPI1_TX_USING_DMA
82-
default n
83-
endif
84-
85-
menuconfig BSP_USING_PWM
86-
bool "Enable pwm"
87-
default n
88-
select RT_USING_PWM
89-
if BSP_USING_PWM
90-
menuconfig BSP_USING_PWM3
91-
bool "Enable timer3 output pwm"
92-
default n
93-
if BSP_USING_PWM3
94-
config BSP_USING_PWM3_CH1
95-
bool "Enable PWM3 channel1 (PA6)"
96-
default n
97-
98-
config BSP_USING_PWM3_CH2
99-
bool "Enable PWM3 channel2 (PA7)"
100-
default n
101-
102-
config BSP_USING_PWM3_CH3
103-
bool "Enable PWM3 channel3 (PB0)"
104-
default n
105-
106-
config BSP_USING_PWM3_CH4
107-
bool "Enable PWM3 channel4 (PB1)"
108-
default n
109-
endif
110-
endif
111-
112-
menuconfig BSP_USING_ONCHIP_RTC
113-
bool "Enable RTC"
114-
select RT_USING_RTC
115-
select RT_USING_LIBC
116-
default n
117-
if BSP_USING_ONCHIP_RTC
118-
choice
119-
prompt "Select clock source"
120-
default BSP_RTC_USING_LSE
121-
122-
config BSP_RTC_USING_LSE
123-
bool "RTC USING LSE"
124-
125-
config BSP_RTC_USING_LSI
126-
bool "RTC USING LSI"
127-
endchoice
128-
endif
129-
130-
config BSP_USING_ON_CHIP_FLASH
131-
bool "Enable on-chip FLASH"
132-
default n
133-
source "../libraries/HAL_Drivers/Kconfig"
13445

13546
endmenu
13647

bsp/stm32/stm32f410-st-nucleo/board/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ elif rtconfig.CROSS_TOOL == 'iar':
3434
CPPDEFINES = ['STM32F410Rx']
3535
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
3636

37-
Return('group')
37+
Return('group')

bsp/stm32/stm32f410-st-nucleo/board/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2020-03-07 tanglj86 first version
8+
* 2020-03-07 tanglj86 first version
99
*/
1010

1111
#include "board.h"

bsp/stm32/stm32f410-st-nucleo/board/board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Change Logs:
77
* Date Author Notes
8-
* 2020-03-07 tanglj86 first version
8+
* 2020-03-07 tanglj86 first version
99
*/
1010

1111
#ifndef __BOARD_H__

0 commit comments

Comments
 (0)