File tree Expand file tree Collapse file tree 3 files changed +26
-26
lines changed
bsp/stm32/stm32f413-st-nucleo Expand file tree Collapse file tree 3 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 3737
3838| ** 板载外设** | ** 支持情况** | ** 备注** |
3939| :------------ | :----------: | :-----------------------------------: |
40- | STLINK TO USART| 支持 | UART3 |
40+ | STLINK TO USART| 支持 | UART3 |
4141
4242| ** 片上外设** | ** 支持情况** | ** 备注** |
4343| :------------ | :----------: | :-----------------------------------: |
44- | GPIO | 支持 | |
45- | UART | 支持 | UART2/3 |
46- | SPI | 支持 | SPI2 |
47- | I2C | 支持 | I2C1(软件模拟) |
48- | TIMER | 支持 | TIM11/13/14 |
49- | PWM | 支持 | PWM2_CH4 |
50- | ADC | 支持 | ADC1_IN5 |
51- | RTC | 支持 | 支持外部晶振和内部低速时钟 |
52- | WDT | 支持 | 独立看门狗 |
53- | Onchip Flash | 支持 | 片上Flash |
54- | USB OTG_FS | 支持 | OTGFS as USB device |
55- | Onchip Flash | 支持 | 片上Flash |
56- | USB Device | 支持 | OTGFS as USB device |
57- | RNG | 支持 | Random Number Generator |
58- | UDID | 支持 | Unique Device Identifier |
44+ | GPIO | 支持 | |
45+ | UART | 支持 | UART2/3 |
46+ | SPI | 支持 | SPI2 |
47+ | I2C | 支持 | I2C1(软件模拟) |
48+ | TIMER | 支持 | TIM11/13/14 |
49+ | PWM | 支持 | PWM2_CH4 |
50+ | ADC | 支持 | ADC1_IN5 |
51+ | RTC | 支持 | 支持外部晶振和内部低速时钟 |
52+ | WDT | 支持 | 独立看门狗 |
53+ | Onchip Flash | 支持 | 片上Flash |
54+ | USB OTG_FS | 支持 | OTGFS as USB device |
55+ | Onchip Flash | 支持 | 片上Flash |
56+ | USB Device | 支持 | OTGFS as USB device |
57+ | RNG | 支持 | Random Number Generator |
58+ | UDID | 支持 | Unique Device Identifier |
5959
6060## 使用说明
6161
Original file line number Diff line number Diff line change 2424int main (void )
2525{
2626 int count = 1 ;
27- /* set LED1 pin mode to output */
27+ /* set LED1 pin mode to output */
2828 rt_pin_mode (LED1_PIN , PIN_MODE_OUTPUT );
2929
3030 while (count ++ )
3131 {
32- rt_pin_write (LED1_PIN , PIN_HIGH );
33- rt_thread_mdelay (500 );
34- rt_pin_write (LED1_PIN , PIN_LOW );
32+ rt_pin_write (LED1_PIN , PIN_HIGH );
33+ rt_thread_mdelay (500 );
34+ rt_pin_write (LED1_PIN , PIN_LOW );
3535 }
3636
3737 return RT_EOK ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ menu "On-chip Peripheral Drivers"
3535 bool "Enable UART2 RX DMA"
3636 depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
3737 default n
38-
38+
3939 config BSP_USING_UART3
4040 bool "Enable UART3"
4141 default y
@@ -44,8 +44,8 @@ menu "On-chip Peripheral Drivers"
4444 depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
4545 default n
4646 endif
47-
48- menuconfig BSP_USING_SPI
47+
48+ menuconfig BSP_USING_SPI
4949 bool "Enable SPI BUS"
5050 default n
5151 select RT_USING_SPI
@@ -84,8 +84,8 @@ menu "On-chip Peripheral Drivers"
8484 range 1 144
8585 default 140
8686 endif
87-
88- menuconfig BSP_USING_TIM
87+
88+ menuconfig BSP_USING_TIM
8989 bool "Enable timer"
9090 default n
9191 select RT_USING_HWTIMER
@@ -150,7 +150,7 @@ menu "On-chip Peripheral Drivers"
150150 bool "Enable Watchdog Timer"
151151 select RT_USING_WDT
152152 default n
153-
153+
154154 config BSP_USING_ON_CHIP_FLASH
155155 bool "Enable on-chip FLASH"
156156 default n
You can’t perform that action at this time.
0 commit comments