Skip to content

Commit cc9e18c

Browse files
committed
[bsp]关闭config的PWM和Encoder(通过select开启的关闭不会默认取消)
1 parent f266d18 commit cc9e18c

File tree

4 files changed

+97
-163
lines changed

4 files changed

+97
-163
lines changed

bsp/stm32/stm32f103-keysking-learning/.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64
252252
# CONFIG_RT_USING_NULL is not set
253253
# CONFIG_RT_USING_ZERO is not set
254254
# CONFIG_RT_USING_RANDOM is not set
255-
CONFIG_RT_USING_PWM=y
256-
CONFIG_RT_USING_PULSE_ENCODER=y
255+
# CONFIG_RT_USING_PWM is not set
256+
# CONFIG_RT_USING_PULSE_ENCODER is not set
257257
# CONFIG_RT_USING_INPUT_CAPTURE is not set
258258
# CONFIG_RT_USING_MTD_NOR is not set
259259
# CONFIG_RT_USING_MTD_NAND is not set

bsp/stm32/stm32f103-keysking-learning/project.ewp

Lines changed: 55 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -348,30 +348,30 @@
348348
<option>
349349
<name>CCIncludePath2</name>
350350
<state />
351-
<state>$PROJ_DIR$\board</state>
352-
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
353-
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
354-
<state>$PROJ_DIR$\board\CubeMX_Config\Inc</state>
355-
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
356-
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
357-
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
358-
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
359-
<state>$PROJ_DIR$\..\libraries\HAL_Drivers</state>
360-
<state>$PROJ_DIR$\.</state>
361-
<state>$PROJ_DIR$\packages\CMSIS-Core-latest\Include</state>
362-
<state>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Inc</state>
363-
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
364-
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
365351
<state>$PROJ_DIR$\applications</state>
352+
<state>$PROJ_DIR$\packages\CMSIS-Core-latest\Include</state>
353+
<state>$PROJ_DIR$\..\..\..\include</state>
354+
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
366355
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\drivers</state>
356+
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
357+
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\drivers\config</state>
358+
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
359+
<state>$PROJ_DIR$\board\CubeMX_Config\Inc</state>
360+
<state>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Inc</state>
361+
<state>$PROJ_DIR$\.</state>
362+
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
363+
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
364+
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
367365
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
368-
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
369-
<state>$PROJ_DIR$\..\..\..\include</state>
366+
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
367+
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
368+
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
369+
<state>$PROJ_DIR$\packages\stm32f1_cmsis_driver-latest\Include</state>
370370
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
371-
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
371+
<state>$PROJ_DIR$\board</state>
372+
<state>$PROJ_DIR$\..\libraries\HAL_Drivers</state>
373+
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
372374
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
373-
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\drivers\config</state>
374-
<state>$PROJ_DIR$\packages\stm32f1_cmsis_driver-latest\Include</state>
375375
</option>
376376
<option>
377377
<name>CCStdIncCheck</name>
@@ -1394,30 +1394,30 @@
13941394
<option>
13951395
<name>CCIncludePath2</name>
13961396
<state />
1397-
<state>$PROJ_DIR$\board</state>
1398-
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
1399-
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
1400-
<state>$PROJ_DIR$\board\CubeMX_Config\Inc</state>
1401-
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
1402-
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
1403-
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
1404-
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
1405-
<state>$PROJ_DIR$\..\libraries\HAL_Drivers</state>
1406-
<state>$PROJ_DIR$\.</state>
1407-
<state>$PROJ_DIR$\packages\CMSIS-Core-latest\Include</state>
1408-
<state>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Inc</state>
1409-
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
1410-
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
14111397
<state>$PROJ_DIR$\applications</state>
1398+
<state>$PROJ_DIR$\packages\CMSIS-Core-latest\Include</state>
1399+
<state>$PROJ_DIR$\..\..\..\include</state>
1400+
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
14121401
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\drivers</state>
1402+
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
1403+
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\drivers\config</state>
1404+
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
1405+
<state>$PROJ_DIR$\board\CubeMX_Config\Inc</state>
1406+
<state>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Inc</state>
1407+
<state>$PROJ_DIR$\.</state>
1408+
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
1409+
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
1410+
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
14131411
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
1414-
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
1415-
<state>$PROJ_DIR$\..\..\..\include</state>
1412+
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
1413+
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
1414+
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
1415+
<state>$PROJ_DIR$\packages\stm32f1_cmsis_driver-latest\Include</state>
14161416
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
1417-
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
1417+
<state>$PROJ_DIR$\board</state>
1418+
<state>$PROJ_DIR$\..\libraries\HAL_Drivers</state>
1419+
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
14181420
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
1419-
<state>$PROJ_DIR$\..\libraries\HAL_Drivers\drivers\config</state>
1420-
<state>$PROJ_DIR$\packages\stm32f1_cmsis_driver-latest\Include</state>
14211421
</option>
14221422
<option>
14231423
<name>CCStdIncCheck</name>
@@ -2181,12 +2181,6 @@
21812181
<file>
21822182
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c</name>
21832183
</file>
2184-
<file>
2185-
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\pulse_encoder.c</name>
2186-
</file>
2187-
<file>
2188-
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\rt_drv_pwm.c</name>
2189-
</file>
21902184
<file>
21912185
<name>$PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c</name>
21922186
</file>
@@ -2215,16 +2209,16 @@
22152209
<group>
22162210
<name>Finsh</name>
22172211
<file>
2218-
<name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
2212+
<name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
22192213
</file>
22202214
<file>
22212215
<name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
22222216
</file>
22232217
<file>
2224-
<name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
2218+
<name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
22252219
</file>
22262220
<file>
2227-
<name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
2221+
<name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
22282222
</file>
22292223
</group>
22302224
<group>
@@ -2278,16 +2272,16 @@
22782272
<group>
22792273
<name>klibc</name>
22802274
<file>
2281-
<name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
2275+
<name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
22822276
</file>
22832277
<file>
2284-
<name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
2278+
<name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
22852279
</file>
22862280
<file>
2287-
<name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
2281+
<name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
22882282
</file>
22892283
<file>
2290-
<name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
2284+
<name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
22912285
</file>
22922286
<file>
22932287
<name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
@@ -2326,46 +2320,40 @@
23262320
<group>
23272321
<name>STM32F1-HAL</name>
23282322
<file>
2329-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_rcc_ex.c</name>
2323+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_dma.c</name>
23302324
</file>
23312325
<file>
2332-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal.c</name>
2326+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_rcc.c</name>
23332327
</file>
23342328
<file>
2335-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_gpio_ex.c</name>
2329+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_gpio.c</name>
23362330
</file>
23372331
<file>
23382332
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_usart.c</name>
23392333
</file>
23402334
<file>
2341-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_tim.c</name>
2342-
</file>
2343-
<file>
2344-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_tim_ex.c</name>
2335+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_crc.c</name>
23452336
</file>
23462337
<file>
23472338
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_uart.c</name>
23482339
</file>
23492340
<file>
2350-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_gpio.c</name>
2351-
</file>
2352-
<file>
2353-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_cortex.c</name>
2341+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal.c</name>
23542342
</file>
23552343
<file>
2356-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_rcc.c</name>
2344+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_pwr.c</name>
23572345
</file>
23582346
<file>
2359-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_crc.c</name>
2347+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_cec.c</name>
23602348
</file>
23612349
<file>
2362-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_cec.c</name>
2350+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_rcc_ex.c</name>
23632351
</file>
23642352
<file>
2365-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_dma.c</name>
2353+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_cortex.c</name>
23662354
</file>
23672355
<file>
2368-
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_pwr.c</name>
2356+
<name>$PROJ_DIR$\packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_gpio_ex.c</name>
23692357
</file>
23702358
</group>
23712359
<group>

0 commit comments

Comments
 (0)