From fe1308976ee6268d50890b4df7adecb182e309e5 Mon Sep 17 00:00:00 2001
From: kurisaw <2053731441@qq.com>
Date: Fri, 30 May 2025 15:17:19 +0800
Subject: [PATCH] version: version release preparation
---
ChangeLog.md | 88 +
bsp/CME_M7/project.uvproj | 432 +-
bsp/Vango/v85xx/project.uvprojx | 472 +-
bsp/Vango/v85xxp/project.uvprojx | 434 +-
bsp/acm32/acm32f0x0-nucleo/project.ewp | 203 +-
bsp/acm32/acm32f0x0-nucleo/project.uvprojx | 350 +-
bsp/acm32/acm32f4xx-nucleo/project.ewp | 2337 -------
bsp/acm32/acm32f4xx-nucleo/project.uvprojx | 244 +-
bsp/airm2m/air32f103/project.ewp | 127 +-
bsp/airm2m/air32f103/project.uvprojx | 176 +-
bsp/amebaz/project.ewp | 2468 -------
bsp/apm32/apm32e103ze-evalboard/project.ewp | 141 +-
.../apm32e103ze-evalboard/project.uvprojx | 226 +-
bsp/apm32/apm32e103ze-tinyboard/project.ewp | 139 +-
.../apm32e103ze-tinyboard/project.uvprojx | 192 +-
bsp/apm32/apm32f030r8-miniboard/project.ewp | 139 +-
.../apm32f030r8-miniboard/project.uvprojx | 216 +-
bsp/apm32/apm32f051r8-evalboard/project.ewp | 125 +-
.../apm32f051r8-evalboard/project.uvprojx | 238 +-
bsp/apm32/apm32f072vb-miniboard/project.ewp | 127 +-
.../apm32f072vb-miniboard/project.uvprojx | 216 +-
bsp/apm32/apm32f091vc-miniboard/project.ewp | 133 +-
.../apm32f091vc-miniboard/project.uvprojx | 194 +-
bsp/apm32/apm32f103vb-miniboard/project.ewp | 127 +-
.../apm32f103vb-miniboard/project.uvprojx | 218 +-
bsp/apm32/apm32f103xe-minibroard/project.ewp | 147 +-
.../apm32f103xe-minibroard/project.uvprojx | 228 +-
bsp/apm32/apm32f107vc-evalboard/project.ewp | 133 +-
.../apm32f107vc-evalboard/project.uvprojx | 212 +-
bsp/apm32/apm32f407ig-minibroard/project.ewp | 119 +-
.../apm32f407ig-minibroard/project.uvprojx | 232 +-
bsp/apm32/apm32f407zg-evalboard/project.ewp | 139 +-
.../apm32f407zg-evalboard/project.uvprojx | 204 +-
bsp/apm32/apm32s103vb-miniboard/project.ewp | 129 +-
.../apm32s103vb-miniboard/project.uvprojx | 214 +-
bsp/apollo2/project.uvprojx | 334 +-
bsp/asm9260t/project.ewp | 101 +-
bsp/asm9260t/project.uvproj | 172 +-
bsp/at32/at32a403a-start/project.ewp | 170 +-
bsp/at32/at32a403a-start/project.uvproj | 226 +-
bsp/at32/at32a403a-start/project.uvprojx | 208 +-
bsp/at32/at32a423-start/project.ewp | 184 +-
bsp/at32/at32a423-start/project.uvproj | 212 +-
bsp/at32/at32a423-start/project.uvprojx | 208 +-
bsp/at32/at32f402-start/project.ewp | 181 +-
bsp/at32/at32f402-start/project.uvproj | 219 +-
bsp/at32/at32f402-start/project.uvprojx | 197 +-
bsp/at32/at32f403a-start/project.ewp | 180 +-
bsp/at32/at32f403a-start/project.uvproj | 238 +-
bsp/at32/at32f403a-start/project.uvprojx | 236 +-
bsp/at32/at32f405-start/project.ewp | 167 +-
bsp/at32/at32f405-start/project.uvproj | 197 +-
bsp/at32/at32f405-start/project.uvprojx | 217 +-
bsp/at32/at32f407-start/project.ewp | 174 +-
bsp/at32/at32f407-start/project.uvproj | 222 +-
bsp/at32/at32f407-start/project.uvprojx | 240 +-
bsp/at32/at32f413-start/project.ewp | 169 +-
bsp/at32/at32f413-start/project.uvproj | 195 +-
bsp/at32/at32f413-start/project.uvprojx | 201 +-
bsp/at32/at32f415-start/project.ewp | 164 +-
bsp/at32/at32f415-start/project.uvproj | 204 +-
bsp/at32/at32f415-start/project.uvprojx | 216 +-
bsp/at32/at32f421-start/project.ewp | 150 +-
bsp/at32/at32f421-start/project.uvoptx | 8 +-
bsp/at32/at32f421-start/project.uvproj | 196 +-
bsp/at32/at32f421-start/project.uvprojx | 200 +-
bsp/at32/at32f423-start/project.ewp | 176 +-
bsp/at32/at32f423-start/project.uvproj | 226 +-
bsp/at32/at32f423-start/project.uvprojx | 202 +-
bsp/at32/at32f425-start/project.ewp | 176 +-
bsp/at32/at32f425-start/project.uvproj | 196 +-
bsp/at32/at32f425-start/project.uvprojx | 204 +-
bsp/at32/at32f435-start/project.ewp | 187 +-
bsp/at32/at32f435-start/project.uvproj | 247 +-
bsp/at32/at32f435-start/project.uvprojx | 241 +-
bsp/at32/at32f437-start/project.ewp | 185 +-
bsp/at32/at32f437-start/project.uvproj | 247 +-
bsp/at32/at32f437-start/project.uvprojx | 261 +-
bsp/at32/at32f455-start/project.ewp | 171 +-
bsp/at32/at32f455-start/project.uvproj | 257 +-
bsp/at32/at32f455-start/project.uvprojx | 261 +-
bsp/at32/at32f456-start/project.ewp | 191 +-
bsp/at32/at32f456-start/project.uvproj | 259 +-
bsp/at32/at32f456-start/project.uvprojx | 237 +-
bsp/at32/at32f457-start/project.ewp | 179 +-
bsp/at32/at32f457-start/project.uvproj | 261 +-
bsp/at32/at32f457-start/project.uvprojx | 239 +-
bsp/at32/at32m412-start/project.ewp | 165 +-
bsp/at32/at32m412-start/project.uvproj | 211 +-
bsp/at32/at32m412-start/project.uvprojx | 197 +-
bsp/at32/at32m416-start/project.ewp | 169 +-
bsp/at32/at32m416-start/project.uvproj | 219 +-
bsp/at32/at32m416-start/project.uvprojx | 217 +-
bsp/at91/at91sam9g45/project.ewp | 2293 +++++++
bsp/at91/at91sam9g45/project.eww | 10 +
bsp/at91/at91sam9g45/project.uvproj | 332 +-
bsp/essemi/es32f0654/project.uvprojx | 520 +-
bsp/essemi/es32f365x/project.ewp | 253 +-
bsp/essemi/es32f365x/project.uvprojx | 480 +-
bsp/essemi/es32f369x/project.ewp | 269 +-
bsp/essemi/es32f369x/project.uvprojx | 556 +-
bsp/fm33lc026/project.uvprojx | 258 +-
bsp/frdm-k64f/project.uvproj | 204 +-
bsp/frdm-k64f/project.uvprojx | 190 +-
bsp/ft32/ft32f072xb-starter/project.uvprojx | 290 +-
bsp/fujitsu/mb9x/mb9bf506r/project.ewp | 133 +-
bsp/fujitsu/mb9x/mb9bf506r/project.uvproj | 322 +-
bsp/fujitsu/mb9x/mb9bf568r/project.uvproj | 258 +-
bsp/fujitsu/mb9x/mb9bf618s/project.ewp | 133 +-
bsp/fujitsu/mb9x/mb9bf618s/project.uvproj | 276 +-
bsp/gd32/arm/gd32103c-eval/project.ewp | 119 +-
bsp/gd32/arm/gd32103c-eval/project.uvproj | 218 +-
bsp/gd32/arm/gd32103c-eval/project.uvprojx | 188 +-
bsp/gd32/arm/gd32105c-eval/project.ewp | 137 +-
bsp/gd32/arm/gd32105c-eval/project.uvproj | 208 +-
bsp/gd32/arm/gd32105c-eval/project.uvprojx | 198 +-
bsp/gd32/arm/gd32105r-start/project.ewp | 125 +-
bsp/gd32/arm/gd32105r-start/project.uvproj | 218 +-
bsp/gd32/arm/gd32105r-start/project.uvprojx | 222 +-
bsp/gd32/arm/gd32107c-eval/project.ewp | 135 +-
bsp/gd32/arm/gd32107c-eval/project.uvproj | 236 +-
bsp/gd32/arm/gd32107c-eval/project.uvprojx | 240 +-
bsp/gd32/arm/gd32205r-start/project.ewp | 127 +-
bsp/gd32/arm/gd32205r-start/project.uvproj | 190 +-
bsp/gd32/arm/gd32205r-start/project.uvprojx | 208 +-
bsp/gd32/arm/gd32207i-eval/project.ewp | 115 +-
bsp/gd32/arm/gd32207i-eval/project.uvproj | 238 +-
bsp/gd32/arm/gd32207i-eval/project.uvprojx | 218 +-
bsp/gd32/arm/gd32303c-start/project.ewp | 113 +-
bsp/gd32/arm/gd32303c-start/project.uvproj | 190 +-
bsp/gd32/arm/gd32303c-start/project.uvprojx | 230 +-
bsp/gd32/arm/gd32303e-eval/project.ewp | 119 +-
bsp/gd32/arm/gd32303e-eval/project.uvproj | 208 +-
bsp/gd32/arm/gd32303e-eval/project.uvprojx | 218 +-
bsp/gd32/arm/gd32305r-start/project.ewp | 127 +-
bsp/gd32/arm/gd32305r-start/project.uvproj | 222 +-
bsp/gd32/arm/gd32305r-start/project.uvprojx | 218 +-
bsp/gd32/arm/gd32307e-start/project.ewp | 143 +-
bsp/gd32/arm/gd32307e-start/project.uvproj | 208 +-
bsp/gd32/arm/gd32307e-start/project.uvprojx | 208 +-
bsp/gd32/arm/gd32407v-lckfb/project.ewp | 155 +-
bsp/gd32/arm/gd32407v-lckfb/project.uvproj | 278 +-
bsp/gd32/arm/gd32407v-lckfb/project.uvprojx | 238 +-
bsp/gd32/arm/gd32407v-start/project.ewp | 141 +-
bsp/gd32/arm/gd32407v-start/project.uvproj | 266 +-
bsp/gd32/arm/gd32407v-start/project.uvprojx | 262 +-
bsp/gd32/arm/gd32450z-eval/project.ewp | 159 +-
bsp/gd32/arm/gd32450z-eval/project.uvproj | 318 +-
bsp/gd32/arm/gd32450z-eval/project.uvprojx | 272 +-
bsp/gd32/arm/gd32470z-lckfb/project.ewp | 153 +-
bsp/gd32/arm/gd32470z-lckfb/project.uvproj | 300 +-
bsp/gd32/arm/gd32470z-lckfb/project.uvprojx | 282 +-
bsp/gd32/arm/gd32e503v-eval/project.ewp | 143 +-
bsp/gd32/arm/gd32e503v-eval/project.uvoptx | 748 ---
bsp/gd32/arm/gd32e503v-eval/project.uvproj | 210 +-
bsp/gd32/arm/gd32e503v-eval/project.uvprojx | 1506 +----
bsp/gd32/arm/gd32h759i-start/project.ewp | 500 +-
bsp/gd32/arm/gd32h759i-start/project.uvoptx | 810 +--
bsp/gd32/arm/gd32h759i-start/project.uvprojx | 1053 ++-
bsp/hc32/ev_hc32f448_lqfp80/project.ewp | 153 +-
bsp/hc32/ev_hc32f448_lqfp80/project.uvprojx | 212 +-
bsp/hc32/ev_hc32f460_lqfp100_v2/project.ewp | 221 +-
.../ev_hc32f460_lqfp100_v2/project.uvprojx | 362 +-
bsp/hc32/ev_hc32f472_lqfp100/project.ewp | 161 +-
bsp/hc32/ev_hc32f472_lqfp100/project.uvprojx | 188 +-
bsp/hc32/ev_hc32f4a0_lqfp176/project.ewp | 183 +-
bsp/hc32/ev_hc32f4a0_lqfp176/project.uvprojx | 222 +-
bsp/hc32/lckfb-hc32f4a0-lqfp100/project.ewp | 159 +-
.../lckfb-hc32f4a0-lqfp100/project.uvprojx | 230 +-
bsp/hc32l136/project.ewp | 161 +-
bsp/hc32l136/project.uvoptx | 808 ---
bsp/hc32l136/project.uvprojx | 1513 +----
bsp/hc32l196/project.ewp | 154 +-
bsp/hc32l196/project.uvprojx | 236 +-
bsp/hk32/hk32f030c8-mini/project.ewp | 199 +-
bsp/hk32/hk32f030c8-mini/project.uvproj | 374 +-
bsp/hk32/hk32f030c8-mini/project.uvprojx | 416 +-
bsp/ht32/ht32f12366/project.uvoptx | 1074 +---
bsp/ht32/ht32f12366/project.uvprojx | 1603 +----
bsp/ht32/ht32f52352/project.uvoptx | 1028 +--
bsp/ht32/ht32f52352/project.uvprojx | 1545 +----
bsp/ht32/ht32f53252/project.uvoptx | 1028 +--
bsp/ht32/ht32f53252/project.uvprojx | 1562 +----
bsp/lm3s8962/project.Uv2 | 240 -
bsp/lm3s9b9x/project.Uv2 | 236 -
bsp/lm4f232/project.uvproj | 394 +-
bsp/maxim/max32660-evsys/project.uvprojx | 288 +-
bsp/mini2440/project.uvproj | 198 +-
bsp/mm32/mm32f3270-100ask-pitaya/project.ewp | 139 +-
.../mm32f3270-100ask-pitaya/project.uvprojx | 300 +-
bsp/mm32f103x/project.ewp | 201 +-
bsp/mm32f103x/project.uvprojx | 402 +-
bsp/mm32f327x/project.ewp | 241 +-
bsp/mm32f327x/project.uvprojx | 426 +-
bsp/mm32f526x/project.ewp | 4860 +++++++-------
bsp/mm32f526x/project.eww | 20 +-
bsp/mm32f526x/project.uvprojx | 434 +-
bsp/mm32l07x/project.ewp | 181 +-
bsp/mm32l07x/project.uvprojx | 402 +-
bsp/mm32l3xx/project.ewp | 197 +-
bsp/mm32l3xx/project.uvprojx | 336 +-
bsp/msp432e401y-LaunchPad/project.ewp | 127 +-
bsp/msp432e401y-LaunchPad/project.uvproj | 232 +-
bsp/msp432e401y-LaunchPad/project.uvprojx | 230 +-
bsp/n32/n32g43xcl-stb/project.ewp | 191 +-
bsp/n32/n32g43xcl-stb/project.uvprojx | 366 +-
bsp/n32/n32g457qel-stb/project.ewp | 184 +-
bsp/n32/n32g457qel-stb/project.uvprojx | 329 +-
bsp/n32/n32g45xcl-stb/project.ewp | 194 +-
bsp/n32/n32g45xcl-stb/project.uvprojx | 343 +-
bsp/n32/n32g45xml-stb/project.ewp | 218 +-
bsp/n32/n32g45xml-stb/project.uvprojx | 313 +-
bsp/n32/n32g45xrl-stb/project.ewp | 172 +-
bsp/n32/n32g45xrl-stb/project.uvprojx | 299 +-
bsp/n32/n32g45xvl-stb/project.ewp | 194 +-
bsp/n32/n32g45xvl-stb/project.uvprojx | 309 +-
bsp/n32/n32g4frml-stb/project.ewp | 185 +-
bsp/n32/n32g4frml-stb/project.uvprojx | 306 +-
bsp/n32/n32l40xcl-stb/project.ewp | 183 +-
bsp/n32/n32l40xcl-stb/project.uvprojx | 352 +-
bsp/n32/n32l436-evb/project.ewp | 181 +-
bsp/n32/n32l436-evb/project.uvprojx | 334 +-
bsp/n32/n32l43xml-stb/project.ewp | 197 +-
bsp/n32/n32l43xml-stb/project.uvprojx | 370 +-
bsp/n32/n32l43xrl-stb/project.ewp | 193 +-
bsp/n32/n32l43xrl-stb/project.uvprojx | 380 +-
bsp/n32/n32wb45xl-evb/project.ewp | 181 +-
bsp/n32/n32wb45xl-evb/project.uvprojx | 356 +-
.../n32g452xx-mini-system/project.uvprojx | 492 +-
bsp/nrf5x/nrf51822/project.uvprojx | 452 +-
bsp/nrf5x/nrf52832/project.uvprojx | 452 +-
bsp/nrf5x/nrf52833/project.uvprojx | 442 +-
bsp/nrf5x/nrf52840/project.uvprojx | 438 +-
bsp/nrf5x/nrf5340/project.uvoptx | 844 ---
bsp/nrf5x/nrf5340/project.uvprojx | 1570 +----
bsp/nuvoton/ma35-rtp/project.uvprojx | 1715 +++++
bsp/nuvoton/nk-980iot/project.uvproj | 2713 ++++++++
bsp/nuvoton/nk-n9h30/project.uvproj | 2646 ++++++++
bsp/nuvoton/nk-rtu980/project.uvproj | 2699 ++++++++
bsp/nuvoton/numaker-iot-m467/project.ewp | 2016 ++++++
bsp/nuvoton/numaker-iot-m467/project.eww | 10 +
bsp/nuvoton/numaker-iot-m467/project.uvprojx | 3133 +++++++++
bsp/nuvoton/numaker-iot-m487/project.ewp | 1969 ++++++
bsp/nuvoton/numaker-iot-m487/project.eww | 10 +
bsp/nuvoton/numaker-iot-m487/project.uvproj | 3064 +++++++++
bsp/nuvoton/numaker-iot-m487/project.uvprojx | 3059 +++++++++
bsp/nuvoton/numaker-m032ki/project.ewp | 1564 +++++
bsp/nuvoton/numaker-m032ki/project.eww | 10 +
bsp/nuvoton/numaker-m032ki/project.uvprojx | 1839 ++++++
bsp/nuvoton/numaker-m2354/project.ewp | 2946 +++++++++
bsp/nuvoton/numaker-m2354/project.eww | 10 +
bsp/nuvoton/numaker-m2354/project.uvprojx | 2787 ++++++++
bsp/nuvoton/numaker-m467hj/project.ewp | 1975 ++++++
bsp/nuvoton/numaker-m467hj/project.eww | 10 +
bsp/nuvoton/numaker-m467hj/project.uvprojx | 3046 +++++++++
bsp/nuvoton/numaker-pfm-m487/project.ewp | 1937 ++++++
bsp/nuvoton/numaker-pfm-m487/project.eww | 10 +
bsp/nuvoton/numaker-pfm-m487/project.uvproj | 2971 +++++++++
bsp/nuvoton/numaker-pfm-m487/project.uvprojx | 2966 +++++++++
bsp/nxp/lpc/lpc2148/project.Uv2 | 154 -
bsp/nxp/lpc/lpc2478/project.uvproj | 238 +-
bsp/nxp/lpc/lpc43xx/M0/project.uvproj | 214 +-
bsp/nxp/lpc/lpc43xx/M4/project.uvproj | 200 +-
bsp/renesas/ebf_qi_min_6m5/project.uvprojx | 165 +-
bsp/renesas/ra2l1-cpk/project.uvprojx | 231 +-
bsp/renesas/ra4m2-eco/project.uvprojx | 223 +-
bsp/renesas/ra6e2-fpb/project.uvoptx | 636 +-
bsp/renesas/ra6e2-fpb/project.uvprojx | 1611 +----
bsp/renesas/ra6m3-ek/project.uvprojx | 163 +-
bsp/renesas/ra6m3-hmi-board/project.uvoptx | 610 +-
bsp/renesas/ra6m3-hmi-board/project.uvprojx | 1558 +----
bsp/renesas/ra6m4-cpk/project.uvprojx | 165 +-
bsp/renesas/ra6m4-iot/project.uvprojx | 163 +-
bsp/renesas/ra8d1-ek/project.uvprojx | 165 +-
.../ra8d1-vision-board/project.uvprojx | 246 +-
bsp/renesas/ra8m1-ek/project.uvprojx | 163 +-
bsp/renesas/rzn2l_etherkit/project.ewp | 87 +-
bsp/renesas/rzn2l_rsk/project.ewp | 5672 +++++++++--------
bsp/renesas/rzt2m_rsk/project.ewp | 5617 ++++++++--------
bsp/sam7x/project.uvproj | 196 +-
bsp/smartfusion2/project.uvproj | 216 +-
bsp/smartfusion2/project.uvprojx | 188 +-
.../stm32f103-keysking-learning/project.ewp | 145 +-
.../project.uvproj | 273 +-
.../project.uvprojx | 144 +-
.../MDK-ARM/startup_stm32h7s7xx.s | 2 +-
.../stm32mp157a-st-discovery/project.ewp | 176 +-
.../stm32mp157a-st-discovery/project.uvoptx | 1271 +---
.../stm32mp157a-st-discovery/project.uvprojx | 1155 +---
bsp/stm32/stm32mp157a-st-ev1/project.ewp | 297 +-
bsp/stm32/stm32mp157a-st-ev1/project.uvprojx | 589 +-
bsp/synwit/swm320-mini/project.ewp | 149 +-
bsp/synwit/swm320-mini/project.uvprojx | 312 +-
bsp/synwit/swm341-mini/project.ewp | 213 +-
bsp/synwit/swm341-mini/project.uvprojx | 402 +-
bsp/tae32f5300/project.uvprojx | 256 +-
bsp/tkm32F499/project.uvprojx | 402 +-
bsp/tm4c123bsp/project.ewp | 169 +-
bsp/tm4c123bsp/project.uvproj | 224 +-
bsp/tm4c123bsp/project.uvprojx | 232 +-
bsp/tm4c129x/project.ewp | 255 +-
bsp/tm4c129x/project.uvproj | 486 +-
bsp/w60x/project.ewp | 409 +-
bsp/w60x/project.uvprojx | 674 +-
bsp/wch/arm/ch32f103c8-core/project.uvprojx | 316 +-
bsp/wch/arm/ch32f203r-evt/project.uvprojx | 418 +-
bsp/wch/arm/ch579m/project.uvprojx | 382 +-
bsp/xplorer4330/M0/project.uvproj | 200 +-
bsp/xplorer4330/M4/project.uvproj | 272 +-
bsp/yichip/yc3121-pos/project.ewp | 139 +-
bsp/yichip/yc3121-pos/project.uvprojx | 248 +-
bsp/yichip/yc3122-pos/project.ewp | 159 +-
bsp/yichip/yc3122-pos/project.uvprojx | 346 +-
313 files changed, 89464 insertions(+), 63534 deletions(-)
create mode 100644 bsp/at91/at91sam9g45/project.ewp
create mode 100644 bsp/at91/at91sam9g45/project.eww
create mode 100644 bsp/nuvoton/ma35-rtp/project.uvprojx
create mode 100644 bsp/nuvoton/nk-980iot/project.uvproj
create mode 100644 bsp/nuvoton/nk-n9h30/project.uvproj
create mode 100644 bsp/nuvoton/nk-rtu980/project.uvproj
create mode 100644 bsp/nuvoton/numaker-iot-m467/project.ewp
create mode 100644 bsp/nuvoton/numaker-iot-m467/project.eww
create mode 100644 bsp/nuvoton/numaker-iot-m467/project.uvprojx
create mode 100644 bsp/nuvoton/numaker-iot-m487/project.ewp
create mode 100644 bsp/nuvoton/numaker-iot-m487/project.eww
create mode 100644 bsp/nuvoton/numaker-iot-m487/project.uvproj
create mode 100644 bsp/nuvoton/numaker-iot-m487/project.uvprojx
create mode 100644 bsp/nuvoton/numaker-m032ki/project.ewp
create mode 100644 bsp/nuvoton/numaker-m032ki/project.eww
create mode 100644 bsp/nuvoton/numaker-m032ki/project.uvprojx
create mode 100644 bsp/nuvoton/numaker-m2354/project.ewp
create mode 100644 bsp/nuvoton/numaker-m2354/project.eww
create mode 100644 bsp/nuvoton/numaker-m2354/project.uvprojx
create mode 100644 bsp/nuvoton/numaker-m467hj/project.ewp
create mode 100644 bsp/nuvoton/numaker-m467hj/project.eww
create mode 100644 bsp/nuvoton/numaker-m467hj/project.uvprojx
create mode 100644 bsp/nuvoton/numaker-pfm-m487/project.ewp
create mode 100644 bsp/nuvoton/numaker-pfm-m487/project.eww
create mode 100644 bsp/nuvoton/numaker-pfm-m487/project.uvproj
create mode 100644 bsp/nuvoton/numaker-pfm-m487/project.uvprojx
diff --git a/ChangeLog.md b/ChangeLog.md
index d2597fb974..161bc1c0da 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,91 @@
+# RT-Thread v5.2.1 Released
+
+Change Log Since v5.2.0 Release
+
+## Kernel
+
+* src/clock: add rt_tick_get_delta function
+* Update include/rtdef.h version to 5.2.1
+
+## Components
+
+* **drivers**
+ * **fdt:**
+ * Fix garble when booting
+ * **wlan:**
+ * Fixing comments errors of RT_WLAN_EVT_SCAN_DONE and RT_WLAN_EVT_SCAN_REPORT
+ * **pcl:**
+ * Add /proc access in RT-Smart user
+ * **serial_v2:**
+ * The handling of dma_ping_buf in the full discard policy is incorrect; details adjusted
+ * Allowed blocking reception of data exceeding the RX buffer size, increased timeout duration, added flush command, added command to get buffer data length, fixed data overflow handling logic, optimized stability details, and added more serial_v2 test cases[(#10187)](https://github.com/RT-Thread/rt-thread/pull/10187)
+ * **audio:**
+ * Add audio driver test framework
+* **lwp**
+ * Add vDSO support for RISC-V architecture and refactor related components
+ * Fix parameter issue when calling the __arch_get_hw_counter function
+ * Enhance build script with additional cleanup steps
+* **dfs**
+ * **dfs v2**:
+ * enable procfs and tempfs in default when using smart; fix LWIP_ROUTE warning issue
+* **utilities**
+ * rename the group name: LIBADT to Utilities[(#10267)](https://github.com/RT-Thread/rt-thread/pull/10267)
+* **finsh**
+ * Fixed error logging when the list_mutex mutex is not held by any thread
+* **fal**
+ * add new example for norflash
+
+## Libcpu
+
+* **aarch64:**
+ * Fix Aarch64 architecture runtime issues
+ * Fix NORMAL_NOCACHE_MEM attr[(#10180)](https://github.com/RT-Thread/rt-thread/pull/10180)
+ * cleanup undefined rt_hw_mmu_kernel_map_init[(#10177)](https://github.com/RT-Thread/rt-thread/pull/10177)
+ * fix gicv3 mpidr table[(#9284)](https://github.com/RT-Thread/rt-thread/pull/9284)
+* **riscv:**
+ * declare external symbols inside
+ * add ultrarisc ur-cp100 core support[(#10338)](https://github.com/RT-Thread/rt-thread/pull/10338)
+
+## Tools
+
+* fix scons --target=cmake command failure[(#10276)](https://github.com/RT-Thread/rt-thread/pull/10276)
+* fixed the issue where RT-Studio could not import the BSP[(#10290)](https://github.com/RT-Thread/rt-thread/pull/10290)
+* fixed missing unique files creation and cache logic
+* fixed an error by running scons --tartget=cmake under LINUX[(#10164)](https://github.com/RT-Thread/rt-thread/pull/10164)
+* fix mannual trigger to create dist zip file
+
+## Action
+
+* Replace the judgment file modification mechanism of bsp_building[(#10314)](https://github.com/RT-Thread/rt-thread/pull/10314)
+* show the PR status for Pull request
+* cancel the filtering rules for the MAINTAINER file
+* optimize the logic for generating comments for the maintainer robot
+* fixed the abnormal operation of ci files[(#10259)](https://github.com/RT-Thread/rt-thread/pull/10259)
+* ci script assigns PR reviews based on the list of maintainers[(#9913)](https://github.com/RT-Thread/rt-thread/pull/9913)
+* fixed the parameter passing issue in bsp_buildings[(#10254)](https://github.com/RT-Thread/rt-thread/pull/10254)
+* add qemu-pre-build-and-post-build for RT_SMART build [(#10203)
+* separated BSPs to be compiled, and compiled corresponding BSPs based on modified files.[(#10159)](https://github.com/RT-Thread/rt-thread/pull/10159)
+* Integrated all outputs into a single package.[(#10136)](https://github.com/RT-Thread/rt-thread/pull/10136)
+* Upload compilation results to GitHub after each build.[(#10135)](https://github.com/RT-Thread/rt-thread/pull/10135)
+
+## Documents
+
+* doxygen
+ * re-org module groups[(#10197)](https://github.com/RT-Thread/rt-thread/pull/10197)
+ * cleanup and re-org files
+
+## BSP
+
+* Some driver issues have been resolved and some driver support has been added
+* approve the master branch slimming process, reducing the main compartment size by approximately 1G.
+* Added some new BSPs
+ * ST:
+ * stm32f103-keysking
+ * Infineon:
+ * XMC7100D-F144K4160AA
+ * ultrarisc
+ * dp1000 evb
+
# RT-Thread v5.2.0 Released
Change Log Since v5.1.0 Release
diff --git a/bsp/CME_M7/project.uvproj b/bsp/CME_M7/project.uvproj
index ad342552a1..74ffc66667 100644
--- a/bsp/CME_M7/project.uvproj
+++ b/bsp/CME_M7/project.uvproj
@@ -361,9 +361,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ __RTTHREAD__, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS
- ..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\libcpu\arm\cortex-m3;CMSIS\CME_M7;..\..\components\net\lwip\lwip-2.0.3\src\include\posix;..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;.;StdPeriph_Driver\inc;..\..\components\libc\compilers\common\include;drivers;..\..\components\dfs\dfs_v1\filesystems\elmfat;..\..\components\finsh;..\..\components\libc\posix\io\epoll;..\..\libcpu\arm\common;..\..\components\libc\posix\ipc;..\..\components\drivers\include;..\..\include;CMSIS\CMSIS\Include;..\..\components\libc\posix\io\eventfd;..\..\components\net\lwip\lwip-2.0.3\src\include;..\..\components\net\lwip\port;..\..\components\libc\posix\io\poll;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension;..\..\components\drivers\include;applications;..\..\components\drivers\include;..\..\components\dfs\dfs_v1\include;..\..\components\net\lwip\lwip-2.0.3\src\include\netif
+ ..\..\components\libc\compilers\common\include;StdPeriph_Driver\inc;..\..\components\net\lwip\port;..\..\components\net\lwip\lwip-2.0.3\src\include\posix;..\..\include;..\..\components\net\lwip\lwip-2.0.3\src\include\netif;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\dfs\dfs_v1\filesystems\elmfat;..\..\libcpu\arm\common;..\..\components\libc\compilers\common\extension;..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\posix\io\poll;..\..\components\net\lwip\lwip-2.0.3\src\include;..\..\components\libc\posix\io\eventfd;..\..\components\drivers\phy;applications;..\..\components\libc\posix\io\epoll;..\..\libcpu\arm\cortex-m3;.;..\..\components\dfs\dfs_v1\include;CMSIS\CME_M7;..\..\components\drivers\smp_call;drivers;CMSIS\CMSIS\Include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\libc\posix\ipc;..\..\components\libc\compilers\common\extension\fcntl\octal
@@ -407,16 +407,16 @@
Applications
- led.c
+ startup.c
1
- applications\led.c
+ applications\startup.c
- startup.c
+ led.c
1
- applications\startup.c
+ applications\led.c
@@ -431,16 +431,16 @@
CMSIS
- startup_cmem7.s
- 2
- CMSIS\CME_M7\startup\arm\startup_cmem7.s
+ system_cmem7.c
+ 1
+ CMSIS\CME_M7\system_cmem7.c
- system_cmem7.c
- 1
- CMSIS\CME_M7\system_cmem7.c
+ startup_cmem7.s
+ 2
+ CMSIS\CME_M7\startup\arm\startup_cmem7.s
@@ -526,9 +526,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\components\drivers\ipc\completion.c
+ ..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\components\drivers\ipc\condvar.c
@@ -659,9 +697,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\components\drivers\pin\pin.c
+ ..\..\components\drivers\pin\dev_pin.c
@@ -678,9 +716,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\components\drivers\serial\serial.c
+ ..\..\components\drivers\serial\dev_serial.c
@@ -698,6 +736,20 @@
Drivers
+
+
+ app_phy.c
+ 1
+ drivers\app_phy.c
+
+
+
+
+ board.c
+ 1
+ drivers\board.c
+
+
emac.c
@@ -712,20 +764,6 @@
drivers\uart.c
-
-
- board.c
- 1
- drivers\board.c
-
-
-
-
- app_phy.c
- 1
- drivers\app_phy.c
-
-
Filesystem
@@ -734,6 +772,18 @@
dfs_elm.c
1
..\..\components\dfs\dfs_v1\filesystems\elmfat\dfs_elm.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -741,6 +791,18 @@
ff.c
1
..\..\components\dfs\dfs_v1\filesystems\elmfat\ff.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -748,6 +810,18 @@
ffunicode.c
1
..\..\components\dfs\dfs_v1\filesystems\elmfat\ffunicode.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -755,6 +829,18 @@
dfs.c
1
..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -762,6 +848,18 @@
dfs_file.c
1
..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -769,6 +867,18 @@
dfs_fs.c
1
..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -776,6 +886,18 @@
dfs_posix.c
1
..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -783,16 +905,16 @@
Finsh
- shell.c
+ msh_file.c
1
- ..\..\components\finsh\shell.c
+ ..\..\components\finsh\msh_file.c
- msh.c
+ shell.c
1
- ..\..\components\finsh\msh.c
+ ..\..\components\finsh\shell.c
@@ -811,9 +933,9 @@
- msh_file.c
+ msh.c
1
- ..\..\components\finsh\msh_file.c
+ ..\..\components\finsh\msh.c
@@ -857,6 +979,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -914,44 +1074,6 @@
-
-
- kstdio.c
- 1
- ..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1105,6 +1227,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1145,6 +1305,20 @@
Libraries
+
+
+ cmem7_ddr.c
+ 1
+ StdPeriph_Driver\src\cmem7_ddr.c
+
+
+
+
+ cmem7_aes.c
+ 1
+ StdPeriph_Driver\src\cmem7_aes.c
+
+
cmem7_efuse.c
@@ -1152,20 +1326,6 @@
StdPeriph_Driver\src\cmem7_efuse.c
-
-
- cmem7_eth.c
- 1
- StdPeriph_Driver\src\cmem7_eth.c
-
-
-
-
- cmem7_flash.c
- 1
- StdPeriph_Driver\src\cmem7_flash.c
-
-
cmem7_adc.c
@@ -1175,9 +1335,23 @@
- cmem7_i2c.c
+ cmem7_tim.c
1
- StdPeriph_Driver\src\cmem7_i2c.c
+ StdPeriph_Driver\src\cmem7_tim.c
+
+
+
+
+ cmem7_eth.c
+ 1
+ StdPeriph_Driver\src\cmem7_eth.c
+
+
+
+
+ cmem7_spi.c
+ 1
+ StdPeriph_Driver\src\cmem7_spi.c
@@ -1189,9 +1363,16 @@
- cmem7_gpio.c
+ cmem7_flash.c
1
- StdPeriph_Driver\src\cmem7_gpio.c
+ StdPeriph_Driver\src\cmem7_flash.c
+
+
+
+
+ cmem7_can.c
+ 1
+ StdPeriph_Driver\src\cmem7_can.c
@@ -1201,6 +1382,27 @@
StdPeriph_Driver\src\cmem7_misc.c
+
+
+ cmem7_i2c.c
+ 1
+ StdPeriph_Driver\src\cmem7_i2c.c
+
+
+
+
+ cmem7_uart.c
+ 1
+ StdPeriph_Driver\src\cmem7_uart.c
+
+
+
+
+ cmem7_gpio.c
+ 1
+ StdPeriph_Driver\src\cmem7_gpio.c
+
+
cmem7_wdg.c
@@ -1215,41 +1417,6 @@
StdPeriph_Driver\src\cmem7_rtc.c
-
-
- cmem7_can.c
- 1
- StdPeriph_Driver\src\cmem7_can.c
-
-
-
-
- cmem7_tim.c
- 1
- StdPeriph_Driver\src\cmem7_tim.c
-
-
-
-
- cmem7_spi.c
- 1
- StdPeriph_Driver\src\cmem7_spi.c
-
-
-
-
- cmem7_ddr.c
- 1
- StdPeriph_Driver\src\cmem7_ddr.c
-
-
-
-
- cmem7_aes.c
- 1
- StdPeriph_Driver\src\cmem7_aes.c
-
-
cmem7_usb.c
@@ -1257,13 +1424,6 @@
StdPeriph_Driver\src\cmem7_usb.c
-
-
- cmem7_uart.c
- 1
- StdPeriph_Driver\src\cmem7_uart.c
-
-
lwIP
diff --git a/bsp/Vango/v85xx/project.uvprojx b/bsp/Vango/v85xx/project.uvprojx
index 871cd8c354..bbf7513f35 100644
--- a/bsp/Vango/v85xx/project.uvprojx
+++ b/bsp/Vango/v85xx/project.uvprojx
@@ -331,9 +331,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, V85xx, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, USE_TARGET_DRIVER
+ USE_TARGET_DRIVER, USE_STDPERIPH_DRIVER, V85xx, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_LIBC, RT_USING_ARMLIBC
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;.;drivers;..\..\..\libcpu\arm\cortex-m0;Libraries\CMSIS\Vango\V85xx\Include;Libraries\VangoV85xx_standard_peripheral\Include;..\..\..\libcpu\arm\common;Libraries\CMSIS;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\dfs\dfs_v1\include;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\dfs\dfs_v1\include;..\..\..\include;..\..\..\components\libc\posix\ipc;drivers;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;.;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;Libraries\CMSIS;..\..\..\components\dfs\dfs_v1\filesystems\devfs;applications;Libraries\VangoV85xx_standard_peripheral\Include;..\..\..\libcpu\arm\cortex-m0;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;Libraries\CMSIS\Vango\V85xx\Include;..\..\..\components\drivers\include
@@ -466,9 +466,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -599,9 +637,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -618,9 +656,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -667,6 +705,18 @@
devfs.c
1
..\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -674,6 +724,18 @@
dfs.c
1
..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -681,6 +743,18 @@
dfs_file.c
1
..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -688,6 +762,18 @@
dfs_fs.c
1
..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -695,6 +781,18 @@
dfs_posix.c
1
..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -709,16 +807,9 @@
- msh.c
+ msh_file.c
1
- ..\..\..\components\finsh\msh.c
-
-
-
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\msh_file.c
@@ -730,9 +821,16 @@
- msh_file.c
+ msh.c
1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+
+ msh_parse.c
+ 1
+ ..\..\..\components\finsh\msh_parse.c
@@ -776,6 +874,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -833,44 +969,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1024,6 +1122,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
@@ -1057,27 +1193,6 @@
Vango_Lib
-
-
- lib_wdt.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_wdt.c
-
-
-
-
- startup_target.S
- 2
- Libraries\CMSIS\Vango\V85xx\Source\Keil5\startup_target.S
-
-
-
-
- lib_i2c.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_i2c.c
-
-
lib_cortex.c
@@ -1085,20 +1200,6 @@
Libraries\CMSIS\Vango\V85xx\Source\lib_cortex.c
-
-
- lib_ana.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_ana.c
-
-
-
-
- lib_LoadNVR.c
- 1
- Libraries\CMSIS\Vango\V85xx\Source\lib_LoadNVR.c
-
-
lib_comp.c
@@ -1108,16 +1209,72 @@
- lib_misc.c
+ lib_pwm.c
1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_misc.c
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_pwm.c
- lib_tmr.c
+ lib_ana.c
1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_tmr.c
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_ana.c
+
+
+
+
+ lib_spi.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_spi.c
+
+
+
+
+ lib_wdt.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_wdt.c
+
+
+
+
+ lib_uart.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_uart.c
+
+
+
+
+ lib_LoadNVR.c
+ 1
+ Libraries\CMSIS\Vango\V85xx\Source\lib_LoadNVR.c
+
+
+
+
+ system_target.c
+ 1
+ Libraries\CMSIS\Vango\V85xx\Source\system_target.c
+
+
+
+
+ startup_target.S
+ 2
+ Libraries\CMSIS\Vango\V85xx\Source\Keil5\startup_target.S
+
+
+
+
+ lib_dma.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_dma.c
+
+
+
+
+ lib_lcd.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_lcd.c
@@ -1127,6 +1284,20 @@
Libraries\VangoV85xx_standard_peripheral\Source\lib_iso7816.c
+
+
+ lib_tmr.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_tmr.c
+
+
+
+
+ lib_clk.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_clk.c
+
+
lib_adc_tiny.c
@@ -1134,6 +1305,20 @@
Libraries\VangoV85xx_standard_peripheral\Source\lib_adc_tiny.c
+
+
+ lib_crypt.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_crypt.c
+
+
+
+
+ lib_pmu.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_pmu.c
+
+
lib_CodeRAM.c
@@ -1148,20 +1333,6 @@
Libraries\VangoV85xx_standard_peripheral\Source\lib_u32k.c
-
-
- lib_pwm.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_pwm.c
-
-
-
-
- lib_rtc.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_rtc.c
-
-
lib_flash.c
@@ -1169,62 +1340,6 @@
Libraries\VangoV85xx_standard_peripheral\Source\lib_flash.c
-
-
- lib_lcd.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_lcd.c
-
-
-
-
- lib_uart.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_uart.c
-
-
-
-
- lib_crypt.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_crypt.c
-
-
-
-
- system_target.c
- 1
- Libraries\CMSIS\Vango\V85xx\Source\system_target.c
-
-
-
-
- lib_spi.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_spi.c
-
-
-
-
- lib_pmu.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_pmu.c
-
-
-
-
- lib_clk.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_clk.c
-
-
-
-
- lib_dma.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_dma.c
-
-
lib_version.c
@@ -1234,9 +1349,9 @@
- lib_adc.c
+ lib_rtc.c
1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_adc.c
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_rtc.c
@@ -1246,6 +1361,27 @@
Libraries\VangoV85xx_standard_peripheral\Source\lib_gpio.c
+
+
+ lib_misc.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_misc.c
+
+
+
+
+ lib_adc.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_adc.c
+
+
+
+
+ lib_i2c.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_i2c.c
+
+
diff --git a/bsp/Vango/v85xxp/project.uvprojx b/bsp/Vango/v85xxp/project.uvprojx
index 1af4617310..eb83765109 100644
--- a/bsp/Vango/v85xxp/project.uvprojx
+++ b/bsp/Vango/v85xxp/project.uvprojx
@@ -331,9 +331,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, USE_TARGET_DRIVER, V85XXP
+ USE_STDPERIPH_DRIVER, RT_USING_LIBC, __STDC_LIMIT_MACROS, V85XXP, USE_TARGET_DRIVER, RT_USING_ARMLIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\libcpu\arm\cortex-m0;applications;Libraries\CMSIS;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;drivers;.;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\dfs\dfs_v1\include;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;Libraries\VangoV85xxP_standard_peripheral\Include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;Libraries\CMSIS\Vango\V85xxP\Include;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\cortex-m0;drivers;..\..\..\components\drivers\include;..\..\..\components\drivers\include;.;Libraries\VangoV85xxP_standard_peripheral\Include;Libraries\CMSIS;..\..\..\components\drivers\include;..\..\..\components\dfs\dfs_v1\include;..\..\..\components\finsh;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\poll;applications;Libraries\CMSIS\Vango\V85xxP\Include;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\smp_call;..\..\..\include;..\..\..\libcpu\arm\common
@@ -466,9 +466,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -599,9 +637,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -618,9 +656,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -638,6 +676,13 @@
Drivers
+
+
+ board.c
+ 1
+ drivers\board.c
+
+
drv_gpio.c
@@ -652,13 +697,6 @@
drivers\drv_usart.c
-
-
- board.c
- 1
- drivers\board.c
-
-
Filesystem
@@ -667,13 +705,18 @@
dfs_posix.c
1
..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
-
-
-
-
- dfs_fs.c
- 1
- ..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -681,6 +724,37 @@
dfs.c
1
..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ dfs_fs.c
+ 1
+ ..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -688,6 +762,18 @@
dfs_file.c
1
..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -700,13 +786,6 @@
..\..\..\components\finsh\shell.c
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -721,6 +800,13 @@
..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
msh_file.c
@@ -769,6 +855,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -826,44 +950,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1017,6 +1103,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
@@ -1052,16 +1176,9 @@
Vango_Lib
- lib_adc_tiny.c
+ lib_CodeRAM.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_adc_tiny.c
-
-
-
-
- lib_uart.c
- 1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_uart.c
+ Libraries\CMSIS\Vango\V85xxP\Source\lib_CodeRAM.c
@@ -1073,72 +1190,23 @@
- lib_lcd.c
+ lib_LoadNVR.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_lcd.c
+ Libraries\CMSIS\Vango\V85xxP\Source\lib_LoadNVR.c
- lib_adc.c
+ lib_version.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_adc.c
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_version.c
- lib_flash.c
+ lib_adc_tiny.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_flash.c
-
-
-
-
- lib_misc.c
- 1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_misc.c
-
-
-
-
- lib_spi.c
- 1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_spi.c
-
-
-
-
- lib_ana.c
- 1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_ana.c
-
-
-
-
- lib_tmr.c
- 1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_tmr.c
-
-
-
-
- lib_cortex.c
- 1
- Libraries\CMSIS\Vango\V85xxP\Source\lib_cortex.c
-
-
-
-
- lib_cmp.c
- 1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_cmp.c
-
-
-
-
- lib_crypt.c
- 1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_crypt.c
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_adc_tiny.c
@@ -1150,16 +1218,9 @@
- lib_pwm.c
+ lib_rtc.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_pwm.c
-
-
-
-
- lib_clk.c
- 1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_clk.c
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_rtc.c
@@ -1171,9 +1232,23 @@
- lib_pmu.c
+ lib_cmp.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_pmu.c
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_cmp.c
+
+
+
+
+ lib_misc.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_misc.c
+
+
+
+
+ lib_ana.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_ana.c
@@ -1185,23 +1260,23 @@
- lib_i2c.c
+ lib_clk.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_i2c.c
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_clk.c
- lib_LoadNVR.c
+ lib_uart.c
1
- Libraries\CMSIS\Vango\V85xxP\Source\lib_LoadNVR.c
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_uart.c
- lib_rtc.c
+ lib_cortex.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_rtc.c
+ Libraries\CMSIS\Vango\V85xxP\Source\lib_cortex.c
@@ -1213,16 +1288,30 @@
- startup_target.S
- 2
- Libraries\CMSIS\Vango\V85xxP\Source\Keil5\startup_target.S
+ lib_spi.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_spi.c
- lib_CodeRAM.c
+ lib_crypt.c
1
- Libraries\CMSIS\Vango\V85xxP\Source\lib_CodeRAM.c
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_crypt.c
+
+
+
+
+ lib_pwm.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_pwm.c
+
+
+
+
+ lib_i2c.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_i2c.c
@@ -1234,9 +1323,44 @@
- lib_version.c
+ lib_pmu.c
1
- Libraries\VangoV85xxP_standard_peripheral\Source\lib_version.c
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_pmu.c
+
+
+
+
+ lib_tmr.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_tmr.c
+
+
+
+
+ lib_adc.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_adc.c
+
+
+
+
+ startup_target.S
+ 2
+ Libraries\CMSIS\Vango\V85xxP\Source\Keil5\startup_target.S
+
+
+
+
+ lib_flash.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_flash.c
+
+
+
+
+ lib_lcd.c
+ 1
+ Libraries\VangoV85xxP_standard_peripheral\Source\lib_lcd.c
diff --git a/bsp/acm32/acm32f0x0-nucleo/project.ewp b/bsp/acm32/acm32f0x0-nucleo/project.ewp
index b14d36e28a..964665612d 100644
--- a/bsp/acm32/acm32f0x0-nucleo/project.ewp
+++ b/bsp/acm32/acm32f0x0-nucleo/project.ewp
@@ -356,24 +356,26 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\libraries\HAL_Driver\Inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\drivers
$PROJ_DIR$\libraries\Device
- $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\libraries\HAL_Driver\Inc
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\libraries\CMSIS
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\drivers
- $PROJ_DIR$\libraries\CMSIS
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
CCStdIncCheck
@@ -1416,24 +1418,26 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\libraries\HAL_Driver\Inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\drivers
$PROJ_DIR$\libraries\Device
- $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\libraries\HAL_Driver\Inc
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\libraries\CMSIS
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\drivers
- $PROJ_DIR$\libraries\CMSIS
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
CCStdIncCheck
@@ -2122,48 +2126,48 @@
ACM32_HAL
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_IWDT.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_UART.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_RTC.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_EXTI.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_DMA.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_TIMER.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_ADC.c
-
$PROJ_DIR$\libraries\HAL_Driver\Src\HAL_I2C.c
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_CRC.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_WDT.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_SPI.c
-
$PROJ_DIR$\libraries\Device\Startup_ACM32F0x0_iar.s
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_DMA.c
+
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_ADC.c
+
$PROJ_DIR$\libraries\HAL_Driver\Src\HAL_GPIO.c
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_UART.c
+
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_EXTI.c
+
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_IWDT.c
+
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_RTC.c
+
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_SPI.c
+
$PROJ_DIR$\libraries\Device\System_ACM32F0x0.c
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_WDT.c
+
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_TIMER.c
+
+
+ $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_CRC.c
+
Applications
@@ -2228,7 +2232,13 @@
$PROJ_DIR$\..\..\..\components\drivers\hwtimer\hwtimer.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2252,49 +2262,49 @@
$PROJ_DIR$\..\..\..\components\drivers\misc\adc.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
- $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c
+ $PROJ_DIR$\..\..\..\components\drivers\watchdog\dev_watchdog.c
Drivers
-
- $PROJ_DIR$\drivers\drv_i2c.c
-
-
- $PROJ_DIR$\drivers\drv_wdt.c
-
-
- $PROJ_DIR$\drivers\drv_rtc.c
-
-
- $PROJ_DIR$\drivers\drv_spi.c
-
-
- $PROJ_DIR$\drivers\drv_adc.c
-
$PROJ_DIR$\drivers\drv_gpio.c
-
- $PROJ_DIR$\drivers\drv_hwtimer.c
-
$PROJ_DIR$\drivers\drv_pm.c
- $PROJ_DIR$\drivers\drv_soft_i2c.c
+ $PROJ_DIR$\drivers\drv_uart.c
+
+
+ $PROJ_DIR$\drivers\drv_i2c.c
$PROJ_DIR$\drivers\board.c
- $PROJ_DIR$\drivers\drv_uart.c
+ $PROJ_DIR$\drivers\drv_wdt.c
+
+
+ $PROJ_DIR$\drivers\drv_spi.c
+
+
+ $PROJ_DIR$\drivers\drv_rtc.c
+
+
+ $PROJ_DIR$\drivers\drv_adc.c
+
+
+ $PROJ_DIR$\drivers\drv_soft_i2c.c
+
+
+ $PROJ_DIR$\drivers\drv_hwtimer.c
@@ -2320,6 +2330,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2329,12 +2345,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2360,6 +2370,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
libcpu
@@ -2378,4 +2406,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/acm32/acm32f0x0-nucleo/project.uvprojx b/bsp/acm32/acm32f0x0-nucleo/project.uvprojx
index e0f6df6bd2..e8e6e40794 100644
--- a/bsp/acm32/acm32f0x0-nucleo/project.uvprojx
+++ b/bsp/acm32/acm32f0x0-nucleo/project.uvprojx
@@ -334,9 +334,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__
- ..\..\..\components\drivers\include;applications;..\..\..\libcpu\arm\cortex-m0;libraries\Device;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;libraries\CMSIS;drivers;.;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;libraries\HAL_Driver\Inc;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include
+ ..\..\..\components\finsh;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;.;..\..\..\components\drivers\include;..\..\..\components\drivers\include;libraries\CMSIS;libraries\HAL_Driver\Inc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\eventfd;..\..\..\include;libraries\Device;drivers;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\poll;applications;..\..\..\components\libc\posix\ipc
@@ -379,6 +379,27 @@
ACM32_HAL
+
+
+ Startup_ACM32F0x0.s
+ 2
+ libraries\Device\Startup_ACM32F0x0.s
+
+
+
+
+ System_ACM32F0x0.c
+ 1
+ libraries\Device\System_ACM32F0x0.c
+
+
+
+
+ HAL_GPIO.c
+ 1
+ libraries\HAL_Driver\Src\HAL_GPIO.c
+
+
HAL_IWDT.c
@@ -388,16 +409,16 @@
- HAL_UART.c
+ HAL_CRC.c
1
- libraries\HAL_Driver\Src\HAL_UART.c
+ libraries\HAL_Driver\Src\HAL_CRC.c
- HAL_RTC.c
+ HAL_I2C.c
1
- libraries\HAL_Driver\Src\HAL_RTC.c
+ libraries\HAL_Driver\Src\HAL_I2C.c
@@ -414,41 +435,6 @@
libraries\HAL_Driver\Src\HAL_DMA.c
-
-
- HAL_TIMER.c
- 1
- libraries\HAL_Driver\Src\HAL_TIMER.c
-
-
-
-
- HAL_ADC.c
- 1
- libraries\HAL_Driver\Src\HAL_ADC.c
-
-
-
-
- HAL_I2C.c
- 1
- libraries\HAL_Driver\Src\HAL_I2C.c
-
-
-
-
- Startup_ACM32F0x0.s
- 2
- libraries\Device\Startup_ACM32F0x0.s
-
-
-
-
- HAL_CRC.c
- 1
- libraries\HAL_Driver\Src\HAL_CRC.c
-
-
HAL_WDT.c
@@ -456,6 +442,20 @@
libraries\HAL_Driver\Src\HAL_WDT.c
+
+
+ HAL_UART.c
+ 1
+ libraries\HAL_Driver\Src\HAL_UART.c
+
+
+
+
+ HAL_RTC.c
+ 1
+ libraries\HAL_Driver\Src\HAL_RTC.c
+
+
HAL_SPI.c
@@ -465,16 +465,16 @@
- HAL_GPIO.c
+ HAL_ADC.c
1
- libraries\HAL_Driver\Src\HAL_GPIO.c
+ libraries\HAL_Driver\Src\HAL_ADC.c
- System_ACM32F0x0.c
+ HAL_TIMER.c
1
- libraries\Device\System_ACM32F0x0.c
+ libraries\HAL_Driver\Src\HAL_TIMER.c
@@ -589,9 +589,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -741,9 +779,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -760,9 +798,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -779,9 +817,9 @@
- watchdog.c
+ dev_watchdog.c
1
- ..\..\..\components\drivers\watchdog\watchdog.c
+ ..\..\..\components\drivers\watchdog\dev_watchdog.c
@@ -799,6 +837,13 @@
Drivers
+
+
+ drv_gpio.c
+ 1
+ drivers\drv_gpio.c
+
+
drv_soft_i2c.c
@@ -813,6 +858,13 @@
drivers\drv_rtc.c
+
+
+ drv_adc.c
+ 1
+ drivers\drv_adc.c
+
+
drv_uart.c
@@ -820,41 +872,6 @@
drivers\drv_uart.c
-
-
- drv_hwtimer.c
- 1
- drivers\drv_hwtimer.c
-
-
-
-
- drv_wdt.c
- 1
- drivers\drv_wdt.c
-
-
-
-
- drv_pm.c
- 1
- drivers\drv_pm.c
-
-
-
-
- drv_i2c.c
- 1
- drivers\drv_i2c.c
-
-
-
-
- board.c
- 1
- drivers\board.c
-
-
drv_spi.c
@@ -864,28 +881,42 @@
- drv_adc.c
+ board.c
1
- drivers\drv_adc.c
+ drivers\board.c
- drv_gpio.c
+ drv_wdt.c
1
- drivers\drv_gpio.c
+ drivers\drv_wdt.c
+
+
+
+
+ drv_i2c.c
+ 1
+ drivers\drv_i2c.c
+
+
+
+
+ drv_pm.c
+ 1
+ drivers\drv_pm.c
+
+
+
+
+ drv_hwtimer.c
+ 1
+ drivers\drv_hwtimer.c
Finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -900,6 +931,13 @@
..\..\..\components\finsh\msh_parse.c
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
cmd.c
@@ -948,6 +986,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -1005,44 +1081,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1196,6 +1234,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
diff --git a/bsp/acm32/acm32f4xx-nucleo/project.ewp b/bsp/acm32/acm32f4xx-nucleo/project.ewp
index 3fb0b2981e..e69de29bb2 100644
--- a/bsp/acm32/acm32f4xx-nucleo/project.ewp
+++ b/bsp/acm32/acm32f4xx-nucleo/project.ewp
@@ -1,2337 +0,0 @@
-
- 3
-
- rt-thread
-
- ARM
-
- 1
-
- General
- 3
-
- 31
- 1
- 1
-
- ExePath
- build\iar\Exe
-
-
- ObjPath
- build\iar\Obj
-
-
- ListPath
- build\iar\List
-
-
- GEndianMode
- 0
-
-
- Input description
- Automatic choice of formatter, without multibyte support.
-
-
- Output description
- Automatic choice of formatter, without multibyte support.
-
-
- GOutputBinary
- 0
-
-
- OGCoreOrChip
- 0
-
-
- GRuntimeLibSelect
- 0
- 1
-
-
- GRuntimeLibSelectSlave
- 0
- 1
-
-
- RTDescription
- Use the normal configuration of the C/C++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.
-
-
- OGProductVersion
- 6.30.6.53380
-
-
- OGLastSavedByProductVersion
- 8.32.1.18618
-
-
- GeneralEnableMisra
- 0
-
-
- GeneralMisraVerbose
- 0
-
-
- OGChipSelectEditMenu
- STM32F072RB ST STM32F072RB
-
-
- GenLowLevelInterface
- 1
-
-
- GEndianModeBE
- 1
-
-
- OGBufferedTerminalOutput
- 0
-
-
- GenStdoutInterface
- 0
-
-
- GeneralMisraRules98
- 0
- 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
-
-
- GeneralMisraVer
- 0
-
-
- GeneralMisraRules04
- 0
- 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
-
-
- RTConfigPath2
- $TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h
-
-
- GBECoreSlave
- 26
- 59
-
-
- OGUseCmsis
- 0
-
-
- OGUseCmsisDspLib
- 0
-
-
- GRuntimeLibThreads
- 0
-
-
- CoreVariant
- 26
- 59
-
-
- GFPUDeviceSlave
- STM32F072RB ST STM32F072RB
-
-
- FPU2
- 0
- 6
-
-
- NrRegs
- 0
- 1
-
-
- NEON
- 0
-
-
- GFPUCoreSlave2
- 26
- 59
-
-
- OGCMSISPackSelectDevice
-
-
- OgLibHeap
- 0
-
-
- OGLibAdditionalLocale
- 0
-
-
- OGPrintfVariant
- 0
- 0
-
-
- OGPrintfMultibyteSupport
- 0
-
-
- OGScanfVariant
- 0
- 0
-
-
- OGScanfMultibyteSupport
- 0
-
-
- GenLocaleTags
-
-
-
- GenLocaleDisplayOnly
-
-
-
- DSPExtension
- 0
-
-
- TrustZone
- 0
-
-
- TrustZoneModes
- 0
- 0
-
-
-
-
- ICCARM
- 2
-
- 35
- 1
- 1
-
- CCOptimizationNoSizeConstraints
- 0
-
-
- CCDefines
-
- CLOCKS_PER_SEC=RT_TICK_PER_SECOND
- RT_USING_DLIBC
- RT_USING_LIBC
- _DLIB_ADD_EXTRA_SYMBOLS=0
- __RTTHREAD__
- __RT_IPC_SOURCE__
- __RT_KERNEL_SOURCE__
-
-
- CCPreprocFile
- 0
-
-
- CCPreprocComments
- 0
-
-
- CCPreprocLine
- 0
-
-
- CCListCFile
- 0
-
-
- CCListCMnemonics
- 0
-
-
- CCListCMessages
- 0
-
-
- CCListAssFile
- 0
-
-
- CCListAssSource
- 0
-
-
- CCEnableRemarks
- 0
-
-
- CCDiagSuppress
-
-
-
- CCDiagRemark
-
-
-
- CCDiagWarning
-
-
-
- CCDiagError
-
-
-
- CCObjPrefix
- 1
-
-
- CCAllowList
- 1
- 00000000
-
-
- CCDebugInfo
- 1
-
-
- IEndianMode
- 1
-
-
- IProcessor
- 1
-
-
- IExtraOptionsCheck
- 0
-
-
- IExtraOptions
-
-
-
- CCLangConformance
- 0
-
-
- CCSignedPlainChar
- 1
-
-
- CCRequirePrototypes
- 0
-
-
- CCDiagWarnAreErr
- 0
-
-
- CCCompilerRuntimeInfo
- 0
-
-
- IFpuProcessor
- 1
-
-
- OutputFile
- $FILE_BNAME$.o
-
-
- CCLibConfigHeader
- 1
-
-
- PreInclude
-
-
-
- CompilerMisraOverride
- 0
-
-
- CCIncludePath2
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\libraries\HAL_Driver\Inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m33
- $PROJ_DIR$\libraries\Device
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\drivers
- $PROJ_DIR$\libraries\CMSIS
-
-
- CCStdIncCheck
- 0
-
-
- CCCodeSection
- .text
-
-
- IProcessorMode2
- 1
-
-
- CCOptLevel
- 1
-
-
- CCOptStrategy
- 0
- 0
-
-
- CCOptLevelSlave
- 1
-
-
- CompilerMisraRules98
- 0
- 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
-
-
- CompilerMisraRules04
- 0
- 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
-
-
- CCPosIndRopi
- 0
-
-
- CCPosIndRwpi
- 0
-
-
- CCPosIndNoDynInit
- 0
-
-
- IccLang
- 0
-
-
- IccCDialect
- 1
-
-
- IccAllowVLA
- 0
-
-
- IccStaticDestr
- 1
-
-
- IccCppInlineSemantics
- 0
-
-
- IccCmsis
- 1
-
-
- IccFloatSemantics
- 0
-
-
- CCNoLiteralPool
- 0
-
-
- CCOptStrategySlave
- 0
- 0
-
-
- CCGuardCalls
- 1
-
-
- CCEncSource
- 0
-
-
- CCEncOutput
- 0
-
-
- CCEncOutputBom
- 1
-
-
- CCEncInput
- 0
-
-
- IccExceptions2
- 0
-
-
- IccRTTI2
- 0
-
-
- OICompilerExtraOption
- 1
-
-
-
-
- AARM
- 2
-
- 10
- 1
- 1
-
- AObjPrefix
- 1
-
-
- AEndian
- 1
-
-
- ACaseSensitivity
- 1
-
-
- MacroChars
- 0
- 0
-
-
- AWarnEnable
- 0
-
-
- AWarnWhat
- 0
-
-
- AWarnOne
-
-
-
- AWarnRange1
-
-
-
- AWarnRange2
-
-
-
- ADebug
- 1
-
-
- AltRegisterNames
- 0
-
-
- ADefines
-
-
-
- AList
- 0
-
-
- AListHeader
- 1
-
-
- AListing
- 1
-
-
- Includes
- 0
-
-
- MacDefs
- 0
-
-
- MacExps
- 1
-
-
- MacExec
- 0
-
-
- OnlyAssed
- 0
-
-
- MultiLine
- 0
-
-
- PageLengthCheck
- 0
-
-
- PageLength
- 80
-
-
- TabSpacing
- 8
-
-
- AXRef
- 0
-
-
- AXRefDefines
- 0
-
-
- AXRefInternal
- 0
-
-
- AXRefDual
- 0
-
-
- AProcessor
- 1
-
-
- AFpuProcessor
- 1
-
-
- AOutputFile
- $FILE_BNAME$.o
-
-
- ALimitErrorsCheck
- 0
-
-
- ALimitErrorsEdit
- 100
-
-
- AIgnoreStdInclude
- 0
-
-
- AUserIncludes
-
-
-
- AExtraOptionsCheckV2
- 0
-
-
- AExtraOptionsV2
-
-
-
- AsmNoLiteralPool
- 0
-
-
-
-
- OBJCOPY
- 0
-
- 1
- 1
- 1
-
- OOCOutputFormat
- 3
- 3
-
-
- OCOutputOverride
- 1
-
-
- OOCOutputFile
- ../../../rtthread.bin
-
-
- OOCCommandLineProducer
- 1
-
-
- OOCObjCopyEnable
- 1
-
-
-
-
- CUSTOM
- 3
-
-
-
- 0
-
-
-
- BICOMP
- 0
-
-
-
- BUILDACTION
- 1
-
-
-
-
-
-
- ILINK
- 0
-
- 22
- 1
- 1
-
- IlinkLibIOConfig
- 1
-
-
- XLinkMisraHandler
- 0
-
-
- IlinkInputFileSlave
- 0
-
-
- IlinkOutputFile
- project.out
-
-
- IlinkDebugInfoEnable
- 1
-
-
- IlinkKeepSymbols
-
-
-
- IlinkRawBinaryFile
-
-
-
- IlinkRawBinarySymbol
-
-
-
- IlinkRawBinarySegment
-
-
-
- IlinkRawBinaryAlign
-
-
-
- IlinkDefines
-
-
-
- IlinkConfigDefines
-
-
-
- IlinkMapFile
- 0
-
-
- IlinkLogFile
- 0
-
-
- IlinkLogInitialization
- 0
-
-
- IlinkLogModule
- 0
-
-
- IlinkLogSection
- 0
-
-
- IlinkLogVeneer
- 0
-
-
- IlinkIcfOverride
- 1
-
-
- IlinkIcfFile
- $PROJ_DIR$\drivers\linker_scripts\link.icf
-
-
- IlinkIcfFileSlave
-
-
-
- IlinkEnableRemarks
- 0
-
-
- IlinkSuppressDiags
-
-
-
- IlinkTreatAsRem
-
-
-
- IlinkTreatAsWarn
-
-
-
- IlinkTreatAsErr
-
-
-
- IlinkWarningsAreErrors
- 0
-
-
- IlinkUseExtraOptions
- 0
-
-
- IlinkExtraOptions
-
-
-
- IlinkLowLevelInterfaceSlave
- 1
-
-
- IlinkAutoLibEnable
- 1
-
-
- IlinkAdditionalLibs
-
- $PROJ_DIR$\libraries\Device\libSystem_Accelerate.a
- $PROJ_DIR$\libraries\HAL_Driver\Src\libHAL_EFlash_EX.a
-
-
- IlinkOverrideProgramEntryLabel
- 0
-
-
- IlinkProgramEntryLabelSelect
- 0
-
-
- IlinkProgramEntryLabel
- __iar_program_start
-
-
- DoFill
- 0
-
-
- FillerByte
- 0xFF
-
-
- FillerStart
- 0x0
-
-
- FillerEnd
- 0x0
-
-
- CrcSize
- 0
- 1
-
-
- CrcAlign
- 1
-
-
- CrcPoly
- 0x11021
-
-
- CrcCompl
- 0
- 0
-
-
- CrcBitOrder
- 0
- 0
-
-
- CrcInitialValue
- 0x0
-
-
- DoCrc
- 0
-
-
- IlinkBE8Slave
- 1
-
-
- IlinkBufferedTerminalOutput
- 1
-
-
- IlinkStdoutInterfaceSlave
- 1
-
-
- CrcFullSize
- 0
-
-
- IlinkIElfToolPostProcess
- 0
-
-
- IlinkLogAutoLibSelect
- 0
-
-
- IlinkLogRedirSymbols
- 0
-
-
- IlinkLogUnusedFragments
- 0
-
-
- IlinkCrcReverseByteOrder
- 0
-
-
- IlinkCrcUseAsInput
- 1
-
-
- IlinkOptInline
- 0
-
-
- IlinkOptExceptionsAllow
- 1
-
-
- IlinkOptExceptionsForce
- 0
-
-
- IlinkCmsis
- 1
-
-
- IlinkOptMergeDuplSections
- 0
-
-
- IlinkOptUseVfe
- 1
-
-
- IlinkOptForceVfe
- 0
-
-
- IlinkStackAnalysisEnable
- 0
-
-
- IlinkStackControlFile
-
-
-
- IlinkStackCallGraphFile
-
-
-
- CrcAlgorithm
- 1
- 1
-
-
- CrcUnitSize
- 0
- 0
-
-
- IlinkThreadsSlave
- 1
-
-
- IlinkLogCallGraph
- 0
-
-
- IlinkIcfFile_AltDefault
-
-
-
- IlinkEncInput
- 0
-
-
- IlinkEncOutput
- 0
-
-
- IlinkEncOutputBom
- 1
-
-
- IlinkHeapSelect
- 1
-
-
- IlinkLocaleSelect
- 1
-
-
- IlinkTrustzoneImportLibraryOut
- template_import_lib.o
-
-
- OILinkExtraOption
- 1
-
-
-
-
- IARCHIVE
- 0
-
- 0
- 1
- 1
-
- IarchiveInputs
-
-
-
- IarchiveOverride
- 0
-
-
- IarchiveOutput
- ###Unitialized###
-
-
-
-
- BILINK
- 0
-
-
-
-
- Release
-
- ARM
-
- 0
-
- General
- 3
-
- 31
- 1
- 0
-
- ExePath
- build\iar\Exe
-
-
- ObjPath
- build\iar\Obj
-
-
- ListPath
- build\iar\List
-
-
- GEndianMode
- 0
-
-
- Input description
- Automatic choice of formatter, without multibyte support.
-
-
- Output description
- Automatic choice of formatter, without multibyte support.
-
-
- GOutputBinary
- 0
-
-
- OGCoreOrChip
- 0
-
-
- GRuntimeLibSelect
- 0
- 1
-
-
- GRuntimeLibSelectSlave
- 0
- 1
-
-
- RTDescription
- Use the normal configuration of the C/C++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.
-
-
- OGProductVersion
- 6.30.6.53380
-
-
- OGLastSavedByProductVersion
- 8.32.1.18618
-
-
- GeneralEnableMisra
- 0
-
-
- GeneralMisraVerbose
- 0
-
-
- OGChipSelectEditMenu
- Default None
-
-
- GenLowLevelInterface
- 1
-
-
- GEndianModeBE
- 1
-
-
- OGBufferedTerminalOutput
- 0
-
-
- GenStdoutInterface
- 0
-
-
- GeneralMisraRules98
- 0
- 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
-
-
- GeneralMisraVer
- 0
-
-
- GeneralMisraRules04
- 0
- 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
-
-
- RTConfigPath2
- $TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h
-
-
- GBECoreSlave
- 26
- 34
-
-
- OGUseCmsis
- 0
-
-
- OGUseCmsisDspLib
- 0
-
-
- GRuntimeLibThreads
- 0
-
-
- CoreVariant
- 26
- 34
-
-
- GFPUDeviceSlave
- Default None
-
-
- FPU2
- 0
- 0
-
-
- NrRegs
- 0
- 0
-
-
- NEON
- 0
-
-
- GFPUCoreSlave2
- 26
- 34
-
-
- OGCMSISPackSelectDevice
-
-
- OgLibHeap
- 0
-
-
- OGLibAdditionalLocale
- 0
-
-
- OGPrintfVariant
- 0
- 0
-
-
- OGPrintfMultibyteSupport
- 0
-
-
- OGScanfVariant
- 0
- 0
-
-
- OGScanfMultibyteSupport
- 0
-
-
- GenLocaleTags
-
-
-
- GenLocaleDisplayOnly
-
-
-
- DSPExtension
- 0
-
-
- TrustZone
- 0
-
-
- TrustZoneModes
- 0
- 0
-
-
-
-
- ICCARM
- 2
-
- 35
- 1
- 0
-
- CCOptimizationNoSizeConstraints
- 0
-
-
- CCDefines
-
- CLOCKS_PER_SEC=RT_TICK_PER_SECOND
- RT_USING_DLIBC
- RT_USING_LIBC
- _DLIB_ADD_EXTRA_SYMBOLS=0
- __RTTHREAD__
- __RT_IPC_SOURCE__
- __RT_KERNEL_SOURCE__
-
-
- CCPreprocFile
- 0
-
-
- CCPreprocComments
- 0
-
-
- CCPreprocLine
- 0
-
-
- CCListCFile
- 0
-
-
- CCListCMnemonics
- 0
-
-
- CCListCMessages
- 0
-
-
- CCListAssFile
- 0
-
-
- CCListAssSource
- 0
-
-
- CCEnableRemarks
- 0
-
-
- CCDiagSuppress
-
-
-
- CCDiagRemark
-
-
-
- CCDiagWarning
-
-
-
- CCDiagError
-
-
-
- CCObjPrefix
- 1
-
-
- CCAllowList
- 1
- 11111110
-
-
- CCDebugInfo
- 1
-
-
- IEndianMode
- 1
-
-
- IProcessor
- 1
-
-
- IExtraOptionsCheck
- 0
-
-
- IExtraOptions
-
-
-
- CCLangConformance
- 0
-
-
- CCSignedPlainChar
- 1
-
-
- CCRequirePrototypes
- 0
-
-
- CCDiagWarnAreErr
- 0
-
-
- CCCompilerRuntimeInfo
- 0
-
-
- IFpuProcessor
- 1
-
-
- OutputFile
- $FILE_BNAME$.o
-
-
- CCLibConfigHeader
- 1
-
-
- PreInclude
-
-
-
- CompilerMisraOverride
- 0
-
-
- CCIncludePath2
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\libraries\HAL_Driver\Inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m33
- $PROJ_DIR$\libraries\Device
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\drivers
- $PROJ_DIR$\libraries\CMSIS
-
-
- CCStdIncCheck
- 0
-
-
- CCCodeSection
- .text
-
-
- IProcessorMode2
- 1
-
-
- CCOptLevel
- 3
-
-
- CCOptStrategy
- 0
- 0
-
-
- CCOptLevelSlave
- 3
-
-
- CompilerMisraRules98
- 0
- 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
-
-
- CompilerMisraRules04
- 0
- 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
-
-
- CCPosIndRopi
- 0
-
-
- CCPosIndRwpi
- 0
-
-
- CCPosIndNoDynInit
- 0
-
-
- IccLang
- 0
-
-
- IccCDialect
- 1
-
-
- IccAllowVLA
- 0
-
-
- IccStaticDestr
- 1
-
-
- IccCppInlineSemantics
- 0
-
-
- IccCmsis
- 1
-
-
- IccFloatSemantics
- 0
-
-
- CCNoLiteralPool
- 0
-
-
- CCOptStrategySlave
- 0
- 0
-
-
- CCGuardCalls
- 1
-
-
- CCEncSource
- 0
-
-
- CCEncOutput
- 0
-
-
- CCEncOutputBom
- 1
-
-
- CCEncInput
- 0
-
-
- IccExceptions2
- 0
-
-
- IccRTTI2
- 0
-
-
- OICompilerExtraOption
- 1
-
-
-
-
- AARM
- 2
-
- 10
- 1
- 0
-
- AObjPrefix
- 1
-
-
- AEndian
- 1
-
-
- ACaseSensitivity
- 1
-
-
- MacroChars
- 0
- 0
-
-
- AWarnEnable
- 0
-
-
- AWarnWhat
- 0
-
-
- AWarnOne
-
-
-
- AWarnRange1
-
-
-
- AWarnRange2
-
-
-
- ADebug
- 0
-
-
- AltRegisterNames
- 0
-
-
- ADefines
-
-
-
- AList
- 0
-
-
- AListHeader
- 1
-
-
- AListing
- 1
-
-
- Includes
- 0
-
-
- MacDefs
- 0
-
-
- MacExps
- 1
-
-
- MacExec
- 0
-
-
- OnlyAssed
- 0
-
-
- MultiLine
- 0
-
-
- PageLengthCheck
- 0
-
-
- PageLength
- 80
-
-
- TabSpacing
- 8
-
-
- AXRef
- 0
-
-
- AXRefDefines
- 0
-
-
- AXRefInternal
- 0
-
-
- AXRefDual
- 0
-
-
- AProcessor
- 1
-
-
- AFpuProcessor
- 1
-
-
- AOutputFile
- $FILE_BNAME$.o
-
-
- ALimitErrorsCheck
- 0
-
-
- ALimitErrorsEdit
- 100
-
-
- AIgnoreStdInclude
- 0
-
-
- AUserIncludes
-
-
-
- AExtraOptionsCheckV2
- 0
-
-
- AExtraOptionsV2
-
-
-
- AsmNoLiteralPool
- 0
-
-
-
-
- OBJCOPY
- 0
-
- 1
- 1
- 0
-
- OOCOutputFormat
- 3
- 3
-
-
- OCOutputOverride
- 1
-
-
- OOCOutputFile
- rtthread.bin
-
-
- OOCCommandLineProducer
- 1
-
-
- OOCObjCopyEnable
- 1
-
-
-
-
- CUSTOM
- 3
-
-
-
- 0
-
-
-
- BICOMP
- 0
-
-
-
- BUILDACTION
- 1
-
-
-
-
-
-
- ILINK
- 0
-
- 22
- 1
- 0
-
- IlinkLibIOConfig
- 1
-
-
- XLinkMisraHandler
- 0
-
-
- IlinkInputFileSlave
- 0
-
-
- IlinkOutputFile
- template.out
-
-
- IlinkDebugInfoEnable
- 1
-
-
- IlinkKeepSymbols
-
-
-
- IlinkRawBinaryFile
-
-
-
- IlinkRawBinarySymbol
-
-
-
- IlinkRawBinarySegment
-
-
-
- IlinkRawBinaryAlign
-
-
-
- IlinkDefines
-
-
-
- IlinkConfigDefines
-
-
-
- IlinkMapFile
- 0
-
-
- IlinkLogFile
- 0
-
-
- IlinkLogInitialization
- 0
-
-
- IlinkLogModule
- 0
-
-
- IlinkLogSection
- 0
-
-
- IlinkLogVeneer
- 0
-
-
- IlinkIcfOverride
- 1
-
-
- IlinkIcfFile
- $PROJ_DIR$\drivers\linker_scripts\link.icf
-
-
- IlinkIcfFileSlave
-
-
-
- IlinkEnableRemarks
- 0
-
-
- IlinkSuppressDiags
-
-
-
- IlinkTreatAsRem
-
-
-
- IlinkTreatAsWarn
-
-
-
- IlinkTreatAsErr
-
-
-
- IlinkWarningsAreErrors
- 0
-
-
- IlinkUseExtraOptions
- 0
-
-
- IlinkExtraOptions
-
-
-
- IlinkLowLevelInterfaceSlave
- 1
-
-
- IlinkAutoLibEnable
- 1
-
-
- IlinkAdditionalLibs
-
- $PROJ_DIR$\libraries\Device\libSystem_Accelerate.a
- $PROJ_DIR$\libraries\HAL_Driver\Src\libHAL_EFlash_EX.a
-
-
- IlinkOverrideProgramEntryLabel
- 0
-
-
- IlinkProgramEntryLabelSelect
- 0
-
-
- IlinkProgramEntryLabel
- __iar_program_start
-
-
- DoFill
- 0
-
-
- FillerByte
- 0xFF
-
-
- FillerStart
- 0x0
-
-
- FillerEnd
- 0x0
-
-
- CrcSize
- 0
- 1
-
-
- CrcAlign
- 1
-
-
- CrcPoly
- 0x11021
-
-
- CrcCompl
- 0
- 0
-
-
- CrcBitOrder
- 0
- 0
-
-
- CrcInitialValue
- 0x0
-
-
- DoCrc
- 0
-
-
- IlinkBE8Slave
- 1
-
-
- IlinkBufferedTerminalOutput
- 1
-
-
- IlinkStdoutInterfaceSlave
- 1
-
-
- CrcFullSize
- 0
-
-
- IlinkIElfToolPostProcess
- 0
-
-
- IlinkLogAutoLibSelect
- 0
-
-
- IlinkLogRedirSymbols
- 0
-
-
- IlinkLogUnusedFragments
- 0
-
-
- IlinkCrcReverseByteOrder
- 0
-
-
- IlinkCrcUseAsInput
- 1
-
-
- IlinkOptInline
- 1
-
-
- IlinkOptExceptionsAllow
- 1
-
-
- IlinkOptExceptionsForce
- 0
-
-
- IlinkCmsis
- 1
-
-
- IlinkOptMergeDuplSections
- 0
-
-
- IlinkOptUseVfe
- 1
-
-
- IlinkOptForceVfe
- 0
-
-
- IlinkStackAnalysisEnable
- 0
-
-
- IlinkStackControlFile
-
-
-
- IlinkStackCallGraphFile
-
-
-
- CrcAlgorithm
- 1
- 1
-
-
- CrcUnitSize
- 0
- 0
-
-
- IlinkThreadsSlave
- 1
-
-
- IlinkLogCallGraph
- 0
-
-
- IlinkIcfFile_AltDefault
-
-
-
- IlinkEncInput
- 0
-
-
- IlinkEncOutput
- 0
-
-
- IlinkEncOutputBom
- 1
-
-
- IlinkHeapSelect
- 1
-
-
- IlinkLocaleSelect
- 1
-
-
- IlinkTrustzoneImportLibraryOut
- template_import_lib.o
-
-
- OILinkExtraOption
- 1
-
-
-
-
- IARCHIVE
- 0
-
- 0
- 1
- 0
-
- IarchiveInputs
-
-
-
- IarchiveOverride
- 0
-
-
- IarchiveOutput
- ###Unitialized###
-
-
-
-
- BILINK
- 0
-
-
-
-
- ACM32_HAL
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_UART.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_EXTI.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_DMA.c
-
-
- $PROJ_DIR$\libraries\Device\Startup_ACM32F4_iar.s
-
-
- $PROJ_DIR$\libraries\Device\System_ACM32F4.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_GPIO.c
-
-
- $PROJ_DIR$\libraries\HAL_Driver\Src\HAL_EFlash.c
-
-
-
- Applications
-
- $PROJ_DIR$\applications\main.c
-
-
-
- Compiler
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\cctype.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\cstdlib.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\cstring.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\ctime.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\cunistd.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\cwchar.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c
-
-
- $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c
-
-
-
- DeviceDrivers
-
- $PROJ_DIR$\..\..\..\components\drivers\core\device.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\ipc\pipe.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\ipc\ringbuffer.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
-
-
-
- Drivers
-
- $PROJ_DIR$\drivers\drv_gpio.c
-
-
- $PROJ_DIR$\drivers\drv_uart.c
-
-
- $PROJ_DIR$\drivers\board.c
-
-
-
- Finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
-
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler_comm.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler_up.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
-
- libcpu
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m33\context_iar.S
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m33\cpuport.c
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m33\syscall_iar.S
-
-
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m33\trustzone.c
-
-
-
- POSIX
-
-
diff --git a/bsp/acm32/acm32f4xx-nucleo/project.uvprojx b/bsp/acm32/acm32f4xx-nucleo/project.uvprojx
index f3290dcac0..726f887c5a 100644
--- a/bsp/acm32/acm32f4xx-nucleo/project.uvprojx
+++ b/bsp/acm32/acm32f4xx-nucleo/project.uvprojx
@@ -334,9 +334,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_LIBC
- libraries\CMSIS;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\include;drivers;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\include;applications;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\epoll;libraries\Device;.;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m33;libraries\HAL_Driver\Inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ ..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;.;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;libraries\Device;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m33;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\include;applications;libraries\HAL_Driver\Inc;drivers;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\include;libraries\CMSIS;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common
@@ -379,6 +379,34 @@
ACM32_HAL
+
+
+ HAL_DMA.c
+ 1
+ libraries\HAL_Driver\Src\HAL_DMA.c
+
+
+
+
+ HAL_EFlash.c
+ 1
+ libraries\HAL_Driver\Src\HAL_EFlash.c
+
+
+
+
+ HAL_GPIO.c
+ 1
+ libraries\HAL_Driver\Src\HAL_GPIO.c
+
+
+
+
+ System_ACM32F4.c
+ 1
+ libraries\Device\System_ACM32F4.c
+
+
HAL_UART.c
@@ -393,13 +421,6 @@
libraries\HAL_Driver\Src\HAL_EXTI.c
-
-
- HAL_DMA.c
- 1
- libraries\HAL_Driver\Src\HAL_DMA.c
-
-
Startup_ACM32F4.s
@@ -407,27 +428,6 @@
libraries\Device\Startup_ACM32F4.s
-
-
- System_ACM32F4.c
- 1
- libraries\Device\System_ACM32F4.c
-
-
-
-
- HAL_GPIO.c
- 1
- libraries\HAL_Driver\Src\HAL_GPIO.c
-
-
-
-
- HAL_EFlash.c
- 1
- libraries\HAL_Driver\Src\HAL_EFlash.c
-
-
Applications
@@ -521,9 +521,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -654,9 +692,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -673,9 +711,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -695,16 +733,16 @@
Drivers
- drv_gpio.c
+ board.c
1
- drivers\drv_gpio.c
+ drivers\board.c
- board.c
+ drv_gpio.c
1
- drivers\board.c
+ drivers\drv_gpio.c
@@ -719,9 +757,9 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -733,16 +771,16 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -786,6 +824,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -843,44 +919,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1034,6 +1072,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
libcpu
diff --git a/bsp/airm2m/air32f103/project.ewp b/bsp/airm2m/air32f103/project.ewp
index 7bcc40bef2..85b3cdd8a7 100644
--- a/bsp/airm2m/air32f103/project.ewp
+++ b/bsp/airm2m/air32f103/project.ewp
@@ -356,26 +356,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\libraries\CMSIS\Include
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\libraries\AIR32F10xLib\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\.
- $PROJ_DIR$\libraries
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\board
+ $PROJ_DIR$\libraries
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\libraries\AIR32F10xLib\inc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\libraries\CMSIS\Include
+ $PROJ_DIR$\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -1434,26 +1436,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\libraries\CMSIS\Include
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\libraries\AIR32F10xLib\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\.
- $PROJ_DIR$\libraries
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\board
+ $PROJ_DIR$\libraries
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\libraries\AIR32F10xLib\inc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\libraries\CMSIS\Include
+ $PROJ_DIR$\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -2216,7 +2220,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2237,10 +2247,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2342,16 +2352,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2362,6 +2372,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2371,12 +2387,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2402,6 +2412,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -2423,4 +2451,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/airm2m/air32f103/project.uvprojx b/bsp/airm2m/air32f103/project.uvprojx
index e1a8bd6015..de1ac085fa 100644
--- a/bsp/airm2m/air32f103/project.uvprojx
+++ b/bsp/airm2m/air32f103/project.uvprojx
@@ -335,9 +335,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__, __STDC_LIMIT_MACROS
- libraries\rt_drivers;applications;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;.;libraries\CMSIS\Include;..\..\..\components\libc\compilers\common\include;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;board\ports;..\..\..\components\libc\compilers\common\extension;libraries;..\..\..\components\drivers\include;libraries\AIR32F10xLib\inc;..\..\..\components\libc\posix\io\epoll;board;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\drivers\include;libraries\CMSIS\Include;board;..\..\..\components\drivers\include;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;libraries;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\eventfd;libraries\rt_drivers;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\smp_call;.;..\..\..\components\libc\compilers\common\extension\fcntl\octal;board\ports;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\common;libraries\AIR32F10xLib\inc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension;..\..\..\include
@@ -470,9 +470,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -603,9 +641,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -622,9 +660,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -864,9 +902,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
@@ -885,9 +923,9 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -931,6 +969,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -988,44 +1064,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1179,6 +1217,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
diff --git a/bsp/amebaz/project.ewp b/bsp/amebaz/project.ewp
index 28a4c60907..e69de29bb2 100644
--- a/bsp/amebaz/project.ewp
+++ b/bsp/amebaz/project.ewp
@@ -1,2468 +0,0 @@
-
- 2
-
- Debug
-
- ARM
-
- 1
-
- General
- 3
-
- 22
- 1
- 1
-
- ExePath
- Debug\Exe
-
-
- ObjPath
- Debug\Obj
-
-
- ListPath
- Debug\List
-
-
- Variant
- 21
- 39
-
-
- GEndianMode
- 0
-
-
- Input variant
- 3
- 0
-
-
- Input description
- Automatic choice of formatter.
-
-
- Output variant
- 2
- 0
-
-
- Output description
- Automatic choice of formatter.
-
-
- GOutputBinary
- 0
-
-
- FPU
- 3
- 5
-
-
- OGCoreOrChip
- 0
-
-
- GRuntimeLibSelect
- 0
- 1
-
-
- GRuntimeLibSelectSlave
- 0
- 1
-
-
- RTDescription
- Use the normal configuration of the C/C++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.
-
-
- OGProductVersion
- 7.30.4.8186
-
-
- OGLastSavedByProductVersion
- 7.30.4.8186
-
-
- GeneralEnableMisra
- 0
-
-
- GeneralMisraVerbose
- 0
-
-
- OGChipSelectEditMenu
- Default None
-
-
- GenLowLevelInterface
- 1
-
-
- GEndianModeBE
- 1
-
-
- OGBufferedTerminalOutput
- 0
-
-
- GenStdoutInterface
- 0
-
-
- GeneralMisraRules98
- 0
- 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
-
-
- GeneralMisraVer
- 0
-
-
- GeneralMisraRules04
- 0
- 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
-
-
- RTConfigPath2
- $TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
-
-
- GFPUCoreSlave
- 21
- 39
-
-
- GBECoreSlave
- 21
- 39
-
-
- OGUseCmsis
- 0
-
-
- OGUseCmsisDspLib
- 0
-
-
- GRuntimeLibThreads
- 0
-
-
-
-
- ICCARM
- 2
-
- 31
- 1
- 1
-
- CCDefines
-
- CONFIG_PLATFORM_8711B
- CONFIG_BUILD_ROM
- PLATFORM_RTTHREAD
- __IEEE_LITTLE_ENDIAN
- RT_USING_DLIBC
- _DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
- CONFIG_PLATFORM_8711B
- PLATFORM_RTTHREAD
- __IEEE_LITTLE_ENDIAN
- CLOCKS_PER_SEC=RT_TICK_PER_SECOND
- RT_USING_DLIBC
- RT_USING_LIBC
- _DLIB_ADD_EXTRA_SYMBOLS=0
- __RTTHREAD__
- __RT_IPC_SOURCE__
- __RT_KERNEL_SOURCE__
-
-
- CCPreprocFile
- 0
-
-
- CCPreprocComments
- 0
-
-
- CCPreprocLine
- 0
-
-
- CCListCFile
- 0
-
-
- CCListCMnemonics
- 0
-
-
- CCListCMessages
- 0
-
-
- CCListAssFile
- 0
-
-
- CCListAssSource
- 0
-
-
- CCEnableRemarks
- 0
-
-
- CCDiagSuppress
- Be006,Pa050,Pa039,Pa089,Pe014,Pe047,Pe068,Pe089,Pe167,Pe177,Pe186,Pe188,Pe375,Pe550,Pe550,Pe223,Pe549,Pe550
-
-
- CCDiagRemark
-
-
-
- CCDiagWarning
-
-
-
- CCDiagError
-
-
-
- CCObjPrefix
- 1
-
-
- CCAllowList
- 1
- 11111110
-
-
- CCDebugInfo
- 1
-
-
- IEndianMode
- 1
-
-
- IProcessor
- 1
-
-
- IExtraOptionsCheck
- 1
-
-
- IExtraOptions
- --enum_is_int
-
-
- CCLangConformance
- 0
-
-
- CCSignedPlainChar
- 0
-
-
- CCRequirePrototypes
- 0
-
-
- CCMultibyteSupport
- 0
-
-
- CCDiagWarnAreErr
- 0
-
-
- CCCompilerRuntimeInfo
- 0
-
-
- IFpuProcessor
- 1
-
-
- OutputFile
- $FILE_BNAME$.o
-
-
- CCLibConfigHeader
- 1
-
-
- PreInclude
-
-
-
- CompilerMisraOverride
- 0
-
-
- CCIncludePath2
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\drivers\wlan\realtek\wlan_ram_map\rom
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\platform
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch\realtek\8711b\include
- $PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\posix
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\app\monitor\include
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\freertos\freertos_v8.1.2\Source\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\os_dep\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\wifi\rtw_wpa_supplicant\src
- $PROJ_DIR$\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\components\net\lwip-dhcpd
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\netif
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\.
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\drivers\wlan\realtek\include
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\cmsis\device
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\swlib\std_lib\libc\rom\string
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\hal
- $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\hal_ext
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc
- $PROJ_DIR$\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\freertos
- $PROJ_DIR$\applications
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\network\ssl\polarssl-1.3.8\include
- $PROJ_DIR$\drivers\wlan
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\freertos\freertos_v8.1.2\Source\portable\IAR\ARM_CM4F
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4
- $PROJ_DIR$\..\..\components\net\lwip\port
- $PROJ_DIR$\..\..\components\finsh
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\cmsis
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\swlib\rtl_lib
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch\os
- $PROJ_DIR$\..\..\components\drivers\wlan
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\fwlib\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\drivers\wlan\realtek\src\osdep
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\network\ssl\ssl_ram_map\rom
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\swlib\std_lib\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\wifi
- $PROJ_DIR$\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\libraries\smartconfig\inc
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\api
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b
-
-
- CCStdIncCheck
- 0
-
-
- CCCodeSection
- .text
-
-
- IInterwork2
- 0
-
-
- IProcessorMode2
- 1
-
-
- CCOptLevel
- 3
-
-
- CCOptStrategy
- 0
- 1
-
-
- CCOptLevelSlave
- 3
-
-
- CompilerMisraRules98
- 0
- 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
-
-
- CompilerMisraRules04
- 0
- 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
-
-
- CCPosIndRopi
- 0
-
-
- CCPosIndRwpi
- 0
-
-
- CCPosIndNoDynInit
- 0
-
-
- IccLang
- 0
-
-
- IccCDialect
- 1
-
-
- IccAllowVLA
- 0
-
-
- IccCppDialect
- 1
-
-
- IccExceptions
- 1
-
-
- IccRTTI
- 1
-
-
- IccStaticDestr
- 1
-
-
- IccCppInlineSemantics
- 1
-
-
- IccCmsis
- 1
-
-
- IccFloatSemantics
- 0
-
-
- CCOptimizationNoSizeConstraints
- 0
-
-
- CCNoLiteralPool
- 0
-
-
- CCOptStrategySlave
- 0
- 1
-
-
- CCGuardCalls
- 1
-
-
-
-
- AARM
- 2
-
- 9
- 1
- 1
-
- AObjPrefix
- 1
-
-
- AEndian
- 1
-
-
- ACaseSensitivity
- 1
-
-
- MacroChars
- 0
- 0
-
-
- AWarnEnable
- 0
-
-
- AWarnWhat
- 0
-
-
- AWarnOne
-
-
-
- AWarnRange1
-
-
-
- AWarnRange2
-
-
-
- ADebug
- 1
-
-
- AltRegisterNames
- 0
-
-
- ADefines
-
-
-
- AList
- 0
-
-
- AListHeader
- 1
-
-
- AListing
- 1
-
-
- Includes
- 0
-
-
- MacDefs
- 0
-
-
- MacExps
- 1
-
-
- MacExec
- 0
-
-
- OnlyAssed
- 0
-
-
- MultiLine
- 0
-
-
- PageLengthCheck
- 0
-
-
- PageLength
- 80
-
-
- TabSpacing
- 8
-
-
- AXRef
- 0
-
-
- AXRefDefines
- 0
-
-
- AXRefInternal
- 0
-
-
- AXRefDual
- 0
-
-
- AProcessor
- 1
-
-
- AFpuProcessor
- 1
-
-
- AOutputFile
- $FILE_BNAME$.o
-
-
- AMultibyteSupport
- 0
-
-
- ALimitErrorsCheck
- 0
-
-
- ALimitErrorsEdit
- 100
-
-
- AIgnoreStdInclude
- 0
-
-
- AUserIncludes
-
-
-
- AExtraOptionsCheckV2
- 0
-
-
- AExtraOptionsV2
-
-
-
- AsmNoLiteralPool
- 0
-
-
-
-
- OBJCOPY
- 0
-
- 1
- 1
- 1
-
- OOCOutputFormat
- 2
- 0
-
-
- OCOutputOverride
- 0
-
-
- OOCOutputFile
- template.srec
-
-
- OOCCommandLineProducer
- 1
-
-
- OOCObjCopyEnable
- 0
-
-
-
-
- CUSTOM
- 3
-
-
-
- 0
-
-
-
- BICOMP
- 0
-
-
-
- BUILDACTION
- 1
-
- CSCRIPT "$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\prebuild.vbs" "$PROJ_DIR$" "1" "0x08080000"
- CSCRIPT "$PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\iar_utility\common\postbuild_img2.vbs" "$TARGET_DIR$" "$PROJ_DIR$"
-
-
-
- ILINK
- 0
-
- 16
- 1
- 1
-
- IlinkLibIOConfig
- 1
-
-
- XLinkMisraHandler
- 0
-
-
- IlinkInputFileSlave
- 0
-
-
- IlinkOutputFile
- application.axf
-
-
- IlinkDebugInfoEnable
- 1
-
-
- IlinkKeepSymbols
- bootloader
-
-
- IlinkRawBinaryFile
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\image\boot_all.bin
-
-
- IlinkRawBinarySymbol
- bootloader
-
-
- IlinkRawBinarySegment
- LOADER
-
-
- IlinkRawBinaryAlign
- 4
-
-
- IlinkDefines
-
-
-
- IlinkConfigDefines
-
-
-
- IlinkMapFile
- 1
-
-
- IlinkLogFile
- 1
-
-
- IlinkLogInitialization
- 0
-
-
- IlinkLogModule
- 0
-
-
- IlinkLogSection
- 0
-
-
- IlinkLogVeneer
- 1
-
-
- IlinkIcfOverride
- 1
-
-
- IlinkIcfFile
- $PROJ_DIR$\image2.icf
-
-
- IlinkIcfFileSlave
-
-
-
- IlinkEnableRemarks
- 0
-
-
- IlinkSuppressDiags
-
-
-
- IlinkTreatAsRem
-
-
-
- IlinkTreatAsWarn
-
-
-
- IlinkTreatAsErr
-
-
-
- IlinkWarningsAreErrors
- 0
-
-
- IlinkUseExtraOptions
- 0
-
-
- IlinkExtraOptions
-
-
-
- IlinkLowLevelInterfaceSlave
- 1
-
-
- IlinkAutoLibEnable
- 1
-
-
- IlinkAdditionalLibs
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\lib\common\IAR\lib_platform.a
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\lib\common\IAR\lib_rtlstd.a
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\lib\common\IAR\lib_wlan.a
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\lib\common\IAR\lib_wps.a
- $PROJ_DIR$\libraries\smartconfig\libs\libsmartconfig_armcm4_iar.a
-
-
- IlinkOverrideProgramEntryLabel
- 1
-
-
- IlinkProgramEntryLabelSelect
- 0
-
-
- IlinkProgramEntryLabel
- Reset_Handler
-
-
- DoFill
- 0
-
-
- FillerByte
- 0xFF
-
-
- FillerStart
- 0x0
-
-
- FillerEnd
- 0x0
-
-
- CrcSize
- 0
- 1
-
-
- CrcAlign
- 1
-
-
- CrcPoly
- 0x11021
-
-
- CrcCompl
- 0
- 0
-
-
- CrcBitOrder
- 0
- 0
-
-
- CrcInitialValue
- 0x0
-
-
- DoCrc
- 0
-
-
- IlinkBE8Slave
- 1
-
-
- IlinkBufferedTerminalOutput
- 1
-
-
- IlinkStdoutInterfaceSlave
- 1
-
-
- CrcFullSize
- 0
-
-
- IlinkIElfToolPostProcess
- 0
-
-
- IlinkLogAutoLibSelect
- 0
-
-
- IlinkLogRedirSymbols
- 0
-
-
- IlinkLogUnusedFragments
- 0
-
-
- IlinkCrcReverseByteOrder
- 0
-
-
- IlinkCrcUseAsInput
- 1
-
-
- IlinkOptInline
- 0
-
-
- IlinkOptExceptionsAllow
- 0
-
-
- IlinkOptExceptionsForce
- 0
-
-
- IlinkCmsis
- 1
-
-
- IlinkOptMergeDuplSections
- 0
-
-
- IlinkOptUseVfe
- 0
-
-
- IlinkOptForceVfe
- 0
-
-
- IlinkStackAnalysisEnable
- 0
-
-
- IlinkStackControlFile
-
-
-
- IlinkStackCallGraphFile
-
-
-
- CrcAlgorithm
- 0
- 1
-
-
- CrcUnitSize
- 0
- 0
-
-
- IlinkThreadsSlave
- 1
-
-
-
-
- IARCHIVE
- 0
-
- 0
- 1
- 1
-
- IarchiveInputs
-
-
-
- IarchiveOverride
- 0
-
-
- IarchiveOutput
- ###Unitialized###
-
-
-
-
- BILINK
- 0
-
-
-
-
- Release
-
- ARM
-
- 0
-
- General
- 3
-
- 22
- 1
- 0
-
- ExePath
- Release\Exe
-
-
- ObjPath
- Release\Obj
-
-
- ListPath
- Release\List
-
-
- Variant
- 21
- 0
-
-
- GEndianMode
- 0
-
-
- Input variant
- 3
- 0
-
-
- Input description
-
-
-
- Output variant
- 2
- 0
-
-
- Output description
-
-
-
- GOutputBinary
- 0
-
-
- FPU
- 3
- 0
-
-
- OGCoreOrChip
- 0
-
-
- GRuntimeLibSelect
- 0
- 1
-
-
- GRuntimeLibSelectSlave
- 0
- 1
-
-
- RTDescription
-
-
-
- OGProductVersion
- 7.30.4.8186
-
-
- OGLastSavedByProductVersion
-
-
-
- GeneralEnableMisra
- 0
-
-
- GeneralMisraVerbose
- 0
-
-
- OGChipSelectEditMenu
-
-
-
- GenLowLevelInterface
- 0
-
-
- GEndianModeBE
- 0
-
-
- OGBufferedTerminalOutput
- 0
-
-
- GenStdoutInterface
- 0
-
-
- GeneralMisraRules98
- 0
- 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
-
-
- GeneralMisraVer
- 0
-
-
- GeneralMisraRules04
- 0
- 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
-
-
- RTConfigPath2
-
-
-
- GFPUCoreSlave
- 21
- 1
-
-
- GBECoreSlave
- 21
- 1
-
-
- OGUseCmsis
- 0
-
-
- OGUseCmsisDspLib
- 0
-
-
- GRuntimeLibThreads
- 0
-
-
-
-
- ICCARM
- 2
-
- 31
- 1
- 0
-
- CCDefines
- NDEBUG
- CONFIG_PLATFORM_8711B
- PLATFORM_RTTHREAD
- __IEEE_LITTLE_ENDIAN
- CLOCKS_PER_SEC=RT_TICK_PER_SECOND
- RT_USING_DLIBC
- RT_USING_LIBC
- _DLIB_ADD_EXTRA_SYMBOLS=0
- __RTTHREAD__
- __RT_IPC_SOURCE__
- __RT_KERNEL_SOURCE__
-
-
- CCPreprocFile
- 0
-
-
- CCPreprocComments
- 0
-
-
- CCPreprocLine
- 0
-
-
- CCListCFile
- 0
-
-
- CCListCMnemonics
- 0
-
-
- CCListCMessages
- 0
-
-
- CCListAssFile
- 0
-
-
- CCListAssSource
- 0
-
-
- CCEnableRemarks
- 0
-
-
- CCDiagSuppress
-
-
-
- CCDiagRemark
-
-
-
- CCDiagWarning
-
-
-
- CCDiagError
-
-
-
- CCObjPrefix
- 1
-
-
- CCAllowList
- 1
- 11111110
-
-
- CCDebugInfo
- 0
-
-
- IEndianMode
- 1
-
-
- IProcessor
- 1
-
-
- IExtraOptionsCheck
- 0
-
-
- IExtraOptions
-
-
-
- CCLangConformance
- 0
-
-
- CCSignedPlainChar
- 1
-
-
- CCRequirePrototypes
- 0
-
-
- CCMultibyteSupport
- 0
-
-
- CCDiagWarnAreErr
- 0
-
-
- CCCompilerRuntimeInfo
- 0
-
-
- IFpuProcessor
- 1
-
-
- OutputFile
-
-
-
- CCLibConfigHeader
- 1
-
-
- PreInclude
-
-
-
- CompilerMisraOverride
- 0
-
-
- CCIncludePath2
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\drivers\wlan\realtek\wlan_ram_map\rom
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\platform
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch\realtek\8711b\include
- $PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\posix
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\app\monitor\include
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\freertos\freertos_v8.1.2\Source\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\os_dep\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\wifi\rtw_wpa_supplicant\src
- $PROJ_DIR$\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\components\net\lwip-dhcpd
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\netif
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\.
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\drivers\wlan\realtek\include
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\cmsis\device
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\swlib\std_lib\libc\rom\string
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\hal
- $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\hal_ext
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc
- $PROJ_DIR$\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\freertos
- $PROJ_DIR$\applications
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\network\ssl\polarssl-1.3.8\include
- $PROJ_DIR$\drivers\wlan
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\freertos\freertos_v8.1.2\Source\portable\IAR\ARM_CM4F
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4
- $PROJ_DIR$\..\..\components\net\lwip\port
- $PROJ_DIR$\..\..\components\finsh
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\cmsis
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\swlib\rtl_lib
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch\os
- $PROJ_DIR$\..\..\components\drivers\wlan
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\fwlib\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\drivers\wlan\realtek\src\osdep
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\network\ssl\ssl_ram_map\rom
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\swlib\std_lib\include
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\wifi
- $PROJ_DIR$\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\libraries\smartconfig\inc
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\api
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b
-
-
- CCStdIncCheck
- 0
-
-
- CCCodeSection
- .text
-
-
- IInterwork2
- 0
-
-
- IProcessorMode2
- 1
-
-
- CCOptLevel
- 3
-
-
- CCOptStrategy
- 0
- 0
-
-
- CCOptLevelSlave
- 1
-
-
- CompilerMisraRules98
- 0
- 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
-
-
- CompilerMisraRules04
- 0
- 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
-
-
- CCPosIndRopi
- 0
-
-
- CCPosIndRwpi
- 0
-
-
- CCPosIndNoDynInit
- 0
-
-
- IccLang
- 0
-
-
- IccCDialect
- 1
-
-
- IccAllowVLA
- 0
-
-
- IccCppDialect
- 1
-
-
- IccExceptions
- 1
-
-
- IccRTTI
- 1
-
-
- IccStaticDestr
- 1
-
-
- IccCppInlineSemantics
- 0
-
-
- IccCmsis
- 1
-
-
- IccFloatSemantics
- 0
-
-
- CCOptimizationNoSizeConstraints
- 0
-
-
- CCNoLiteralPool
- 0
-
-
- CCOptStrategySlave
- 0
- 0
-
-
- CCGuardCalls
- 1
-
-
-
-
- AARM
- 2
-
- 9
- 1
- 0
-
- AObjPrefix
- 1
-
-
- AEndian
- 1
-
-
- ACaseSensitivity
- 1
-
-
- MacroChars
- 0
- 0
-
-
- AWarnEnable
- 0
-
-
- AWarnWhat
- 0
-
-
- AWarnOne
-
-
-
- AWarnRange1
-
-
-
- AWarnRange2
-
-
-
- ADebug
- 0
-
-
- AltRegisterNames
- 0
-
-
- ADefines
-
-
-
- AList
- 0
-
-
- AListHeader
- 1
-
-
- AListing
- 1
-
-
- Includes
- 0
-
-
- MacDefs
- 0
-
-
- MacExps
- 1
-
-
- MacExec
- 0
-
-
- OnlyAssed
- 0
-
-
- MultiLine
- 0
-
-
- PageLengthCheck
- 0
-
-
- PageLength
- 80
-
-
- TabSpacing
- 8
-
-
- AXRef
- 0
-
-
- AXRefDefines
- 0
-
-
- AXRefInternal
- 0
-
-
- AXRefDual
- 0
-
-
- AProcessor
- 1
-
-
- AFpuProcessor
- 1
-
-
- AOutputFile
-
-
-
- AMultibyteSupport
- 0
-
-
- ALimitErrorsCheck
- 0
-
-
- ALimitErrorsEdit
- 100
-
-
- AIgnoreStdInclude
- 0
-
-
- AUserIncludes
-
-
-
- AExtraOptionsCheckV2
- 0
-
-
- AExtraOptionsV2
-
-
-
- AsmNoLiteralPool
- 0
-
-
-
-
- OBJCOPY
- 0
-
- 1
- 1
- 0
-
- OOCOutputFormat
- 2
- 0
-
-
- OCOutputOverride
- 0
-
-
- OOCOutputFile
-
-
-
- OOCCommandLineProducer
- 1
-
-
- OOCObjCopyEnable
- 0
-
-
-
-
- CUSTOM
- 3
-
-
-
- 0
-
-
-
- BICOMP
- 0
-
-
-
- BUILDACTION
- 1
-
-
-
-
-
-
- ILINK
- 0
-
- 16
- 1
- 0
-
- IlinkLibIOConfig
- 1
-
-
- XLinkMisraHandler
- 0
-
-
- IlinkInputFileSlave
- 0
-
-
- IlinkOutputFile
- ###Unitialized###
-
-
- IlinkDebugInfoEnable
- 1
-
-
- IlinkKeepSymbols
-
-
-
- IlinkRawBinaryFile
-
-
-
- IlinkRawBinarySymbol
-
-
-
- IlinkRawBinarySegment
-
-
-
- IlinkRawBinaryAlign
-
-
-
- IlinkDefines
-
-
-
- IlinkConfigDefines
-
-
-
- IlinkMapFile
- 0
-
-
- IlinkLogFile
- 0
-
-
- IlinkLogInitialization
- 0
-
-
- IlinkLogModule
- 0
-
-
- IlinkLogSection
- 0
-
-
- IlinkLogVeneer
- 0
-
-
- IlinkIcfOverride
- 0
-
-
- IlinkIcfFile
- lnk0t.icf
-
-
- IlinkIcfFileSlave
-
-
-
- IlinkEnableRemarks
- 0
-
-
- IlinkSuppressDiags
-
-
-
- IlinkTreatAsRem
-
-
-
- IlinkTreatAsWarn
-
-
-
- IlinkTreatAsErr
-
-
-
- IlinkWarningsAreErrors
- 0
-
-
- IlinkUseExtraOptions
- 0
-
-
- IlinkExtraOptions
-
-
-
- IlinkLowLevelInterfaceSlave
- 1
-
-
- IlinkAutoLibEnable
- 1
-
-
- IlinkAdditionalLibs
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\lib\common\IAR\lib_platform.a
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\lib\common\IAR\lib_rtlstd.a
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\lib\common\IAR\lib_wlan.a
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\misc\bsp\lib\common\IAR\lib_wps.a
- $PROJ_DIR$\libraries\smartconfig\libs\libsmartconfig_armcm4_iar.a
-
-
- IlinkOverrideProgramEntryLabel
- 0
-
-
- IlinkProgramEntryLabelSelect
- 0
-
-
- IlinkProgramEntryLabel
-
-
-
- DoFill
- 0
-
-
- FillerByte
- 0xFF
-
-
- FillerStart
- 0x0
-
-
- FillerEnd
- 0x0
-
-
- CrcSize
- 0
- 1
-
-
- CrcAlign
- 1
-
-
- CrcPoly
- 0x11021
-
-
- CrcCompl
- 0
- 0
-
-
- CrcBitOrder
- 0
- 0
-
-
- CrcInitialValue
- 0x0
-
-
- DoCrc
- 0
-
-
- IlinkBE8Slave
- 1
-
-
- IlinkBufferedTerminalOutput
- 1
-
-
- IlinkStdoutInterfaceSlave
- 1
-
-
- CrcFullSize
- 0
-
-
- IlinkIElfToolPostProcess
- 0
-
-
- IlinkLogAutoLibSelect
- 0
-
-
- IlinkLogRedirSymbols
- 0
-
-
- IlinkLogUnusedFragments
- 0
-
-
- IlinkCrcReverseByteOrder
- 0
-
-
- IlinkCrcUseAsInput
- 1
-
-
- IlinkOptInline
- 1
-
-
- IlinkOptExceptionsAllow
- 1
-
-
- IlinkOptExceptionsForce
- 0
-
-
- IlinkCmsis
- 1
-
-
- IlinkOptMergeDuplSections
- 0
-
-
- IlinkOptUseVfe
- 1
-
-
- IlinkOptForceVfe
- 0
-
-
- IlinkStackAnalysisEnable
- 0
-
-
- IlinkStackControlFile
-
-
-
- IlinkStackCallGraphFile
-
-
-
- CrcAlgorithm
- 0
- 1
-
-
- CrcUnitSize
- 0
- 0
-
-
- IlinkThreadsSlave
- 1
-
-
-
-
- IARCHIVE
- 0
-
- 0
- 1
- 0
-
- IarchiveInputs
-
-
-
- IarchiveOverride
- 0
-
-
- IarchiveOutput
- ###Unitialized###
-
-
-
-
- BILINK
- 0
-
-
-
-
- amebaz_sdk
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\us_ticker.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\timer_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\wait_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\analogin_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\serial_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\i2c_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\spi_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch\os\rtthread_service.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\i2s_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\os\os_dep\osdep_service.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch\realtek\common\wifi\wifi_conf.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\efuse_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\rtc_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\wifi\rtw_wpa_supplicant\wpa_supplicant\wifi_eap_config.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\wdt_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\pinmap_common.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\wifi\wifi_util.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch\realtek\8711b\app_start.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\cmsis\device\system_8195a.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\rtthread_patch\realtek\8711b\rtl8710b_startup.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\pwmout_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\nfc_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\pinmap.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\dma_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\sys_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\app\monitor\ram\monitor.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\wifi\wifi_promisc.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\api\wifi\wifi_ind.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\gpio_irq_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\sleep.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\app\monitor\ram\rtl_consol.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\fwlib\ram_lib\rtl8710b_intfcfg.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\port_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\flash_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\us_ticker_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\common\mbed\targets\hal\rtl8711b\gpio_api.c
-
-
- $PROJ_DIR$\packages\realtek_ameba-latest\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\component\soc\realtek\8711b\fwlib\ram_lib\rtl8710b_pinmapcfg.c
-
-
-
- Applications
-
- $PROJ_DIR$\applications\smartconfig_app.c
-
-
- $PROJ_DIR$\applications\main.c
-
-
-
- Compiler
-
- $PROJ_DIR$\..\..\components\libc\compilers\common\cctype.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\common\cstdlib.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\common\cstring.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\common\ctime.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\common\cunistd.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\common\cwchar.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c
-
-
-
- DeviceDrivers
-
- $PROJ_DIR$\..\..\components\drivers\core\device.c
-
-
- $PROJ_DIR$\..\..\components\drivers\ipc\completion.c
-
-
- $PROJ_DIR$\..\..\components\drivers\ipc\dataqueue.c
-
-
- $PROJ_DIR$\..\..\components\drivers\ipc\pipe.c
-
-
- $PROJ_DIR$\..\..\components\drivers\ipc\ringblk_buf.c
-
-
- $PROJ_DIR$\..\..\components\drivers\ipc\ringbuffer.c
-
-
- $PROJ_DIR$\..\..\components\drivers\ipc\waitqueue.c
-
-
- $PROJ_DIR$\..\..\components\drivers\ipc\workqueue.c
-
-
- $PROJ_DIR$\..\..\components\drivers\serial\serial.c
-
-
- $PROJ_DIR$\..\..\components\drivers\wlan\wlan_cfg.c
-
-
- $PROJ_DIR$\..\..\components\drivers\wlan\wlan_cmd.c
-
-
- $PROJ_DIR$\..\..\components\drivers\wlan\wlan_dev.c
-
-
- $PROJ_DIR$\..\..\components\drivers\wlan\wlan_lwip.c
-
-
- $PROJ_DIR$\..\..\components\drivers\wlan\wlan_mgnt.c
-
-
- $PROJ_DIR$\..\..\components\drivers\wlan\wlan_prot.c
-
-
- $PROJ_DIR$\..\..\components\drivers\wlan\wlan_workqueue.c
-
-
-
- Drivers
-
- $PROJ_DIR$\drivers\board.c
-
-
- $PROJ_DIR$\drivers\drv_uart.c
-
-
- $PROJ_DIR$\drivers\wlan\drv_wifi.c
-
-
- $PROJ_DIR$\drivers\wlan\drv_wlan.c
-
-
-
- Finsh
-
- $PROJ_DIR$\..\..\components\finsh\shell.c
-
-
- $PROJ_DIR$\..\..\components\finsh\msh.c
-
-
- $PROJ_DIR$\..\..\components\finsh\msh_parse.c
-
-
- $PROJ_DIR$\..\..\components\finsh\cmd.c
-
-
-
- Kernel
-
- $PROJ_DIR$\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\src\klibc\kstring.c
-
-
- $PROJ_DIR$\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\src\scheduler_comm.c
-
-
- $PROJ_DIR$\..\..\src\scheduler_up.c
-
-
- $PROJ_DIR$\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\src\timer.c
-
-
-
- libcpu
-
- $PROJ_DIR$\..\..\libcpu\arm\common\div0.c
-
-
- $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c
-
-
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m4\context_iar.S
-
-
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
-
- Libraries
-
-
- lwIP
-
- $PROJ_DIR$\..\..\components\net\lwip-dhcpd\dhcp_server_raw.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\api_lib.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\api_msg.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\err.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\netbuf.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\netdb.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\netifapi.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\sockets.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\api\tcpip.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\apps\ping\ping.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\def.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\dns.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\inet_chksum.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\init.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ip.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\autoip.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\dhcp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\etharp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\icmp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\igmp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4_addr.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\ipv4\ip4_frag.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\memp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\netif.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\pbuf.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\raw.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\stats.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\sys.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp_in.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\tcp_out.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\timeouts.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\core\udp.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\netif\ethernet.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\lwip-2.0.3\src\netif\lowpan6.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\port\ethernetif.c
-
-
- $PROJ_DIR$\..\..\components\net\lwip\port\sys_arch.c
-
-
-
- POSIX
-
-
diff --git a/bsp/apm32/apm32e103ze-evalboard/project.ewp b/bsp/apm32/apm32e103ze-evalboard/project.ewp
index a6157909c1..b2a73733f1 100644
--- a/bsp/apm32/apm32e103ze-evalboard/project.ewp
+++ b/bsp/apm32/apm32e103ze-evalboard/project.ewp
@@ -352,27 +352,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
CCStdIncCheck
@@ -1452,27 +1454,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
CCStdIncCheck
@@ -2260,7 +2264,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2281,10 +2291,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2307,18 +2317,18 @@
Finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
+
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
Kernel
@@ -2328,6 +2338,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2337,12 +2353,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2368,6 +2378,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
libcpu
@@ -2389,28 +2417,31 @@
Libraries
- $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c
-
-
- $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c
-
- $PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c
-
-
- $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c
-
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c
+
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c
+
+
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c
+
+
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c
+
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32e103ze-evalboard/project.uvprojx b/bsp/apm32/apm32e103ze-evalboard/project.uvprojx
index 7d7d60d64f..defdec5411 100644
--- a/bsp/apm32/apm32e103ze-evalboard/project.uvprojx
+++ b/bsp/apm32/apm32e103ze-evalboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, APM32E10X_HD, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_ARMLIBC
+ RT_USING_ARMLIBC, RT_USING_LIBC, APM32E10X_HD, __RTTHREAD__, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\..\..\libcpu\arm\cortex-m3;applications;..\..\..\components\libc\compilers\common\include;..\libraries\Drivers\config;..\..\..\components\finsh;..\libraries\Drivers;.;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\libraries\APM32E10x_Library\CMSIS\Include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc;..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include;board\ports;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\libc\posix\ipc;.;applications;..\..\..\include;..\libraries\Drivers;..\..\..\components\drivers\include;..\libraries\Drivers\config;board\ports;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\drivers\include;board;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include;..\..\..\components\libc\compilers\common\include;..\libraries\APM32E10x_Library\CMSIS\Include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\smp_call;..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -681,9 +719,16 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh_parse.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
@@ -695,16 +740,9 @@
- msh_parse.c
+ shell.c
1
- ..\..\..\components\finsh\msh_parse.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1038,9 +1114,23 @@
Libraries
- apm32e10x_eint.c
+ apm32e10x_dma.c
1
- ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c
+ ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c
+
+
+
+
+ apm32e10x_rcm.c
+ 1
+ ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c
+
+
+
+
+ system_apm32e10x.c
+ 1
+ ..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c
@@ -1059,9 +1149,9 @@
- system_apm32e10x.c
+ apm32e10x_eint.c
1
- ..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c
+ ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c
@@ -1071,20 +1161,6 @@
..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c
-
-
- apm32e10x_rcm.c
- 1
- ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c
-
-
-
-
- apm32e10x_dma.c
- 1
- ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c
-
-
diff --git a/bsp/apm32/apm32e103ze-tinyboard/project.ewp b/bsp/apm32/apm32e103ze-tinyboard/project.ewp
index a6157909c1..f5465bfab3 100644
--- a/bsp/apm32/apm32e103ze-tinyboard/project.ewp
+++ b/bsp/apm32/apm32e103ze-tinyboard/project.ewp
@@ -352,27 +352,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
$PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\board
+ $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
CCStdIncCheck
@@ -1452,27 +1454,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
$PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\board
+ $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
CCStdIncCheck
@@ -2260,7 +2264,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2281,10 +2291,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2307,17 +2317,17 @@
Finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
$PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
@@ -2328,6 +2338,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2337,12 +2353,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2368,6 +2378,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2388,12 +2416,6 @@
Libraries
-
- $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c
-
-
- $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c
-
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c
@@ -2401,16 +2423,25 @@
$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c
- $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c
+
+
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c
+
+
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c
$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c
- $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c
+ $PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32e103ze-tinyboard/project.uvprojx b/bsp/apm32/apm32e103ze-tinyboard/project.uvprojx
index 9ede640564..8d93334b7b 100644
--- a/bsp/apm32/apm32e103ze-tinyboard/project.uvprojx
+++ b/bsp/apm32/apm32e103ze-tinyboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, APM32E10X_HD, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_ARMLIBC
+ RT_USING_LIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, USE_STDPERIPH_DRIVER, __RTTHREAD__, APM32E10X_HD, RT_USING_ARMLIBC
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;board\ports;..\libraries\Drivers;.;..\..\..\components\libc\compilers\common\include;board;..\libraries\Drivers\config;..\..\..\components\finsh;applications;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\libraries\APM32E10x_Library\CMSIS\Include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc;..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\libraries\APM32E10x_Library\CMSIS\Include;.;board;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include;..\..\..\components\libc\compilers\common\include;..\libraries\Drivers;..\libraries\Drivers\config;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;board\ports;..\..\..\libcpu\arm\cortex-m3;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\drivers\phy;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\common;..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -688,9 +726,9 @@
- msh.c
+ cmd.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\cmd.c
@@ -702,9 +740,9 @@
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1038,16 +1114,16 @@
Libraries
- apm32e10x_eint.c
+ apm32e10x_misc.c
1
- ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c
+ ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c
- apm32e10x_misc.c
+ apm32e10x_eint.c
1
- ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c
+ ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c
@@ -1073,16 +1149,16 @@
- apm32e10x_rcm.c
+ apm32e10x_dma.c
1
- ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c
+ ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c
- apm32e10x_dma.c
+ apm32e10x_rcm.c
1
- ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c
+ ..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c
diff --git a/bsp/apm32/apm32f030r8-miniboard/project.ewp b/bsp/apm32/apm32f030r8-miniboard/project.ewp
index e0d213ce2e..c03dfe5b28 100644
--- a/bsp/apm32/apm32f030r8-miniboard/project.ewp
+++ b/bsp/apm32/apm32f030r8-miniboard/project.ewp
@@ -356,26 +356,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\include
CCStdIncCheck
@@ -1455,26 +1457,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\include
CCStdIncCheck
@@ -2258,7 +2262,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2279,10 +2289,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2309,13 +2319,13 @@
$PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2326,6 +2336,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2335,12 +2351,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2366,6 +2376,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
libcpu
@@ -2389,23 +2417,26 @@
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
+
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
-
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
-
-
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c
-
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f030r8-miniboard/project.uvprojx b/bsp/apm32/apm32f030r8-miniboard/project.uvprojx
index c4dd4234e5..970870c58c 100644
--- a/bsp/apm32/apm32f030r8-miniboard/project.uvprojx
+++ b/bsp/apm32/apm32f030r8-miniboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, APM32F030x8
+ APM32F030x8, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\libcpu\arm\cortex-m0;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\..\..\components\libc\compilers\common\include;.;..\libraries\Drivers\config;..\..\..\components\finsh;..\libraries\Drivers;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;applications;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\components\finsh;applications;..\..\..\components\libc\posix\io\epoll;.;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\smp_call;board;..\..\..\components\drivers\phy;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\libraries\Drivers\config;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\libraries\Drivers;..\..\..\components\libc\posix\io\eventfd
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -688,9 +726,9 @@
- msh.c
+ cmd.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\cmd.c
@@ -702,9 +740,9 @@
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1031,16 +1107,9 @@
Libraries
- apm32f0xx_eint.c
+ apm32f0xx_rcm.c
1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
-
-
-
-
- apm32f0xx_misc.c
- 1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
@@ -1052,16 +1121,9 @@
- system_apm32f0xx.c
+ apm32f0xx_misc.c
1
- ..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
-
-
-
-
- apm32f0xx_usart.c
- 1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
@@ -1073,9 +1135,23 @@
- apm32f0xx_rcm.c
+ apm32f0xx_eint.c
1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
+
+
+
+
+ apm32f0xx_usart.c
+ 1
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c
+
+
+
+
+ system_apm32f0xx.c
+ 1
+ ..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
diff --git a/bsp/apm32/apm32f051r8-evalboard/project.ewp b/bsp/apm32/apm32f051r8-evalboard/project.ewp
index a84fcdf51e..d76ba794f5 100644
--- a/bsp/apm32/apm32f051r8-evalboard/project.ewp
+++ b/bsp/apm32/apm32f051r8-evalboard/project.ewp
@@ -357,26 +357,28 @@
CCIncludePath2
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\board\ports
$PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\finsh
CCStdIncCheck
@@ -1457,26 +1459,28 @@
CCIncludePath2
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\board\ports
$PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\finsh
CCStdIncCheck
@@ -2260,7 +2264,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2281,10 +2291,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2308,16 +2318,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2328,6 +2338,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2337,12 +2353,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2368,6 +2378,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2385,29 +2413,32 @@
Libraries
-
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
-
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
-
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
-
$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c
+
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f051r8-evalboard/project.uvprojx b/bsp/apm32/apm32f051r8-evalboard/project.uvprojx
index 122ed96918..70f2dd7240 100644
--- a/bsp/apm32/apm32f051r8-evalboard/project.uvprojx
+++ b/bsp/apm32/apm32f051r8-evalboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, APM32F051x8, __RTTHREAD__
+ RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, APM32F051x8, __STDC_LIMIT_MACROS, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__
- ..\..\..\libcpu\arm\cortex-m0;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\Drivers;..\..\..\components\libc\compilers\common\include;..\libraries\Drivers\config;applications;.;board;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;board\ports;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc
+ board;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\posix\io\epoll;applications;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\drivers\include;.;..\..\..\components\drivers\smp_call;..\libraries\Drivers\config;..\..\..\libcpu\arm\cortex-m0;..\libraries\Drivers;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\common;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board\ports;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\..\..\components\finsh
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -679,6 +717,13 @@
Finsh
+
+
+ msh_parse.c
+ 1
+ ..\..\..\components\finsh\msh_parse.c
+
+
shell.c
@@ -693,13 +738,6 @@
..\..\..\components\finsh\msh.c
-
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
-
-
cmd.c
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1029,34 +1105,6 @@
Libraries
-
-
- apm32f0xx_eint.c
- 1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
-
-
-
-
- apm32f0xx_misc.c
- 1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
-
-
-
-
- apm32f0xx_gpio.c
- 1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
-
-
-
-
- system_apm32f0xx.c
- 1
- ..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
-
-
apm32f0xx_usart.c
@@ -1078,6 +1126,34 @@
..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+
+
+ system_apm32f0xx.c
+ 1
+ ..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
+
+
+
+
+ apm32f0xx_misc.c
+ 1
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
+
+
+
+
+ apm32f0xx_eint.c
+ 1
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
+
+
+
+
+ apm32f0xx_gpio.c
+ 1
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
+
+
diff --git a/bsp/apm32/apm32f072vb-miniboard/project.ewp b/bsp/apm32/apm32f072vb-miniboard/project.ewp
index d45cf9a48e..933c6c38b7 100644
--- a/bsp/apm32/apm32f072vb-miniboard/project.ewp
+++ b/bsp/apm32/apm32f072vb-miniboard/project.ewp
@@ -356,27 +356,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
CCStdIncCheck
@@ -1456,27 +1458,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
CCStdIncCheck
@@ -2260,7 +2264,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2281,10 +2291,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2310,15 +2320,15 @@
$PROJ_DIR$\..\..\..\components\finsh\shell.c
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
$PROJ_DIR$\..\..\..\components\finsh\msh.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
-
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
Kernel
@@ -2328,6 +2338,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2337,12 +2353,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2368,6 +2378,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2386,16 +2414,19 @@
Libraries
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c
@@ -2403,11 +2434,11 @@
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c
-
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
-
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f072vb-miniboard/project.uvprojx b/bsp/apm32/apm32f072vb-miniboard/project.uvprojx
index b244010ae1..07184adef0 100644
--- a/bsp/apm32/apm32f072vb-miniboard/project.uvprojx
+++ b/bsp/apm32/apm32f072vb-miniboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, APM32F072xB
+ __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, RT_USING_ARMLIBC, APM32F072xB, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER
- ..\..\..\libcpu\arm\cortex-m0;.;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\Drivers;..\..\..\components\libc\compilers\common\include;..\libraries\Drivers\config;board\ports;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;board;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc
+ ..\libraries\APM32F0xx_Library\CMSIS\Include;board;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;.;..\..\..\components\finsh;..\libraries\Drivers;..\..\..\libcpu\arm\common;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\cortex-m0;applications;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension;..\..\..\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\libraries\Drivers\config;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;board\ports
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -681,9 +719,9 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -695,16 +733,16 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1031,16 +1107,9 @@
Libraries
- apm32f0xx_eint.c
+ apm32f0xx_rcm.c
1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
-
-
-
-
- apm32f0xx_misc.c
- 1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
@@ -1050,13 +1119,6 @@
..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
-
-
- system_apm32f0xx.c
- 1
- ..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
-
-
apm32f0xx_usart.c
@@ -1073,9 +1135,23 @@
- apm32f0xx_rcm.c
+ system_apm32f0xx.c
1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+ ..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
+
+
+
+
+ apm32f0xx_misc.c
+ 1
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
+
+
+
+
+ apm32f0xx_eint.c
+ 1
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
diff --git a/bsp/apm32/apm32f091vc-miniboard/project.ewp b/bsp/apm32/apm32f091vc-miniboard/project.ewp
index 8b0f72946e..d1496c7d6b 100644
--- a/bsp/apm32/apm32f091vc-miniboard/project.ewp
+++ b/bsp/apm32/apm32f091vc-miniboard/project.ewp
@@ -356,27 +356,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
$PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
+ $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\board
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -1456,27 +1458,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
$PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include
+ $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\board
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -2260,7 +2264,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2281,10 +2291,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2308,7 +2318,7 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2317,7 +2327,7 @@
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2328,6 +2338,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2337,12 +2353,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2368,6 +2378,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
libcpu
@@ -2386,22 +2414,22 @@
Libraries
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c
- $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c
+ $PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
@@ -2410,4 +2438,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f091vc-miniboard/project.uvprojx b/bsp/apm32/apm32f091vc-miniboard/project.uvprojx
index 8a995d6160..7bdca683ad 100644
--- a/bsp/apm32/apm32f091vc-miniboard/project.uvprojx
+++ b/bsp/apm32/apm32f091vc-miniboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, APM32F091xC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, APM32F091xC, RT_USING_LIBC, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
- ..\..\..\libcpu\arm\cortex-m0;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\Drivers;..\..\..\components\libc\compilers\common\include;board;..\libraries\Drivers\config;.;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;board\ports;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\compilers\common\include;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m0;applications;..\..\..\libcpu\arm\common;board\ports;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\Drivers\config;.;..\libraries\Drivers;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;board;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\..\..\components\libc\compilers\common\extension
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1031,9 +1107,16 @@
Libraries
- apm32f0xx_eint.c
+ apm32f0xx_rcm.c
1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+
+
+
+
+ system_apm32f0xx.c
+ 1
+ ..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
@@ -1050,13 +1133,6 @@
..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c
-
-
- system_apm32f0xx.c
- 1
- ..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c
-
-
apm32f0xx_usart.c
@@ -1066,16 +1142,16 @@
- apm32f0xx_syscfg.c
+ apm32f0xx_eint.c
1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c
- apm32f0xx_rcm.c
+ apm32f0xx_syscfg.c
1
- ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c
+ ..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c
diff --git a/bsp/apm32/apm32f103vb-miniboard/project.ewp b/bsp/apm32/apm32f103vb-miniboard/project.ewp
index 5cec65a487..8e2c61c394 100644
--- a/bsp/apm32/apm32f103vb-miniboard/project.ewp
+++ b/bsp/apm32/apm32f103vb-miniboard/project.ewp
@@ -352,28 +352,30 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
$PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -1453,28 +1455,30 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
$PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -2262,7 +2266,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2283,10 +2293,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2310,16 +2320,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2330,6 +2340,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2339,12 +2355,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2370,6 +2380,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2391,28 +2419,31 @@
Libraries
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c
-
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
-
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c
+
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f103vb-miniboard/project.uvprojx b/bsp/apm32/apm32f103vb-miniboard/project.uvprojx
index d8a76eaa29..64e36ca05d 100644
--- a/bsp/apm32/apm32f103vb-miniboard/project.uvprojx
+++ b/bsp/apm32/apm32f103vb-miniboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, APM32F10X_HD
+ __RTTHREAD__, USE_STDPERIPH_DRIVER, RT_USING_LIBC, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, APM32F10X_HD
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;board\ports;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\libraries\APM32F10x_Library\CMSIS\Include;..\libraries\Drivers;board;.;..\libraries\Drivers\config;applications;..\..\..\components\finsh;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc
+ applications;..\..\..\include;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\..\..\components\finsh;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\CMSIS\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension;..\libraries\Drivers\config;.;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\libraries\Drivers;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;board;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\phy;board\ports;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\components\drivers\include
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -679,13 +717,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -707,6 +738,13 @@
..\..\..\components\finsh\cmd.c
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
Kernel
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
@@ -1038,16 +1114,30 @@
Libraries
- system_apm32f10x.c
+ apm32f10x_rcm.c
1
- ..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
+ ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
- apm32f10x_rcm.c
+ apm32f10x_dma.c
1
- ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
+ ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c
+
+
+
+
+ apm32f10x_gpio.c
+ 1
+ ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c
+
+
+
+
+ system_apm32f10x.c
+ 1
+ ..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
@@ -1071,20 +1161,6 @@
..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
-
-
- apm32f10x_gpio.c
- 1
- ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c
-
-
-
-
- apm32f10x_dma.c
- 1
- ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c
-
-
diff --git a/bsp/apm32/apm32f103xe-minibroard/project.ewp b/bsp/apm32/apm32f103xe-minibroard/project.ewp
index 80f623ea5e..3b0cca99a1 100644
--- a/bsp/apm32/apm32f103xe-minibroard/project.ewp
+++ b/bsp/apm32/apm32f103xe-minibroard/project.ewp
@@ -354,28 +354,30 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
CCStdIncCheck
@@ -1440,28 +1442,30 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
CCStdIncCheck
@@ -2232,7 +2236,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2253,10 +2263,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2283,13 +2293,13 @@
$PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2300,6 +2310,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2309,12 +2325,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2340,6 +2350,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
libcpu
@@ -2360,29 +2388,32 @@
Libraries
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
-
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
-
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c
-
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f103xe-minibroard/project.uvprojx b/bsp/apm32/apm32f103xe-minibroard/project.uvprojx
index 2c27db8579..e1d91ef673 100644
--- a/bsp/apm32/apm32f103xe-minibroard/project.uvprojx
+++ b/bsp/apm32/apm32f103xe-minibroard/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, APM32F10X_HD
+ RT_USING_LIBC, USE_STDPERIPH_DRIVER, APM32F10X_HD, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_ARMLIBC
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;..\libraries\APM32F10x_Library\CMSIS\Include;..\libraries\Drivers;board\ports;..\..\..\components\libc\compilers\common\include;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\libraries\Drivers\config;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;.;board;..\..\..\components\drivers\include;applications;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\libc\compilers\common\include;..\libraries\Drivers\config;..\libraries\Drivers;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\..\..\components\libc\compilers\common\extension;board\ports;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\drivers\include;board;..\..\..\components\libc\posix\ipc;..\libraries\APM32F10x_Library\CMSIS\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;.;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\libcpu\arm\common;..\..\..\components\drivers\phy;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\smp_call;..\..\..\include;..\..\..\components\finsh;applications
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -678,20 +716,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -706,6 +730,20 @@
..\..\..\components\finsh\cmd.c
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -747,6 +785,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -804,44 +880,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -995,6 +1033,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1035,20 +1111,6 @@
Libraries
-
-
- system_apm32f10x.c
- 1
- ..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
-
-
-
-
- apm32f10x_rcm.c
- 1
- ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
-
-
apm32f10x_misc.c
@@ -1065,9 +1127,9 @@
- apm32f10x_eint.c
+ system_apm32f10x.c
1
- ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
+ ..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
@@ -1077,6 +1139,20 @@
..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c
+
+
+ apm32f10x_rcm.c
+ 1
+ ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
+
+
+
+
+ apm32f10x_eint.c
+ 1
+ ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
+
+
apm32f10x_dma.c
diff --git a/bsp/apm32/apm32f107vc-evalboard/project.ewp b/bsp/apm32/apm32f107vc-evalboard/project.ewp
index b6df615df8..ae6681cff0 100644
--- a/bsp/apm32/apm32f107vc-evalboard/project.ewp
+++ b/bsp/apm32/apm32f107vc-evalboard/project.ewp
@@ -352,28 +352,30 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
+ $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
+ $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -1453,28 +1455,30 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
+ $PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
+ $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -2262,7 +2266,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2283,10 +2293,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2330,6 +2340,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2339,12 +2355,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2370,6 +2380,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -2390,29 +2418,32 @@
Libraries
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
-
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
-
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c
-
-
- $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
-
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
+
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c
+
+ $PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c
+
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f107vc-evalboard/project.uvprojx b/bsp/apm32/apm32f107vc-evalboard/project.uvprojx
index a523336e8d..c517d952d7 100644
--- a/bsp/apm32/apm32f107vc-evalboard/project.uvprojx
+++ b/bsp/apm32/apm32f107vc-evalboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- APM32F10X_CL, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, APM32F10X_CL, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__, __STDC_LIMIT_MACROS
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;board\ports;..\libraries\APM32F10x_Library\CMSIS\Include;..\libraries\Drivers;..\..\..\components\libc\compilers\common\include;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;board;..\libraries\Drivers\config;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;.;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;applications;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;applications;..\..\..\components\finsh;..\..\..\components\libc\posix\io\eventfd;..\libraries\Drivers\config;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\libcpu\arm\cortex-m3;board;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension;.;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;board\ports;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\include;..\libraries\APM32F10x_Library\CMSIS\Include;..\libraries\Drivers
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -679,13 +717,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -695,16 +726,23 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ msh_parse.c
+ 1
+ ..\..\..\components\finsh\msh_parse.c
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1038,9 +1114,16 @@
Libraries
- system_apm32f10x.c
+ apm32f10x_misc.c
1
- ..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
+ ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c
+
+
+
+
+ apm32f10x_dma.c
+ 1
+ ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c
@@ -1050,13 +1133,6 @@
..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c
-
-
- apm32f10x_misc.c
- 1
- ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c
-
-
apm32f10x_usart.c
@@ -1080,9 +1156,9 @@
- apm32f10x_dma.c
+ system_apm32f10x.c
1
- ..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c
+ ..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c
diff --git a/bsp/apm32/apm32f407ig-minibroard/project.ewp b/bsp/apm32/apm32f407ig-minibroard/project.ewp
index b01f024fbb..a2849c6ba0 100644
--- a/bsp/apm32/apm32f407ig-minibroard/project.ewp
+++ b/bsp/apm32/apm32f407ig-minibroard/project.ewp
@@ -354,27 +354,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\.
$PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc
$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
CCStdIncCheck
@@ -1439,27 +1441,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\.
$PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc
$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
CCStdIncCheck
@@ -2230,7 +2234,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2251,10 +2261,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2278,16 +2288,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2298,6 +2308,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2307,12 +2323,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2338,6 +2348,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -2359,13 +2387,16 @@
Libraries
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c
@@ -2373,17 +2404,17 @@
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c
-
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c
-
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f407ig-minibroard/project.uvprojx b/bsp/apm32/apm32f407ig-minibroard/project.uvprojx
index 5cee83c6ec..a67030dcbb 100644
--- a/bsp/apm32/apm32f407ig-minibroard/project.uvprojx
+++ b/bsp/apm32/apm32f407ig-minibroard/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, APM32F40X, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __CLK_TCK=RT_TICK_PER_SECOND, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, APM32F40X, RT_USING_ARMLIBC
- ..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc;..\libraries\Drivers;..\..\..\components\libc\compilers\common\include;..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include;..\libraries\Drivers\config;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;applications;.;board
+ .;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc;..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc;applications;..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\ipc;..\..\..\include;..\..\..\components\drivers\include;board;..\libraries\APM32F4xx_Library\CMSIS\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\libraries\Drivers\config;..\libraries\Drivers
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -680,9 +718,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
@@ -701,9 +739,9 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -747,6 +785,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -804,44 +880,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -995,6 +1033,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1035,6 +1111,13 @@
Libraries
+
+
+ apm32f4xx_eint.c
+ 1
+ ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c
+
+
apm32f4xx_usart.c
@@ -1042,6 +1125,27 @@
..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c
+
+
+ apm32f4xx_misc.c
+ 1
+ ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c
+
+
+
+
+ apm32f4xx_dma.c
+ 1
+ ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c
+
+
+
+
+ apm32f4xx_gpio.c
+ 1
+ ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c
+
+
apm32f4xx_syscfg.c
@@ -1056,34 +1160,6 @@
..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c
-
-
- apm32f4xx_dma.c
- 1
- ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c
-
-
-
-
- apm32f4xx_eint.c
- 1
- ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c
-
-
-
-
- apm32f4xx_misc.c
- 1
- ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c
-
-
-
-
- apm32f4xx_gpio.c
- 1
- ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c
-
-
system_apm32f4xx.c
diff --git a/bsp/apm32/apm32f407zg-evalboard/project.ewp b/bsp/apm32/apm32f407zg-evalboard/project.ewp
index 9aee2032ca..fe36ba84b2 100644
--- a/bsp/apm32/apm32f407zg-evalboard/project.ewp
+++ b/bsp/apm32/apm32f407zg-evalboard/project.ewp
@@ -352,27 +352,29 @@
CCIncludePath2
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include
- $PROJ_DIR$\.
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
@@ -1453,27 +1455,29 @@
CCIncludePath2
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\Drivers\config
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include
- $PROJ_DIR$\.
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
- $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
@@ -2262,7 +2266,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2283,10 +2293,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2310,16 +2320,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2330,6 +2340,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2339,12 +2355,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2370,6 +2380,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
libcpu
@@ -2390,6 +2418,9 @@
Libraries
+
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c
+
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c
@@ -2397,25 +2428,25 @@
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c
-
-
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c
$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c
-
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c
-
-
- $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c
-
$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c
+
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c
+
+
+ $PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c
+
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32f407zg-evalboard/project.uvprojx b/bsp/apm32/apm32f407zg-evalboard/project.uvprojx
index ed82a3ed30..944ab09509 100644
--- a/bsp/apm32/apm32f407zg-evalboard/project.uvprojx
+++ b/bsp/apm32/apm32f407zg-evalboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, APM32F40X, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ APM32F40X, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS
- ..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc;.;..\libraries\Drivers;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\common;..\libraries\Drivers\config;board\ports;..\..\..\components\finsh;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc;board;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\CMSIS\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\epoll;..\libraries\Drivers;applications;..\..\..\components\libc\compilers\common\include;..\libraries\APM32F4xx_Library\CMSIS\Include;..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\ipc;board\ports;..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\phy;..\..\..\components\finsh;..\..\..\components\libc\posix\io\poll;board;..\..\..\components\libc\posix\io\eventfd;..\libraries\Drivers\config;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\smp_call;..\..\..\include;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -679,6 +717,13 @@
Finsh
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
shell.c
@@ -700,13 +745,6 @@
..\..\..\components\finsh\msh_parse.c
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
Kernel
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1036,6 +1112,13 @@
Libraries
+
+
+ apm32f4xx_misc.c
+ 1
+ ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c
+
+
apm32f4xx_usart.c
@@ -1050,13 +1133,6 @@
..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c
-
-
- apm32f4xx_rcm.c
- 1
- ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c
-
-
apm32f4xx_dma.c
@@ -1066,16 +1142,16 @@
- apm32f4xx_eint.c
+ apm32f4xx_rcm.c
1
- ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c
+ ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c
- apm32f4xx_misc.c
+ apm32f4xx_eint.c
1
- ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c
+ ..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c
diff --git a/bsp/apm32/apm32s103vb-miniboard/project.ewp b/bsp/apm32/apm32s103vb-miniboard/project.ewp
index 04d7a144cd..392a78017d 100644
--- a/bsp/apm32/apm32s103vb-miniboard/project.ewp
+++ b/bsp/apm32/apm32s103vb-miniboard/project.ewp
@@ -352,27 +352,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
$PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\APM32S10x_Library\CMSIS\Include
$PROJ_DIR$\..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
CCStdIncCheck
@@ -1452,27 +1454,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\board\ports
- $PROJ_DIR$\..\libraries\Drivers
$PROJ_DIR$\..\libraries\Drivers\config
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\Drivers
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\APM32S10x_Library\CMSIS\Include
$PROJ_DIR$\..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
CCStdIncCheck
@@ -2260,7 +2264,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2281,10 +2291,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2308,16 +2318,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2328,6 +2338,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2337,12 +2353,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2368,6 +2378,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
libcpu
@@ -2389,22 +2417,22 @@
Libraries
- $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_misc.c
-
-
- $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_gpio.c
-
-
- $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_rcm.c
-
-
- $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_dma.c
+ $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_usart.c
$PROJ_DIR$\..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Source\system_apm32s10x.c
- $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_usart.c
+ $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_rcm.c
+
+
+ $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_misc.c
+
+
+ $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_dma.c
+
+
+ $PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_gpio.c
$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_eint.c
@@ -2413,4 +2441,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/apm32/apm32s103vb-miniboard/project.uvprojx b/bsp/apm32/apm32s103vb-miniboard/project.uvprojx
index b4cd951fe2..782ca0bad0 100644
--- a/bsp/apm32/apm32s103vb-miniboard/project.uvprojx
+++ b/bsp/apm32/apm32s103vb-miniboard/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, APM32S10X_MD
+ RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, APM32S10X_MD, __RTTHREAD__, RT_USING_LIBC, __STDC_LIMIT_MACROS
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;..\libraries\APM32S10x_Library\CMSIS\Include;..\..\..\components\libc\posix\io\poll;board\ports;..\libraries\Drivers;..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc;..\..\..\components\libc\compilers\common\include;..\libraries\Drivers\config;..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Include;board;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;.;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc;applications
+ ..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\cortex-m3;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;board;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;board\ports;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Include;..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\APM32S10x_Library\CMSIS\Include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\libraries\Drivers\config;.;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\extension;..\libraries\Drivers;..\..\..\components\libc\posix\ipc
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -679,6 +717,13 @@
Finsh
+
+
+ msh_parse.c
+ 1
+ ..\..\..\components\finsh\msh_parse.c
+
+
shell.c
@@ -693,13 +738,6 @@
..\..\..\components\finsh\msh.c
-
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
-
-
cmd.c
@@ -748,6 +786,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -805,44 +881,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -996,6 +1034,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1036,6 +1112,13 @@
Libraries
+
+
+ apm32s10x_eint.c
+ 1
+ ..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_eint.c
+
+
apm32s10x_misc.c
@@ -1045,9 +1128,9 @@
- apm32s10x_gpio.c
+ apm32s10x_usart.c
1
- ..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_gpio.c
+ ..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_usart.c
@@ -1064,6 +1147,13 @@
..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_dma.c
+
+
+ apm32s10x_gpio.c
+ 1
+ ..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_gpio.c
+
+
system_apm32s10x.c
@@ -1071,20 +1161,6 @@
..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Source\system_apm32s10x.c
-
-
- apm32s10x_usart.c
- 1
- ..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_usart.c
-
-
-
-
- apm32s10x_eint.c
- 1
- ..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_eint.c
-
-
diff --git a/bsp/apollo2/project.uvprojx b/bsp/apollo2/project.uvprojx
index 88ab45403e..65b88fb677 100644
--- a/bsp/apollo2/project.uvprojx
+++ b/bsp/apollo2/project.uvprojx
@@ -368,9 +368,9 @@
1
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, AM_PART_APOLLO2, AM_PACKAGE_BGA
+ AM_PART_APOLLO2, RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, AM_PACKAGE_BGA
- ..\..\libcpu\arm\cortex-m4;..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\components\drivers\include;..\..\components\libc\compilers\common\include;..\..\components\drivers\include;..\..\libcpu\arm\common;board;libraries\drivers;libraries\startup;..\..\components\finsh;..\..\components\libc\posix\io\epoll;..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\components\drivers\include;..\..\include;..\..\components\libc\posix\io\eventfd;..\..\components\libc\posix\io\poll;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\spi;.;..\..\components\libc\compilers\common\extension;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\dfs\dfs_v1\include;..\..\components\libc\posix\ipc;applications;libraries\startup\cmsis\include
+ ..\..\components\drivers\include;..\..\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\drivers\spi;..\..\components\drivers\include;.;..\..\components\libc\compilers\common\include;..\..\components\drivers\include;..\..\libcpu\arm\common;..\..\components\drivers\include;board;..\..\components\dfs\dfs_v1\filesystems\devfs;libraries\drivers;..\..\components\drivers\include;applications;libraries\startup;..\..\components\libc\posix\io\eventfd;..\..\libcpu\arm\cortex-m4;..\..\components\dfs\dfs_v1\include;..\..\components\libc\posix\ipc;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension;..\..\components\drivers\smp_call;..\..\components\drivers\include;libraries\startup\cmsis\include;..\..\components\libc\posix\io\epoll;..\..\components\libc\posix\io\poll;..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\components\drivers\phy
@@ -502,9 +502,9 @@
- i2c-bit-ops.c
+ dev_i2c_bit_ops.c
1
- ..\..\components\drivers\i2c\i2c-bit-ops.c
+ ..\..\components\drivers\i2c\dev_i2c_bit_ops.c
@@ -521,9 +521,9 @@
- i2c_core.c
+ dev_i2c_core.c
1
- ..\..\components\drivers\i2c\i2c_core.c
+ ..\..\components\drivers\i2c\dev_i2c_core.c
@@ -540,9 +540,9 @@
- i2c_dev.c
+ dev_i2c_dev.c
1
- ..\..\components\drivers\i2c\i2c_dev.c
+ ..\..\components\drivers\i2c\dev_i2c_dev.c
@@ -559,9 +559,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\components\drivers\ipc\completion.c
+ ..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\components\drivers\ipc\condvar.c
@@ -692,9 +730,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\components\drivers\pin\pin.c
+ ..\..\components\drivers\pin\dev_pin.c
@@ -711,9 +749,9 @@
- rtc.c
+ dev_rtc.c
1
- ..\..\components\drivers\rtc\rtc.c
+ ..\..\components\drivers\rtc\dev_rtc.c
@@ -730,9 +768,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\components\drivers\serial\serial.c
+ ..\..\components\drivers\serial\dev_serial.c
@@ -749,9 +787,9 @@
- spi_core.c
+ dev_spi.c
1
- ..\..\components\drivers\spi\spi_core.c
+ ..\..\components\drivers\spi\dev_spi.c
@@ -768,9 +806,9 @@
- spi_dev.c
+ dev_spi_core.c
1
- ..\..\components\drivers\spi\spi_dev.c
+ ..\..\components\drivers\spi\dev_spi_core.c
@@ -788,27 +826,6 @@
Drivers
-
-
- led.c
- 1
- board\led.c
-
-
-
-
- uart.c
- 1
- board\uart.c
-
-
-
-
- board.c
- 1
- board\board.c
-
-
smbus.c
@@ -816,6 +833,20 @@
board\smbus.c
+
+
+ adc.c
+ 1
+ board\adc.c
+
+
+
+
+ flash.c
+ 1
+ board\flash.c
+
+
gpio.c
@@ -839,23 +870,9 @@
- adc.c
+ led.c
1
- board\adc.c
-
-
-
-
- flash.c
- 1
- board\flash.c
-
-
-
-
- board_rtc.c
- 1
- board\rtc.c
+ board\led.c
@@ -865,6 +882,13 @@
board\pwm.c
+
+
+ uart.c
+ 1
+ board\uart.c
+
+
i2c.c
@@ -872,6 +896,20 @@
board\i2c.c
+
+
+ rtc.c
+ 1
+ board\rtc.c
+
+
+
+
+ board.c
+ 1
+ board\board.c
+
+
Filesystem
@@ -880,6 +918,18 @@
devfs.c
1
..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -887,6 +937,18 @@
dfs.c
1
..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -894,6 +956,18 @@
dfs_file.c
1
..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -901,6 +975,18 @@
dfs_fs.c
1
..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -908,6 +994,18 @@
dfs_posix.c
1
..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -936,16 +1034,16 @@
- cmd.c
+ msh_file.c
1
- ..\..\components\finsh\cmd.c
+ ..\..\components\finsh\msh_file.c
- msh_file.c
+ cmd.c
1
- ..\..\components\finsh\msh_file.c
+ ..\..\components\finsh\cmd.c
@@ -989,6 +1087,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -1046,44 +1182,6 @@
-
-
- kstdio.c
- 1
- ..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1237,6 +1335,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\src\klibc\kstdio.c
+
+
+
libcpu
diff --git a/bsp/asm9260t/project.ewp b/bsp/asm9260t/project.ewp
index 134d3e06b8..1397009a36 100644
--- a/bsp/asm9260t/project.ewp
+++ b/bsp/asm9260t/project.ewp
@@ -343,22 +343,24 @@
CCIncludePath2
- $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\platform
- $PROJ_DIR$\..\..\components\libc\posix\ipc
- $PROJ_DIR$\drivers
$PROJ_DIR$\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\libcpu\arm\arm926
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
+ $PROJ_DIR$\drivers
$PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\libcpu\arm\arm926
+ $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\components\drivers\include
+ $PROJ_DIR$\platform
+ $PROJ_DIR$\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\libcpu\arm\common
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\components\finsh
CCStdIncCheck
@@ -1376,22 +1378,24 @@
CCIncludePath2
- $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\platform
- $PROJ_DIR$\..\..\components\libc\posix\ipc
- $PROJ_DIR$\drivers
$PROJ_DIR$\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\libcpu\arm\arm926
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
+ $PROJ_DIR$\drivers
$PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\libcpu\arm\arm926
+ $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\components\drivers\include
+ $PROJ_DIR$\platform
+ $PROJ_DIR$\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\libcpu\arm\common
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\components\finsh
CCStdIncCheck
@@ -2126,7 +2130,13 @@
$PROJ_DIR$\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\components\drivers\ipc\dataqueue.c
@@ -2147,7 +2157,7 @@
$PROJ_DIR$\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\components\drivers\serial\dev_serial.c
@@ -2185,15 +2195,15 @@
Finsh
+
+ $PROJ_DIR$\..\..\components\finsh\msh_parse.c
+
$PROJ_DIR$\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\components\finsh\msh.c
-
- $PROJ_DIR$\..\..\components\finsh\msh_parse.c
-
$PROJ_DIR$\..\..\components\finsh\cmd.c
@@ -2206,6 +2216,12 @@
$PROJ_DIR$\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\src\idle.c
@@ -2215,12 +2231,6 @@
$PROJ_DIR$\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\src\kservice.c
@@ -2252,6 +2262,24 @@
$PROJ_DIR$\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -2285,4 +2313,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/asm9260t/project.uvproj b/bsp/asm9260t/project.uvproj
index 0b6f218560..5b660ac4c3 100644
--- a/bsp/asm9260t/project.uvproj
+++ b/bsp/asm9260t/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC
- ..\..\components\finsh;..\..\components\libc\compilers\common\include;.;..\..\libcpu\arm\common;..\..\components\libc\compilers\common\extension;..\..\components\drivers\include;..\..\libcpu\arm\arm926;..\..\include;platform;..\..\components\libc\posix\io\eventfd;..\..\components\libc\posix\io\epoll;applications;..\..\components\libc\posix\ipc;..\..\components\libc\posix\io\poll;..\..\components\drivers\include;drivers;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension\fcntl\octal
+ ..\..\components\drivers\include;platform;..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\components\drivers\include;..\..\components\drivers\smp_call;drivers;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\io\eventfd;..\..\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\common\extension;applications;.;..\..\components\libc\compilers\common\include;..\..\components\libc\posix\ipc;..\..\libcpu\arm\common;..\..\components\drivers\include;..\..\components\libc\posix\io\epoll;..\..\libcpu\arm\arm926;..\..\components\drivers\phy
@@ -491,9 +491,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\components\drivers\ipc\completion.c
+ ..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\components\drivers\ipc\condvar.c
@@ -624,9 +662,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\components\drivers\serial\serial.c
+ ..\..\components\drivers\serial\dev_serial.c
@@ -719,9 +757,9 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\components\finsh\shell.c
+ ..\..\components\finsh\msh_parse.c
@@ -733,9 +771,9 @@
- msh_parse.c
+ shell.c
1
- ..\..\components\finsh\msh_parse.c
+ ..\..\components\finsh\shell.c
@@ -786,6 +824,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -843,44 +919,6 @@
-
-
- kstdio.c
- 1
- ..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1072,6 +1110,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\src\klibc\kstring.c
+
+
+
libcpu
diff --git a/bsp/at32/at32a403a-start/project.ewp b/bsp/at32/at32a403a-start/project.ewp
index 771c5356df..0ff42c33c7 100644
--- a/bsp/at32/at32a403a-start/project.ewp
+++ b/bsp/at32/at32a403a-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32A403AVGT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\usbd_library\inc
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\libraries\rt_drivers
$PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\usbd_library\inc
$PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32A403AVGT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\usbd_library\inc
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\libraries\rt_drivers
$PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\usbd_library\inc
$PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32a403a.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2219,13 +2211,13 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2287,18 +2279,18 @@
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
libcpu
@@ -2318,93 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_bpr.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support\system_at32a403a.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_rtc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_sdio.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_emac.c
-
-
- $PROJ_DIR$\..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_adc.c
-
-
POSIX
-
- smp
-
usbd_library
diff --git a/bsp/at32/at32a403a-start/project.uvproj b/bsp/at32/at32a403a-start/project.uvproj
index f4da62971b..b748346799 100644
--- a/bsp/at32/at32a403a-start/project.uvproj
+++ b/bsp/at32/at32a403a-start/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, AT32A403AVGT7, RT_USING_LIBC
+ RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, RT_USING_LIBC, AT32A403AVGT7, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\components\drivers\smp_call;board;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\epoll;..\libraries\rt_drivers;..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;applications;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;board\inc;.;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\common;..\libraries\AT32A403A_Firmware_Library\drivers\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\core_support
+ ..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\eventfd;board;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;applications;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc;.;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\libraries\rt_drivers\config;..\..\..\components\finsh;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;board\inc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32a403a.s
- 2
- ..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32a403a.s
-
-
drv_common.c
@@ -762,16 +755,16 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
- cmd.c
+ msh_parse.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1086,16 +1079,9 @@
klibc
- rt_vsscanf.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1114,9 +1100,16 @@
- kstdio.c
+ kstring.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1158,191 +1151,6 @@
-
- Libraries
-
-
- at32a403a_debug.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_debug.c
-
-
-
-
- at32a403a_adc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_adc.c
-
-
-
-
- at32a403a_misc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_misc.c
-
-
-
-
- at32a403a_dma.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_dma.c
-
-
-
-
- at32a403a_bpr.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_bpr.c
-
-
-
-
- at32a403a_wwdt.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_wwdt.c
-
-
-
-
- at32a403a_usb.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_usb.c
-
-
-
-
- at32a403a_spi.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_spi.c
-
-
-
-
- at32a403a_usart.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_usart.c
-
-
-
-
- at32a403a_xmc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_xmc.c
-
-
-
-
- at32a403a_emac.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_emac.c
-
-
-
-
- at32a403a_crc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_crc.c
-
-
-
-
- at32a403a_dac.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_dac.c
-
-
-
-
- at32a403a_crm.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_crm.c
-
-
-
-
- at32a403a_sdio.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_sdio.c
-
-
-
-
- at32a403a_exint.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_exint.c
-
-
-
-
- at32a403a_tmr.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_tmr.c
-
-
-
-
- at32a403a_i2c.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_i2c.c
-
-
-
-
- at32a403a_wdt.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_wdt.c
-
-
-
-
- at32a403a_gpio.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_gpio.c
-
-
-
-
- at32a403a_pwc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_pwc.c
-
-
-
-
- at32a403a_rtc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_rtc.c
-
-
-
-
- at32a403a_acc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_acc.c
-
-
-
-
- at32a403a_can.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_can.c
-
-
-
-
- at32a403a_flash.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_flash.c
-
-
-
-
- system_at32a403a.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support\system_at32a403a.c
-
-
-
diff --git a/bsp/at32/at32a403a-start/project.uvprojx b/bsp/at32/at32a403a-start/project.uvprojx
index d20f6e0289..74745bd344 100644
--- a/bsp/at32/at32a403a-start/project.uvprojx
+++ b/bsp/at32/at32a403a-start/project.uvprojx
@@ -334,9 +334,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, AT32A403AVGT7, __STDC_LIMIT_MACROS, RT_USING_LIBC
+ RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, AT32A403AVGT7
- ..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\drivers\phy;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32A403A_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\include;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\libc\compilers\common\extension;board;..\..\..\components\finsh;..\..\..\components\drivers\include;applications;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\epoll;.;..\..\..\libcpu\arm\common;..\libraries\rt_drivers\config;board\inc;..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll
+ board\inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;.;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\include;applications;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\finsh;board;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;..\libraries\rt_drivers\config;..\..\..\libcpu\arm\common
@@ -693,13 +693,6 @@
board\src\board.c
-
-
- startup_at32a403a.s
- 2
- ..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32a403a.s
-
-
drv_common.c
@@ -726,16 +719,16 @@
Finsh
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
@@ -747,9 +740,9 @@
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1136,191 +1129,6 @@
-
- Libraries
-
-
- at32a403a_tmr.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_tmr.c
-
-
-
-
- at32a403a_exint.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_exint.c
-
-
-
-
- at32a403a_usart.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_usart.c
-
-
-
-
- at32a403a_wdt.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_wdt.c
-
-
-
-
- at32a403a_debug.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_debug.c
-
-
-
-
- at32a403a_misc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_misc.c
-
-
-
-
- at32a403a_dma.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_dma.c
-
-
-
-
- at32a403a_crm.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_crm.c
-
-
-
-
- at32a403a_adc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_adc.c
-
-
-
-
- at32a403a_dac.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_dac.c
-
-
-
-
- at32a403a_rtc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_rtc.c
-
-
-
-
- at32a403a_emac.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_emac.c
-
-
-
-
- at32a403a_acc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_acc.c
-
-
-
-
- at32a403a_gpio.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_gpio.c
-
-
-
-
- at32a403a_spi.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_spi.c
-
-
-
-
- system_at32a403a.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\cmsis\cm4\device_support\system_at32a403a.c
-
-
-
-
- at32a403a_bpr.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_bpr.c
-
-
-
-
- at32a403a_xmc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_xmc.c
-
-
-
-
- at32a403a_flash.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_flash.c
-
-
-
-
- at32a403a_wwdt.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_wwdt.c
-
-
-
-
- at32a403a_can.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_can.c
-
-
-
-
- at32a403a_pwc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_pwc.c
-
-
-
-
- at32a403a_crc.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_crc.c
-
-
-
-
- at32a403a_sdio.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_sdio.c
-
-
-
-
- at32a403a_usb.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_usb.c
-
-
-
-
- at32a403a_i2c.c
- 1
- ..\libraries\AT32A403A_Firmware_Library\drivers\src\at32a403a_i2c.c
-
-
-
diff --git a/bsp/at32/at32a423-start/project.ewp b/bsp/at32/at32a423-start/project.ewp
index 0cfc9f2c9b..b176179deb 100644
--- a/bsp/at32/at32a423-start/project.ewp
+++ b/bsp/at32/at32a423-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32A423VCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32A423VCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32a423.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2219,16 +2211,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2290,15 +2282,15 @@
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
libcpu
@@ -2318,87 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support\system_at32a423.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_tmr.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32a423-start/project.uvproj b/bsp/at32/at32a423-start/project.uvproj
index 0e45904063..7dbed455ac 100644
--- a/bsp/at32/at32a423-start/project.uvproj
+++ b/bsp/at32/at32a423-start/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, AT32A423VCT7, __CLK_TCK=RT_TICK_PER_SECOND
+ AT32A423VCT7, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC
- ..\libraries\rt_drivers\config;board\inc;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\poll;..\libraries\AT32A423_Firmware_Library\cmsis\cm4\core_support;..\libraries\usbotg_library\inc;..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\drivers\include;.;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\phy;board;applications;..\libraries\AT32A423_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\epoll;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include
+ ..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\cortex-m4;board;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\libraries\usbotg_library\inc;.;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\common;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\..\include;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension;board\inc
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32a423.s
- 2
- ..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32a423.s
-
-
drv_common.c
@@ -748,16 +741,16 @@
Finsh
- shell.c
+ msh.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh.c
- msh.c
+ shell.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\shell.c
@@ -1084,13 +1077,6 @@
klibc
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
kstring.c
@@ -1100,9 +1086,9 @@
- kstdio.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1114,9 +1100,16 @@
- rt_vsnprintf_tiny.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1158,177 +1151,6 @@
-
- Libraries
-
-
- at32a423_pwc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_pwc.c
-
-
-
-
- at32a423_crm.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_crm.c
-
-
-
-
- at32a423_i2c.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_i2c.c
-
-
-
-
- at32a423_adc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_adc.c
-
-
-
-
- at32a423_usb.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_usb.c
-
-
-
-
- at32a423_dma.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_dma.c
-
-
-
-
- at32a423_ertc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_ertc.c
-
-
-
-
- at32a423_acc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_acc.c
-
-
-
-
- system_at32a423.c
- 1
- ..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support\system_at32a423.c
-
-
-
-
- at32a423_tmr.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_tmr.c
-
-
-
-
- at32a423_xmc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_xmc.c
-
-
-
-
- at32a423_wwdt.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_wwdt.c
-
-
-
-
- at32a423_crc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_crc.c
-
-
-
-
- at32a423_can.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_can.c
-
-
-
-
- at32a423_dac.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_dac.c
-
-
-
-
- at32a423_wdt.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_wdt.c
-
-
-
-
- at32a423_gpio.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_gpio.c
-
-
-
-
- at32a423_debug.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_debug.c
-
-
-
-
- at32a423_flash.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_flash.c
-
-
-
-
- at32a423_exint.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_exint.c
-
-
-
-
- at32a423_misc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_misc.c
-
-
-
-
- at32a423_scfg.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_scfg.c
-
-
-
-
- at32a423_spi.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_spi.c
-
-
-
-
- at32a423_usart.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_usart.c
-
-
-
diff --git a/bsp/at32/at32a423-start/project.uvprojx b/bsp/at32/at32a423-start/project.uvprojx
index 304951cf73..69971ef4cb 100644
--- a/bsp/at32/at32a423-start/project.uvprojx
+++ b/bsp/at32/at32a423-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, __RTTHREAD__, RT_USING_ARMLIBC, AT32A423VCT7, __STDC_LIMIT_MACROS
+ __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, AT32A423VCT7, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC
- ..\..\..\components\drivers\include;board;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc;..\libraries\rt_drivers;board\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\cortex-m4;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\finsh;..\..\..\components\drivers\include;.;..\libraries\usbotg_library\inc;..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32A423_Firmware_Library\drivers\inc;..\..\..\include;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\libraries\AT32A423_Firmware_Library\cmsis\cm4\core_support
+ ..\..\..\include;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;board\inc;..\..\..\components\libc\posix\io\eventfd;..\libraries\usbotg_library\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\poll;..\libraries\rt_drivers;board;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m4;applications;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;.;..\..\..\libcpu\arm\common
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32a423.s
- 2
- ..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32a423.s
-
-
drv_common.c
@@ -723,13 +716,6 @@
Finsh
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -751,6 +737,13 @@
..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -1063,16 +1056,16 @@
klibc
- rt_vsscanf.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kstring.c
- kstring.c
+ kstdio.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1091,9 +1084,9 @@
- kstdio.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1135,177 +1128,6 @@
-
- Libraries
-
-
- at32a423_scfg.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_scfg.c
-
-
-
-
- at32a423_dma.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_dma.c
-
-
-
-
- at32a423_xmc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_xmc.c
-
-
-
-
- at32a423_i2c.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_i2c.c
-
-
-
-
- at32a423_pwc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_pwc.c
-
-
-
-
- system_at32a423.c
- 1
- ..\libraries\AT32A423_Firmware_Library\cmsis\cm4\device_support\system_at32a423.c
-
-
-
-
- at32a423_wwdt.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_wwdt.c
-
-
-
-
- at32a423_usb.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_usb.c
-
-
-
-
- at32a423_acc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_acc.c
-
-
-
-
- at32a423_ertc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_ertc.c
-
-
-
-
- at32a423_crc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_crc.c
-
-
-
-
- at32a423_crm.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_crm.c
-
-
-
-
- at32a423_dac.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_dac.c
-
-
-
-
- at32a423_misc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_misc.c
-
-
-
-
- at32a423_tmr.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_tmr.c
-
-
-
-
- at32a423_usart.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_usart.c
-
-
-
-
- at32a423_can.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_can.c
-
-
-
-
- at32a423_debug.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_debug.c
-
-
-
-
- at32a423_wdt.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_wdt.c
-
-
-
-
- at32a423_adc.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_adc.c
-
-
-
-
- at32a423_spi.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_spi.c
-
-
-
-
- at32a423_exint.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_exint.c
-
-
-
-
- at32a423_gpio.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_gpio.c
-
-
-
-
- at32a423_flash.c
- 1
- ..\libraries\AT32A423_Firmware_Library\drivers\src\at32a423_flash.c
-
-
-
diff --git a/bsp/at32/at32f402-start/project.ewp b/bsp/at32/at32f402-start/project.ewp
index b8dc92d266..9c21480bd3 100644
--- a/bsp/at32/at32f402-start/project.ewp
+++ b/bsp/at32/at32f402-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F402RCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\inc
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\board
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F402RCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\inc
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\board
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f402_405.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2218,18 +2210,18 @@
Finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
$PROJ_DIR$\..\..\..\components\finsh\shell.c
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
Kernel
@@ -2285,20 +2277,20 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
$PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
libcpu
@@ -2318,84 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\system_at32f402_405.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_qspi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usb.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f402-start/project.uvproj b/bsp/at32/at32f402-start/project.uvproj
index 3d65e024b0..9bbd9c4568 100644
--- a/bsp/at32/at32f402-start/project.uvproj
+++ b/bsp/at32/at32f402-start/project.uvproj
@@ -357,9 +357,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, AT32F402RCT7
+ __CLK_TCK=RT_TICK_PER_SECOND, AT32F402RCT7, __RTTHREAD__, __STDC_LIMIT_MACROS, RT_USING_LIBC, RT_USING_ARMLIBC
- ..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\phy;..\..\..\components\finsh;board;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;applications;..\..\..\components\libc\compilers\common\include;..\libraries\rt_drivers\config;board\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support;..\..\..\libcpu\arm\common;..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F402_405_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\epoll;..\libraries\rt_drivers;.;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include
+ ..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;applications;..\libraries\rt_drivers;..\libraries\usbotg_library\inc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;.;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\ipc;board\inc;..\libraries\rt_drivers\config;..\..\..\components\drivers\phy;board
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f402_405.s
- 2
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f402_405.s
-
-
drv_common.c
@@ -748,16 +741,16 @@
Finsh
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -769,9 +762,9 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
@@ -1084,20 +1077,6 @@
klibc
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
rt_vsnprintf_tiny.c
@@ -1105,6 +1084,13 @@
..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
kstdio.c
@@ -1114,9 +1100,16 @@
- kstring.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1158,170 +1151,6 @@
-
- Libraries
-
-
- at32f402_405_gpio.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_gpio.c
-
-
-
-
- at32f402_405_can.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_can.c
-
-
-
-
- at32f402_405_crm.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crm.c
-
-
-
-
- at32f402_405_crc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crc.c
-
-
-
-
- at32f402_405_usart.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usart.c
-
-
-
-
- at32f402_405_i2c.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_i2c.c
-
-
-
-
- at32f402_405_flash.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_flash.c
-
-
-
-
- at32f402_405_exint.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_exint.c
-
-
-
-
- at32f402_405_acc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_acc.c
-
-
-
-
- at32f402_405_qspi.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_qspi.c
-
-
-
-
- at32f402_405_scfg.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_scfg.c
-
-
-
-
- at32f402_405_debug.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_debug.c
-
-
-
-
- at32f402_405_tmr.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_tmr.c
-
-
-
-
- at32f402_405_wdt.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wdt.c
-
-
-
-
- at32f402_405_ertc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_ertc.c
-
-
-
-
- at32f402_405_usb.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usb.c
-
-
-
-
- at32f402_405_pwc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_pwc.c
-
-
-
-
- at32f402_405_misc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_misc.c
-
-
-
-
- at32f402_405_adc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_adc.c
-
-
-
-
- system_at32f402_405.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\system_at32f402_405.c
-
-
-
-
- at32f402_405_wwdt.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wwdt.c
-
-
-
-
- at32f402_405_dma.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_dma.c
-
-
-
-
- at32f402_405_spi.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_spi.c
-
-
-
diff --git a/bsp/at32/at32f402-start/project.uvprojx b/bsp/at32/at32f402-start/project.uvprojx
index c1b1acd756..5407d070be 100644
--- a/bsp/at32/at32f402-start/project.uvprojx
+++ b/bsp/at32/at32f402-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- RT_USING_ARMLIBC, RT_USING_LIBC, AT32F402RCT7, __CLK_TCK=RT_TICK_PER_SECOND, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, __RTTHREAD__
+ __RTTHREAD__, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, AT32F402RCT7, __STDC_LIMIT_MACROS
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F402_405_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;applications;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\core_support;..\libraries\usbotg_library\inc;.;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\rt_drivers;..\..\..\include;..\..\..\components\drivers\smp_call;board;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;board\inc;..\..\..\components\drivers\phy;..\..\..\components\finsh
+ ..\..\..\components\drivers\phy;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension;board;..\..\..\libcpu\arm\cortex-m4;.;..\libraries\usbotg_library\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\finsh;board\inc;..\..\..\components\drivers\include;..\..\..\include;..\libraries\rt_drivers\config;..\..\..\components\drivers\include
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f402_405.s
- 2
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f402_405.s
-
-
drv_common.c
@@ -1063,16 +1056,9 @@
klibc
- kstdio.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1084,9 +1070,9 @@
- rt_vsnprintf_tiny.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstring.c
@@ -1096,6 +1082,13 @@
..\..\..\src\klibc\rt_vsscanf.c
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -1135,170 +1128,6 @@
-
- Libraries
-
-
- at32f402_405_flash.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_flash.c
-
-
-
-
- system_at32f402_405.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\system_at32f402_405.c
-
-
-
-
- at32f402_405_gpio.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_gpio.c
-
-
-
-
- at32f402_405_adc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_adc.c
-
-
-
-
- at32f402_405_dma.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_dma.c
-
-
-
-
- at32f402_405_spi.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_spi.c
-
-
-
-
- at32f402_405_scfg.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_scfg.c
-
-
-
-
- at32f402_405_misc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_misc.c
-
-
-
-
- at32f402_405_i2c.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_i2c.c
-
-
-
-
- at32f402_405_crc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crc.c
-
-
-
-
- at32f402_405_pwc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_pwc.c
-
-
-
-
- at32f402_405_wwdt.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wwdt.c
-
-
-
-
- at32f402_405_ertc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_ertc.c
-
-
-
-
- at32f402_405_debug.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_debug.c
-
-
-
-
- at32f402_405_crm.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crm.c
-
-
-
-
- at32f402_405_usb.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usb.c
-
-
-
-
- at32f402_405_qspi.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_qspi.c
-
-
-
-
- at32f402_405_acc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_acc.c
-
-
-
-
- at32f402_405_can.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_can.c
-
-
-
-
- at32f402_405_tmr.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_tmr.c
-
-
-
-
- at32f402_405_wdt.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wdt.c
-
-
-
-
- at32f402_405_exint.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_exint.c
-
-
-
-
- at32f402_405_usart.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usart.c
-
-
-
diff --git a/bsp/at32/at32f403a-start/project.ewp b/bsp/at32/at32f403a-start/project.ewp
index 5b3216e75b..bc30766109 100644
--- a/bsp/at32/at32f403a-start/project.ewp
+++ b/bsp/at32/at32f403a-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F403AVGT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\usbd_library\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\usbd_library\inc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F403AVGT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\usbd_library\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\usbd_library\inc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2222,10 +2214,10 @@
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2284,20 +2276,20 @@
klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -2318,93 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c
-
-
POSIX
-
- smp
-
usbd_library
diff --git a/bsp/at32/at32f403a-start/project.uvproj b/bsp/at32/at32f403a-start/project.uvproj
index 9960be8e5b..b76f286943 100644
--- a/bsp/at32/at32f403a-start/project.uvproj
+++ b/bsp/at32/at32f403a-start/project.uvproj
@@ -357,9 +357,9 @@
0
- USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, AT32F403AVGT7, RT_USING_LIBC, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __RTTHREAD__
+ __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, AT32F403AVGT7, __RTTHREAD__
- ..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\common;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support;applications;.;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\include;..\..\..\components\finsh;..\libraries\rt_drivers\config;..\..\..\libcpu\arm\cortex-m4;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;..\libraries\AT32F403A_407_Firmware_Library\drivers\inc;..\..\..\include;board;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\poll
+ ..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;applications;board;..\..\..\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\poll;..\..\..\components\finsh;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;board\inc;.;..\libraries\rt_drivers;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\include
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f403a_407.s
- 2
- ..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s
-
-
drv_common.c
@@ -746,20 +739,6 @@
Finsh
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
msh_parse.c
@@ -774,6 +753,20 @@
..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
Kernel
@@ -1084,13 +1077,6 @@
klibc
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
rt_vsnprintf_tiny.c
@@ -1112,6 +1098,13 @@
..\..\..\src\klibc\kstdio.c
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
kerrno.c
@@ -1158,191 +1151,6 @@
-
- Libraries
-
-
- at32f403a_407_spi.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c
-
-
-
-
- at32f403a_407_tmr.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c
-
-
-
-
- at32f403a_407_pwc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c
-
-
-
-
- at32f403a_407_rtc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c
-
-
-
-
- at32f403a_407_flash.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c
-
-
-
-
- at32f403a_407_sdio.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c
-
-
-
-
- at32f403a_407_dac.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c
-
-
-
-
- at32f403a_407_misc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c
-
-
-
-
- at32f403a_407_adc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c
-
-
-
-
- at32f403a_407_crc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c
-
-
-
-
- at32f403a_407_wdt.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c
-
-
-
-
- at32f403a_407_crm.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c
-
-
-
-
- system_at32f403a_407.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c
-
-
-
-
- at32f403a_407_emac.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c
-
-
-
-
- at32f403a_407_usart.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c
-
-
-
-
- at32f403a_407_i2c.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c
-
-
-
-
- at32f403a_407_acc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c
-
-
-
-
- at32f403a_407_exint.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c
-
-
-
-
- at32f403a_407_gpio.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c
-
-
-
-
- at32f403a_407_debug.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c
-
-
-
-
- at32f403a_407_xmc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c
-
-
-
-
- at32f403a_407_can.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c
-
-
-
-
- at32f403a_407_bpr.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c
-
-
-
-
- at32f403a_407_usb.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c
-
-
-
-
- at32f403a_407_wwdt.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c
-
-
-
-
- at32f403a_407_dma.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c
-
-
-
diff --git a/bsp/at32/at32f403a-start/project.uvprojx b/bsp/at32/at32f403a-start/project.uvprojx
index 250d8f1ad4..0f4e61f6f1 100644
--- a/bsp/at32/at32f403a-start/project.uvprojx
+++ b/bsp/at32/at32f403a-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, AT32F403AVGT7, USE_STDPERIPH_DRIVER
+ RT_USING_LIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, AT32F403AVGT7
- ..\..\..\components\drivers\include;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support;.;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\include;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\drivers\include;board\inc;..\libraries\usbd_library\inc;..\..\..\components\libc\compilers\common\extension;..\libraries\AT32F403A_407_Firmware_Library\drivers\inc;..\libraries\rt_drivers;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\phy;board;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\cortex-m4;applications;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\finsh
+ .;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\smp_call;..\libraries\usbd_library\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\finsh;board\inc;..\libraries\rt_drivers\config;board;..\..\..\components\libc\posix\io\eventfd;applications;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension;..\..\..\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\include
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f403a_407.s
- 2
- ..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s
-
-
drv_common.c
@@ -725,16 +718,16 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
- msh_parse.c
+ shell.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\shell.c
@@ -746,9 +739,9 @@
- cmd.c
+ msh_parse.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1068,20 +1061,6 @@
..\..\..\src\klibc\kstring.c
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
rt_vsnprintf_tiny.c
@@ -1096,6 +1075,20 @@
..\..\..\src\klibc\rt_vsscanf.c
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -1135,191 +1128,6 @@
-
- Libraries
-
-
- at32f403a_407_i2c.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c
-
-
-
-
- at32f403a_407_usb.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c
-
-
-
-
- at32f403a_407_dac.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c
-
-
-
-
- at32f403a_407_crm.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c
-
-
-
-
- at32f403a_407_debug.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c
-
-
-
-
- at32f403a_407_acc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c
-
-
-
-
- at32f403a_407_flash.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c
-
-
-
-
- at32f403a_407_wwdt.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c
-
-
-
-
- at32f403a_407_gpio.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c
-
-
-
-
- system_at32f403a_407.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c
-
-
-
-
- at32f403a_407_emac.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c
-
-
-
-
- at32f403a_407_crc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c
-
-
-
-
- at32f403a_407_xmc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c
-
-
-
-
- at32f403a_407_spi.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c
-
-
-
-
- at32f403a_407_can.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c
-
-
-
-
- at32f403a_407_wdt.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c
-
-
-
-
- at32f403a_407_rtc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c
-
-
-
-
- at32f403a_407_adc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c
-
-
-
-
- at32f403a_407_exint.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c
-
-
-
-
- at32f403a_407_misc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c
-
-
-
-
- at32f403a_407_pwc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c
-
-
-
-
- at32f403a_407_dma.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c
-
-
-
-
- at32f403a_407_bpr.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c
-
-
-
-
- at32f403a_407_tmr.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c
-
-
-
-
- at32f403a_407_usart.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c
-
-
-
-
- at32f403a_407_sdio.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c
-
-
-
diff --git a/bsp/at32/at32f405-start/project.ewp b/bsp/at32/at32f405-start/project.ewp
index 2e2bb2adaf..37c0aebd7a 100644
--- a/bsp/at32/at32f405-start/project.ewp
+++ b/bsp/at32/at32f405-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F405RCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\rt_drivers\config
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\core_support
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F405RCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\rt_drivers\config
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\core_support
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f402_405.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2222,10 +2214,10 @@
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2285,20 +2277,20 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
$PROJ_DIR$\..\..\..\src\klibc\kstring.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
libcpu
@@ -2318,84 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_qspi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\system_at32f402_405.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f405-start/project.uvproj b/bsp/at32/at32f405-start/project.uvproj
index 8f3c938294..7289557e47 100644
--- a/bsp/at32/at32f405-start/project.uvproj
+++ b/bsp/at32/at32f405-start/project.uvproj
@@ -357,9 +357,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, RT_USING_LIBC, AT32F405RCT7, __RTTHREAD__
+ __STDC_LIMIT_MACROS, AT32F405RCT7, RT_USING_LIBC, __RTTHREAD__, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\components\finsh;..\..\..\components\drivers\include;..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\core_support;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\smp_call;board;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;applications;board\inc;..\libraries\usbotg_library\inc;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\include;.;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\poll;..\libraries\rt_drivers;..\libraries\AT32F402_405_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support
+ ..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;board\inc;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\libraries\usbotg_library\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\finsh;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\libraries\rt_drivers;board;.;..\..\..\include;applications;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f402_405.s
- 2
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f402_405.s
-
-
drv_common.c
@@ -748,16 +741,9 @@
Finsh
- msh.c
+ cmd.c
1
- ..\..\..\components\finsh\msh.c
-
-
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
@@ -769,9 +755,16 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
@@ -1158,170 +1151,6 @@
-
- Libraries
-
-
- at32f402_405_pwc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_pwc.c
-
-
-
-
- at32f402_405_crm.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crm.c
-
-
-
-
- at32f402_405_i2c.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_i2c.c
-
-
-
-
- at32f402_405_dma.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_dma.c
-
-
-
-
- at32f402_405_adc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_adc.c
-
-
-
-
- at32f402_405_spi.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_spi.c
-
-
-
-
- at32f402_405_qspi.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_qspi.c
-
-
-
-
- at32f402_405_usb.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usb.c
-
-
-
-
- at32f402_405_crc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crc.c
-
-
-
-
- at32f402_405_can.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_can.c
-
-
-
-
- system_at32f402_405.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\system_at32f402_405.c
-
-
-
-
- at32f402_405_usart.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usart.c
-
-
-
-
- at32f402_405_acc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_acc.c
-
-
-
-
- at32f402_405_debug.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_debug.c
-
-
-
-
- at32f402_405_wwdt.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wwdt.c
-
-
-
-
- at32f402_405_misc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_misc.c
-
-
-
-
- at32f402_405_exint.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_exint.c
-
-
-
-
- at32f402_405_scfg.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_scfg.c
-
-
-
-
- at32f402_405_ertc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_ertc.c
-
-
-
-
- at32f402_405_flash.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_flash.c
-
-
-
-
- at32f402_405_wdt.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wdt.c
-
-
-
-
- at32f402_405_gpio.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_gpio.c
-
-
-
-
- at32f402_405_tmr.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_tmr.c
-
-
-
diff --git a/bsp/at32/at32f405-start/project.uvprojx b/bsp/at32/at32f405-start/project.uvprojx
index b4abb74acb..10eb211644 100644
--- a/bsp/at32/at32f405-start/project.uvprojx
+++ b/bsp/at32/at32f405-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__, RT_USING_LIBC, AT32F405RCT7, __STDC_LIMIT_MACROS
+ AT32F405RCT7, __RTTHREAD__, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_LIBC
- board\inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\poll;..\..\..\components\finsh;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\include;..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\drivers\phy;..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\include;..\libraries\AT32F402_405_Firmware_Library\drivers\inc;..\libraries\usbotg_library\inc;..\libraries\rt_drivers;..\..\..\libcpu\arm\common;applications;..\..\..\components\libc\posix\io\eventfd;.;..\libraries\rt_drivers\config
+ ..\..\..\components\drivers\include;board;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\components\finsh;applications;..\libraries\rt_drivers;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;.;..\..\..\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\eventfd;board\inc;..\libraries\usbotg_library\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\ipc
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f402_405.s
- 2
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f402_405.s
-
-
drv_common.c
@@ -730,13 +723,6 @@
..\..\..\components\finsh\shell.c
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
cmd.c
@@ -751,6 +737,13 @@
..\..\..\components\finsh\msh_parse.c
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -1061,13 +1054,6 @@
klibc
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
rt_vsscanf.c
@@ -1075,13 +1061,6 @@
..\..\..\src\klibc\rt_vsscanf.c
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
rt_vsnprintf_tiny.c
@@ -1096,6 +1075,20 @@
..\..\..\src\klibc\kstdio.c
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -1135,170 +1128,6 @@
-
- Libraries
-
-
- at32f402_405_misc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_misc.c
-
-
-
-
- at32f402_405_flash.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_flash.c
-
-
-
-
- at32f402_405_dma.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_dma.c
-
-
-
-
- at32f402_405_qspi.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_qspi.c
-
-
-
-
- at32f402_405_gpio.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_gpio.c
-
-
-
-
- at32f402_405_i2c.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_i2c.c
-
-
-
-
- at32f402_405_ertc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_ertc.c
-
-
-
-
- at32f402_405_adc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_adc.c
-
-
-
-
- at32f402_405_usart.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usart.c
-
-
-
-
- at32f402_405_usb.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_usb.c
-
-
-
-
- at32f402_405_debug.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_debug.c
-
-
-
-
- at32f402_405_scfg.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_scfg.c
-
-
-
-
- at32f402_405_tmr.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_tmr.c
-
-
-
-
- at32f402_405_spi.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_spi.c
-
-
-
-
- at32f402_405_acc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_acc.c
-
-
-
-
- at32f402_405_wwdt.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wwdt.c
-
-
-
-
- at32f402_405_crm.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crm.c
-
-
-
-
- at32f402_405_exint.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_exint.c
-
-
-
-
- at32f402_405_wdt.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_wdt.c
-
-
-
-
- system_at32f402_405.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\cmsis\cm4\device_support\system_at32f402_405.c
-
-
-
-
- at32f402_405_can.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_can.c
-
-
-
-
- at32f402_405_pwc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_pwc.c
-
-
-
-
- at32f402_405_crc.c
- 1
- ..\libraries\AT32F402_405_Firmware_Library\drivers\src\at32f402_405_crc.c
-
-
-
diff --git a/bsp/at32/at32f407-start/project.ewp b/bsp/at32/at32f407-start/project.ewp
index 89e3de05ed..54ad337b10 100644
--- a/bsp/at32/at32f407-start/project.ewp
+++ b/bsp/at32/at32f407-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F407VGT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -354,29 +353,26 @@
CCIncludePath2
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\libraries\usbd_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\.
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\inc
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F407VGT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1405,29 +1400,26 @@
CCIncludePath2
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\libraries\usbd_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\.
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\inc
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2219,16 +2211,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2285,7 +2277,7 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
@@ -2294,10 +2286,10 @@
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -2318,93 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c
-
-
POSIX
-
- smp
-
usbd_library
diff --git a/bsp/at32/at32f407-start/project.uvproj b/bsp/at32/at32f407-start/project.uvproj
index 845bc6813d..3a42374aba 100644
--- a/bsp/at32/at32f407-start/project.uvproj
+++ b/bsp/at32/at32f407-start/project.uvproj
@@ -357,9 +357,9 @@
0
- AT32F407VGT7, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER
+ AT32F407VGT7, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_ARMLIBC
- ..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;board\inc;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support;board;..\..\..\components\drivers\include;..\..\..\components\finsh;applications;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\AT32F403A_407_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\libcpu\arm\cortex-m4;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\common;..\libraries\usbd_library\inc;.;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\eventfd;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\drivers\include
+ board\inc;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\epoll;board;..\..\..\components\libc\posix\ipc;.;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\eventfd;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\extension;..\libraries\rt_drivers;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\finsh;..\libraries\usbd_library\inc;..\..\..\components\drivers\include;applications;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\drivers\include
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f403a_407.s
- 2
- ..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s
-
-
drv_common.c
@@ -755,16 +748,16 @@
- msh_parse.c
+ msh.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\msh.c
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1084,13 +1077,6 @@
klibc
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
kstring.c
@@ -1105,6 +1091,13 @@
..\..\..\src\klibc\kerrno.c
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
kstdio.c
@@ -1114,9 +1107,9 @@
- rt_vsnprintf_tiny.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1158,191 +1151,6 @@
-
- Libraries
-
-
- at32f403a_407_flash.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c
-
-
-
-
- at32f403a_407_wdt.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c
-
-
-
-
- at32f403a_407_xmc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c
-
-
-
-
- at32f403a_407_can.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c
-
-
-
-
- at32f403a_407_crc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c
-
-
-
-
- at32f403a_407_misc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c
-
-
-
-
- at32f403a_407_usb.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c
-
-
-
-
- at32f403a_407_gpio.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c
-
-
-
-
- at32f403a_407_debug.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c
-
-
-
-
- at32f403a_407_usart.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c
-
-
-
-
- at32f403a_407_sdio.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c
-
-
-
-
- at32f403a_407_rtc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c
-
-
-
-
- system_at32f403a_407.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c
-
-
-
-
- at32f403a_407_emac.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c
-
-
-
-
- at32f403a_407_tmr.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c
-
-
-
-
- at32f403a_407_bpr.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c
-
-
-
-
- at32f403a_407_pwc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c
-
-
-
-
- at32f403a_407_dac.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c
-
-
-
-
- at32f403a_407_acc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c
-
-
-
-
- at32f403a_407_i2c.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c
-
-
-
-
- at32f403a_407_wwdt.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c
-
-
-
-
- at32f403a_407_adc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c
-
-
-
-
- at32f403a_407_spi.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c
-
-
-
-
- at32f403a_407_crm.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c
-
-
-
-
- at32f403a_407_dma.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c
-
-
-
-
- at32f403a_407_exint.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c
-
-
-
diff --git a/bsp/at32/at32f407-start/project.uvprojx b/bsp/at32/at32f407-start/project.uvprojx
index 1f04eca1a5..7d11dd7401 100644
--- a/bsp/at32/at32f407-start/project.uvprojx
+++ b/bsp/at32/at32f407-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- AT32F407VGT7, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, __RTTHREAD__
+ __STDC_LIMIT_MACROS, __RTTHREAD__, AT32F407VGT7, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC
- ..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\finsh;board;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F403A_407_Firmware_Library\drivers\inc;..\libraries\rt_drivers\config;.;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;board\inc;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\include;..\libraries\usbd_library\inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\libraries\rt_drivers;..\..\..\libcpu\arm\cortex-m4;..\..\..\include
+ applications;..\libraries\rt_drivers;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\ipc;board\inc;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;.;board;..\..\..\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\finsh
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f403a_407.s
- 2
- ..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s
-
-
drv_common.c
@@ -725,9 +718,16 @@
Finsh
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
@@ -739,16 +739,9 @@
- msh.c
+ cmd.c
1
- ..\..\..\components\finsh\msh.c
-
-
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
@@ -1068,13 +1061,6 @@
..\..\..\src\klibc\kstdio.c
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
rt_vsnprintf_tiny.c
@@ -1084,16 +1070,23 @@
- rt_vsscanf.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kstring.c
- kstring.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1135,191 +1128,6 @@
-
- Libraries
-
-
- at32f403a_407_wwdt.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c
-
-
-
-
- at32f403a_407_debug.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c
-
-
-
-
- at32f403a_407_usb.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c
-
-
-
-
- at32f403a_407_rtc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c
-
-
-
-
- system_at32f403a_407.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c
-
-
-
-
- at32f403a_407_adc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c
-
-
-
-
- at32f403a_407_dma.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c
-
-
-
-
- at32f403a_407_can.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c
-
-
-
-
- at32f403a_407_gpio.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c
-
-
-
-
- at32f403a_407_usart.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c
-
-
-
-
- at32f403a_407_misc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c
-
-
-
-
- at32f403a_407_i2c.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c
-
-
-
-
- at32f403a_407_pwc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c
-
-
-
-
- at32f403a_407_dac.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c
-
-
-
-
- at32f403a_407_xmc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c
-
-
-
-
- at32f403a_407_exint.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c
-
-
-
-
- at32f403a_407_tmr.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c
-
-
-
-
- at32f403a_407_bpr.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c
-
-
-
-
- at32f403a_407_crm.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c
-
-
-
-
- at32f403a_407_emac.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c
-
-
-
-
- at32f403a_407_spi.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c
-
-
-
-
- at32f403a_407_acc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c
-
-
-
-
- at32f403a_407_wdt.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c
-
-
-
-
- at32f403a_407_sdio.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c
-
-
-
-
- at32f403a_407_crc.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c
-
-
-
-
- at32f403a_407_flash.c
- 1
- ..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c
-
-
-
diff --git a/bsp/at32/at32f413-start/project.ewp b/bsp/at32/at32f413-start/project.ewp
index 44e04f1004..f51608c1ed 100644
--- a/bsp/at32/at32f413-start/project.ewp
+++ b/bsp/at32/at32f413-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F413RCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\applications
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\inc
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\libraries\usbd_library\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F413RCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\applications
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\inc
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\libraries\usbd_library\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f413.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2222,13 +2214,13 @@
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2284,21 +2276,21 @@
klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
$PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
libcpu
@@ -2318,84 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_rtc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\system_at32f413.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_bpr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_sdio.c
-
-
POSIX
-
- smp
-
usbd_library
diff --git a/bsp/at32/at32f413-start/project.uvproj b/bsp/at32/at32f413-start/project.uvproj
index c8df5fabc6..53d5b8809a 100644
--- a/bsp/at32/at32f413-start/project.uvproj
+++ b/bsp/at32/at32f413-start/project.uvproj
@@ -357,9 +357,9 @@
0
- __STDC_LIMIT_MACROS, AT32F413RCT7, RT_USING_LIBC, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, RT_USING_ARMLIBC, AT32F413RCT7, __RTTHREAD__, __STDC_LIMIT_MACROS
- ..\libraries\AT32F413_Firmware_Library\drivers\inc;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\libc\posix\ipc;..\libraries\AT32F413_Firmware_Library\cmsis\cm4\core_support;..\libraries\rt_drivers\config;board;applications;..\..\..\libcpu\arm\common;.;..\libraries\usbd_library\inc;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\poll;board\inc;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\finsh;..\..\..\components\libc\posix\io\eventfd
+ ..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\libc\posix\io\poll;applications;.;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;board\inc;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\cortex-m4;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\extension;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\smp_call;..\..\..\components\finsh;..\..\..\components\drivers\include;board;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\epoll
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f413.s
- 2
- ..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f413.s
-
-
drv_common.c
@@ -748,16 +741,16 @@
Finsh
- msh_parse.c
+ msh.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\msh.c
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1093,16 +1086,16 @@
- kstdio.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\kerrno.c
- kerrno.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1114,9 +1107,9 @@
- rt_vsnprintf_tiny.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1158,170 +1151,6 @@
-
- Libraries
-
-
- at32f413_debug.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_debug.c
-
-
-
-
- at32f413_crc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crc.c
-
-
-
-
- at32f413_i2c.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_i2c.c
-
-
-
-
- at32f413_rtc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_rtc.c
-
-
-
-
- at32f413_adc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_adc.c
-
-
-
-
- at32f413_usb.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usb.c
-
-
-
-
- at32f413_wwdt.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wwdt.c
-
-
-
-
- at32f413_usart.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usart.c
-
-
-
-
- at32f413_sdio.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_sdio.c
-
-
-
-
- at32f413_gpio.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_gpio.c
-
-
-
-
- at32f413_acc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_acc.c
-
-
-
-
- at32f413_flash.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_flash.c
-
-
-
-
- at32f413_misc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_misc.c
-
-
-
-
- at32f413_pwc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_pwc.c
-
-
-
-
- at32f413_spi.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_spi.c
-
-
-
-
- at32f413_crm.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crm.c
-
-
-
-
- at32f413_tmr.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_tmr.c
-
-
-
-
- at32f413_dma.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_dma.c
-
-
-
-
- system_at32f413.c
- 1
- ..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\system_at32f413.c
-
-
-
-
- at32f413_can.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_can.c
-
-
-
-
- at32f413_bpr.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_bpr.c
-
-
-
-
- at32f413_wdt.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wdt.c
-
-
-
-
- at32f413_exint.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_exint.c
-
-
-
diff --git a/bsp/at32/at32f413-start/project.uvprojx b/bsp/at32/at32f413-start/project.uvprojx
index f4f5c07dd0..f2ddb00c7d 100644
--- a/bsp/at32/at32f413-start/project.uvprojx
+++ b/bsp/at32/at32f413-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, AT32F413RCT7, __RTTHREAD__, RT_USING_LIBC, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC
+ __STDC_LIMIT_MACROS, AT32F413RCT7, RT_USING_ARMLIBC, RT_USING_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
- ..\libraries\rt_drivers;.;..\libraries\usbd_library\inc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\AT32F413_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\finsh;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension;board\inc;..\..\..\components\libc\posix\io\epoll;..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support;board;..\libraries\AT32F413_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\include;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call
+ ..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc;..\..\..\components\finsh;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;board\inc;..\..\..\components\drivers\phy;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;.;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\include;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\include;..\libraries\rt_drivers;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;board;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\eventfd
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f413.s
- 2
- ..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f413.s
-
-
drv_common.c
@@ -723,6 +716,13 @@
Finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
msh_parse.c
@@ -744,13 +744,6 @@
..\..\..\components\finsh\cmd.c
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
Kernel
@@ -1063,9 +1056,9 @@
klibc
- rt_vsnprintf_tiny.c
+ kerrno.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kerrno.c
@@ -1077,16 +1070,16 @@
- kstdio.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
- kerrno.c
+ kstdio.c
1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1135,170 +1128,6 @@
-
- Libraries
-
-
- at32f413_sdio.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_sdio.c
-
-
-
-
- at32f413_can.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_can.c
-
-
-
-
- at32f413_wdt.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wdt.c
-
-
-
-
- at32f413_usart.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usart.c
-
-
-
-
- at32f413_flash.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_flash.c
-
-
-
-
- at32f413_adc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_adc.c
-
-
-
-
- at32f413_rtc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_rtc.c
-
-
-
-
- at32f413_pwc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_pwc.c
-
-
-
-
- at32f413_spi.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_spi.c
-
-
-
-
- at32f413_crc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crc.c
-
-
-
-
- at32f413_i2c.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_i2c.c
-
-
-
-
- at32f413_bpr.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_bpr.c
-
-
-
-
- at32f413_gpio.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_gpio.c
-
-
-
-
- at32f413_wwdt.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wwdt.c
-
-
-
-
- at32f413_tmr.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_tmr.c
-
-
-
-
- at32f413_usb.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usb.c
-
-
-
-
- system_at32f413.c
- 1
- ..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\system_at32f413.c
-
-
-
-
- at32f413_crm.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crm.c
-
-
-
-
- at32f413_dma.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_dma.c
-
-
-
-
- at32f413_acc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_acc.c
-
-
-
-
- at32f413_debug.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_debug.c
-
-
-
-
- at32f413_misc.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_misc.c
-
-
-
-
- at32f413_exint.c
- 1
- ..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_exint.c
-
-
-
diff --git a/bsp/at32/at32f415-start/project.ewp b/bsp/at32/at32f415-start/project.ewp
index 19cb3b997e..cefef505c6 100644
--- a/bsp/at32/at32f415-start/project.ewp
+++ b/bsp/at32/at32f415-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F415RCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\board\inc
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\board
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F415RCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\board\inc
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\board
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f415.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2219,16 +2211,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2284,18 +2276,18 @@
klibc
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
@@ -2318,81 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_sdio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\system_at32f415.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_cmp.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f415-start/project.uvproj b/bsp/at32/at32f415-start/project.uvproj
index d90f513136..75d7d6e140 100644
--- a/bsp/at32/at32f415-start/project.uvproj
+++ b/bsp/at32/at32f415-start/project.uvproj
@@ -357,9 +357,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, AT32F415RCT7, RT_USING_ARMLIBC, RT_USING_LIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER
+ __CLK_TCK=RT_TICK_PER_SECOND, AT32F415RCT7, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_LIBC, RT_USING_ARMLIBC
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\..\..\components\drivers\include;applications;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc;board;..\..\..\components\libc\compilers\common\include;..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support;..\libraries\usbotg_library\inc;..\libraries\rt_drivers;.;..\..\..\components\libc\posix\io\poll;board\inc;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\libraries\AT32F415_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\libraries\AT32F415_Firmware_Library\cmsis\cm4\core_support
+ ..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\cortex-m4;board;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\smp_call;board\inc;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;.;applications;..\..\..\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;..\..\..\components\drivers\include;..\..\..\components\finsh
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f415.s
- 2
- ..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f415.s
-
-
drv_common.c
@@ -748,9 +741,9 @@
Finsh
- msh_parse.c
+ shell.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\shell.c
@@ -762,9 +755,9 @@
- shell.c
+ msh_parse.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1084,20 +1077,6 @@
klibc
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
kerrno.c
@@ -1112,6 +1091,20 @@
..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
kstdio.c
@@ -1158,163 +1151,6 @@
-
- Libraries
-
-
- at32f415_pwc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_pwc.c
-
-
-
-
- at32f415_wdt.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wdt.c
-
-
-
-
- at32f415_ertc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_ertc.c
-
-
-
-
- at32f415_exint.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_exint.c
-
-
-
-
- at32f415_cmp.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_cmp.c
-
-
-
-
- at32f415_crc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crc.c
-
-
-
-
- at32f415_gpio.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_gpio.c
-
-
-
-
- at32f415_dma.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_dma.c
-
-
-
-
- at32f415_wwdt.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wwdt.c
-
-
-
-
- at32f415_can.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_can.c
-
-
-
-
- at32f415_i2c.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_i2c.c
-
-
-
-
- at32f415_sdio.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_sdio.c
-
-
-
-
- at32f415_crm.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crm.c
-
-
-
-
- at32f415_tmr.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_tmr.c
-
-
-
-
- at32f415_spi.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_spi.c
-
-
-
-
- at32f415_misc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_misc.c
-
-
-
-
- at32f415_usb.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usb.c
-
-
-
-
- system_at32f415.c
- 1
- ..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\system_at32f415.c
-
-
-
-
- at32f415_adc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_adc.c
-
-
-
-
- at32f415_debug.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_debug.c
-
-
-
-
- at32f415_usart.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usart.c
-
-
-
-
- at32f415_flash.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_flash.c
-
-
-
diff --git a/bsp/at32/at32f415-start/project.uvprojx b/bsp/at32/at32f415-start/project.uvprojx
index 7cb460ad3e..5ddbf39179 100644
--- a/bsp/at32/at32f415-start/project.uvprojx
+++ b/bsp/at32/at32f415-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- AT32F415RCT7, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, RT_USING_LIBC, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, __RTTHREAD__
+ RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, AT32F415RCT7
- ..\..\..\components\drivers\phy;board\inc;..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;board;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\include;..\libraries\usbotg_library\inc;..\libraries\rt_drivers;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;.;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\cortex-m4;applications;..\libraries\AT32F415_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F415_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\include;..\..\..\components\drivers\include
+ ..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\libraries\usbotg_library\inc;..\..\..\components\finsh;..\libraries\rt_drivers;board\inc;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\epoll;..\libraries\rt_drivers\config;applications;..\..\..\libcpu\arm\cortex-m4;.;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;..\..\..\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\poll
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f415.s
- 2
- ..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f415.s
-
-
drv_common.c
@@ -725,16 +718,9 @@
Finsh
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
-
-
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -746,9 +732,16 @@
- msh_parse.c
+ shell.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
@@ -1063,16 +1056,9 @@
klibc
- kstring.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1084,16 +1070,23 @@
- rt_vsnprintf_tiny.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstdio.c
- rt_vsscanf.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1135,163 +1128,6 @@
-
- Libraries
-
-
- at32f415_misc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_misc.c
-
-
-
-
- at32f415_cmp.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_cmp.c
-
-
-
-
- at32f415_usart.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usart.c
-
-
-
-
- at32f415_adc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_adc.c
-
-
-
-
- at32f415_flash.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_flash.c
-
-
-
-
- system_at32f415.c
- 1
- ..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\system_at32f415.c
-
-
-
-
- at32f415_i2c.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_i2c.c
-
-
-
-
- at32f415_crc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crc.c
-
-
-
-
- at32f415_tmr.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_tmr.c
-
-
-
-
- at32f415_crm.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crm.c
-
-
-
-
- at32f415_dma.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_dma.c
-
-
-
-
- at32f415_debug.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_debug.c
-
-
-
-
- at32f415_pwc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_pwc.c
-
-
-
-
- at32f415_usb.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usb.c
-
-
-
-
- at32f415_gpio.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_gpio.c
-
-
-
-
- at32f415_sdio.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_sdio.c
-
-
-
-
- at32f415_wwdt.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wwdt.c
-
-
-
-
- at32f415_ertc.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_ertc.c
-
-
-
-
- at32f415_exint.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_exint.c
-
-
-
-
- at32f415_can.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_can.c
-
-
-
-
- at32f415_spi.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_spi.c
-
-
-
-
- at32f415_wdt.c
- 1
- ..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wdt.c
-
-
-
diff --git a/bsp/at32/at32f421-start/project.ewp b/bsp/at32/at32f421-start/project.ewp
index e9eef9cd56..2fe718b1c6 100644
--- a/bsp/at32/at32f421-start/project.ewp
+++ b/bsp/at32/at32f421-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F421C8T7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,29 +352,26 @@
CCIncludePath2
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\libraries\rt_drivers
$PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
CCStdIncCheck
@@ -1275,7 +1271,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F421C8T7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1403,29 +1398,26 @@
CCIncludePath2
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\libraries\rt_drivers
$PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
CCStdIncCheck
@@ -2106,6 +2098,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2201,9 +2196,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f421.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2217,10 +2209,10 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2283,10 +2275,7 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
@@ -2295,7 +2284,10 @@
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
@@ -2316,75 +2308,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_cmp.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support\system_at32f421.c
-
-
POSIX
-
- smp
-
utestcases
diff --git a/bsp/at32/at32f421-start/project.uvoptx b/bsp/at32/at32f421-start/project.uvoptx
index 16986d9de6..d3899334c1 100644
--- a/bsp/at32/at32f421-start/project.uvoptx
+++ b/bsp/at32/at32f421-start/project.uvoptx
@@ -103,7 +103,7 @@
1
0
0
- 3
+ 0
@@ -114,18 +114,18 @@
- BIN\CMSIS_AGDI.dll
+ BIN\UL2CM3.DLL
0
UL2CM3
- UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F4212_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F4212C8T7$Flash\AT32F4212_64.FLM)
+ UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421C8T7$Flash\AT32F421_64.FLM)
0
CMSIS_AGDI
- -X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F4212_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F4212C8T7$Flash\AT32F4212_64.FLM)
+ UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421C8T7$Flash\AT32F421_64.FLM)
diff --git a/bsp/at32/at32f421-start/project.uvproj b/bsp/at32/at32f421-start/project.uvproj
index 39a90c75b9..918c6f451b 100644
--- a/bsp/at32/at32f421-start/project.uvproj
+++ b/bsp/at32/at32f421-start/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, AT32F421C8T7, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, USE_STDPERIPH_DRIVER
+ __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_LIBC, AT32F421C8T7
- board;..\libraries\rt_drivers;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;board\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;.;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\libraries\AT32F421_Firmware_Library\drivers\inc;..\..\..\components\drivers\smp_call;..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support;..\libraries\rt_drivers\config;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\AT32F421_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\libc\compilers\common\include;..\..\..\include;..\..\..\components\drivers\phy
+ ..\..\..\components\drivers\include;board\inc;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\smp_call;applications;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\finsh;board;.;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f421.s
- 2
- ..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f421.s
-
-
drv_common.c
@@ -746,6 +739,13 @@
Finsh
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
shell.c
@@ -767,13 +767,6 @@
..\..\..\components\finsh\msh_parse.c
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
Kernel
@@ -1084,20 +1077,6 @@
klibc
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
rt_vsnprintf_tiny.c
@@ -1119,6 +1098,20 @@
..\..\..\src\klibc\rt_vsscanf.c
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -1158,149 +1151,6 @@
-
- Libraries
-
-
- at32f421_ertc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_ertc.c
-
-
-
-
- at32f421_exint.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_exint.c
-
-
-
-
- at32f421_pwc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_pwc.c
-
-
-
-
- at32f421_wwdt.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_wwdt.c
-
-
-
-
- at32f421_crc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_crc.c
-
-
-
-
- at32f421_misc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_misc.c
-
-
-
-
- at32f421_flash.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_flash.c
-
-
-
-
- at32f421_scfg.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_scfg.c
-
-
-
-
- at32f421_tmr.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_tmr.c
-
-
-
-
- at32f421_usart.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_usart.c
-
-
-
-
- at32f421_debug.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_debug.c
-
-
-
-
- at32f421_dma.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_dma.c
-
-
-
-
- system_at32f421.c
- 1
- ..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support\system_at32f421.c
-
-
-
-
- at32f421_crm.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_crm.c
-
-
-
-
- at32f421_wdt.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_wdt.c
-
-
-
-
- at32f421_i2c.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_i2c.c
-
-
-
-
- at32f421_gpio.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_gpio.c
-
-
-
-
- at32f421_spi.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_spi.c
-
-
-
-
- at32f421_cmp.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_cmp.c
-
-
-
-
- at32f421_adc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_adc.c
-
-
-
diff --git a/bsp/at32/at32f421-start/project.uvprojx b/bsp/at32/at32f421-start/project.uvprojx
index 0182e5a257..2d2697b9e6 100644
--- a/bsp/at32/at32f421-start/project.uvprojx
+++ b/bsp/at32/at32f421-start/project.uvprojx
@@ -11,15 +11,15 @@
0
- -AT32F4212C8T7
+ -AT32F421C8T7
ArteryTek
- ArteryTek.AT32F421_DFP.2.0.9
+ ArteryTek.AT32F421_DFP.2.0.0
IRAM(0x20000000,0x4000) IROM(0x08000000,0x10000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE
- UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F4212_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F4212C8T7$Flash\AT32F4212_64.FLM))
+ UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F421C8T7$Flash\AT32F421_64.FLM))
0
- $$Device:-AT32F4212C8T7$Device\Include\at32f421.h
+ $$Device:-AT32F421C8T7$Device\Include\at32f421.h
@@ -29,7 +29,7 @@
- $$Device:-AT32F4212C8T7$SVD\AT32F421xx_v2.svd
+ $$Device:-AT32F421C8T7$SVD\AT32F421xx_v2.svd
0
0
@@ -333,9 +333,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, AT32F421C8T7, __RTTHREAD__, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, RT_USING_LIBC, RT_USING_ARMLIBC
+ __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, AT32F421C8T7, RT_USING_ARMLIBC, RT_USING_LIBC
- ..\..\..\components\drivers\include;..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support;board\inc;..\..\..\components\drivers\smp_call;applications;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\ipc;..\..\..\components\finsh;..\..\..\components\drivers\include;board;..\libraries\AT32F421_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\epoll;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;.;..\libraries\AT32F421_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\include;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common
+ ..\libraries\rt_drivers;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;board\inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\extension;..\..\..\components\finsh;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;board;applications;.;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f421.s
- 2
- ..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f421.s
-
-
drv_common.c
@@ -725,16 +718,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\cmd.c
@@ -746,9 +732,16 @@
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
@@ -1061,6 +1054,13 @@
klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
kstdio.c
@@ -1089,13 +1089,6 @@
..\..\..\src\klibc\kstring.c
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
libcpu
@@ -1135,149 +1128,6 @@
-
- Libraries
-
-
- at32f421_wdt.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_wdt.c
-
-
-
-
- at32f421_wwdt.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_wwdt.c
-
-
-
-
- at32f421_flash.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_flash.c
-
-
-
-
- at32f421_ertc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_ertc.c
-
-
-
-
- at32f421_spi.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_spi.c
-
-
-
-
- at32f421_crc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_crc.c
-
-
-
-
- at32f421_crm.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_crm.c
-
-
-
-
- at32f421_usart.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_usart.c
-
-
-
-
- at32f421_misc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_misc.c
-
-
-
-
- at32f421_i2c.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_i2c.c
-
-
-
-
- at32f421_debug.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_debug.c
-
-
-
-
- at32f421_gpio.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_gpio.c
-
-
-
-
- system_at32f421.c
- 1
- ..\libraries\AT32F421_Firmware_Library\cmsis\cm4\device_support\system_at32f421.c
-
-
-
-
- at32f421_adc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_adc.c
-
-
-
-
- at32f421_cmp.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_cmp.c
-
-
-
-
- at32f421_pwc.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_pwc.c
-
-
-
-
- at32f421_scfg.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_scfg.c
-
-
-
-
- at32f421_exint.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_exint.c
-
-
-
-
- at32f421_tmr.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_tmr.c
-
-
-
-
- at32f421_dma.c
- 1
- ..\libraries\AT32F421_Firmware_Library\drivers\src\at32f421_dma.c
-
-
-
diff --git a/bsp/at32/at32f423-start/project.ewp b/bsp/at32/at32f423-start/project.ewp
index 3779382c22..12f3c19b50 100644
--- a/bsp/at32/at32f423-start/project.ewp
+++ b/bsp/at32/at32f423-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F423VCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\.
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\rt_drivers\config
$PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F423VCT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\.
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\rt_drivers\config
$PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f423.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2218,15 +2210,15 @@
Finsh
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\shell.c
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2285,19 +2277,19 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
$PROJ_DIR$\..\..\..\src\klibc\kstring.c
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
@@ -2318,87 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support\system_at32f423.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_misc.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f423-start/project.uvproj b/bsp/at32/at32f423-start/project.uvproj
index f91c5be5e4..047b9e4304 100644
--- a/bsp/at32/at32f423-start/project.uvproj
+++ b/bsp/at32/at32f423-start/project.uvproj
@@ -357,9 +357,9 @@
0
- AT32F423VCT7, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_LIBC
+ __RTTHREAD__, __STDC_LIMIT_MACROS, RT_USING_LIBC, AT32F423VCT7, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND
- applications;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;board;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\rt_drivers\config;..\libraries\usbotg_library\inc;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\phy;.;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board\inc;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension;..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\include;..\..\..\components\finsh;..\libraries\AT32F423_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F423_Firmware_Library\drivers\inc;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\eventfd
+ ..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;.;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\libcpu\arm\common;..\..\..\components\drivers\smp_call;board;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\include;..\..\..\components\finsh;applications;..\libraries\usbotg_library\inc;..\..\..\libcpu\arm\cortex-m4;board\inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\epoll
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f423.s
- 2
- ..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f423.s
-
-
drv_common.c
@@ -748,16 +741,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\cmd.c
@@ -769,9 +755,16 @@
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
@@ -1086,9 +1079,16 @@
klibc
- rt_vsnprintf_tiny.c
+ kerrno.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1100,16 +1100,9 @@
- kerrno.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kerrno.c
-
-
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1158,177 +1151,6 @@
-
- Libraries
-
-
- system_at32f423.c
- 1
- ..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support\system_at32f423.c
-
-
-
-
- at32f423_i2c.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_i2c.c
-
-
-
-
- at32f423_acc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_acc.c
-
-
-
-
- at32f423_wwdt.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_wwdt.c
-
-
-
-
- at32f423_tmr.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_tmr.c
-
-
-
-
- at32f423_crc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_crc.c
-
-
-
-
- at32f423_wdt.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_wdt.c
-
-
-
-
- at32f423_spi.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_spi.c
-
-
-
-
- at32f423_usart.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_usart.c
-
-
-
-
- at32f423_adc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_adc.c
-
-
-
-
- at32f423_dma.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_dma.c
-
-
-
-
- at32f423_debug.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_debug.c
-
-
-
-
- at32f423_dac.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_dac.c
-
-
-
-
- at32f423_misc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_misc.c
-
-
-
-
- at32f423_can.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_can.c
-
-
-
-
- at32f423_usb.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_usb.c
-
-
-
-
- at32f423_flash.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_flash.c
-
-
-
-
- at32f423_gpio.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_gpio.c
-
-
-
-
- at32f423_xmc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_xmc.c
-
-
-
-
- at32f423_ertc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_ertc.c
-
-
-
-
- at32f423_scfg.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_scfg.c
-
-
-
-
- at32f423_exint.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_exint.c
-
-
-
-
- at32f423_pwc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_pwc.c
-
-
-
-
- at32f423_crm.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_crm.c
-
-
-
diff --git a/bsp/at32/at32f423-start/project.uvprojx b/bsp/at32/at32f423-start/project.uvprojx
index f3c7b23cd8..b5bc826cac 100644
--- a/bsp/at32/at32f423-start/project.uvprojx
+++ b/bsp/at32/at32f423-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- AT32F423VCT7, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_LIBC, RT_USING_ARMLIBC
+ AT32F423VCT7, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, RT_USING_LIBC, __STDC_LIMIT_MACROS, __RTTHREAD__
- ..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;.;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\include;..\libraries\usbotg_library\inc;..\..\..\components\libc\posix\io\eventfd;..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support;..\libraries\rt_drivers;..\..\..\components\finsh;board\inc;..\..\..\components\libc\compilers\common\extension;..\libraries\AT32F423_Firmware_Library\cmsis\cm4\core_support;..\libraries\rt_drivers\config;..\libraries\AT32F423_Firmware_Library\drivers\inc;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;board;applications
+ .;board;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;board\inc;..\libraries\rt_drivers\config;applications;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\..\..\components\libc\posix\io\epoll;..\libraries\usbotg_library\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f423.s
- 2
- ..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f423.s
-
-
drv_common.c
@@ -725,9 +718,9 @@
Finsh
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
@@ -739,16 +732,16 @@
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1070,9 +1063,9 @@
- kerrno.c
+ kstdio.c
1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1084,9 +1077,9 @@
- kstdio.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\kerrno.c
@@ -1135,177 +1128,6 @@
-
- Libraries
-
-
- at32f423_dac.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_dac.c
-
-
-
-
- at32f423_dma.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_dma.c
-
-
-
-
- at32f423_debug.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_debug.c
-
-
-
-
- at32f423_acc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_acc.c
-
-
-
-
- at32f423_scfg.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_scfg.c
-
-
-
-
- at32f423_wwdt.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_wwdt.c
-
-
-
-
- system_at32f423.c
- 1
- ..\libraries\AT32F423_Firmware_Library\cmsis\cm4\device_support\system_at32f423.c
-
-
-
-
- at32f423_i2c.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_i2c.c
-
-
-
-
- at32f423_tmr.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_tmr.c
-
-
-
-
- at32f423_exint.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_exint.c
-
-
-
-
- at32f423_spi.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_spi.c
-
-
-
-
- at32f423_adc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_adc.c
-
-
-
-
- at32f423_usart.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_usart.c
-
-
-
-
- at32f423_gpio.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_gpio.c
-
-
-
-
- at32f423_crc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_crc.c
-
-
-
-
- at32f423_usb.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_usb.c
-
-
-
-
- at32f423_misc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_misc.c
-
-
-
-
- at32f423_pwc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_pwc.c
-
-
-
-
- at32f423_wdt.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_wdt.c
-
-
-
-
- at32f423_ertc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_ertc.c
-
-
-
-
- at32f423_crm.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_crm.c
-
-
-
-
- at32f423_xmc.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_xmc.c
-
-
-
-
- at32f423_can.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_can.c
-
-
-
-
- at32f423_flash.c
- 1
- ..\libraries\AT32F423_Firmware_Library\drivers\src\at32f423_flash.c
-
-
-
diff --git a/bsp/at32/at32f425-start/project.ewp b/bsp/at32/at32f425-start/project.ewp
index c0f31c1b35..7367274773 100644
--- a/bsp/at32/at32f425-start/project.ewp
+++ b/bsp/at32/at32f425-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F425C8T7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F425C8T7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f425.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2219,16 +2211,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2288,7 +2280,7 @@
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
@@ -2297,7 +2289,7 @@
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
@@ -2318,81 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support\system_at32f425.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_acc.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f425-start/project.uvproj b/bsp/at32/at32f425-start/project.uvproj
index 0c464d0536..65176c5f1a 100644
--- a/bsp/at32/at32f425-start/project.uvproj
+++ b/bsp/at32/at32f425-start/project.uvproj
@@ -357,9 +357,9 @@
0
- AT32F425C8T7, __RTTHREAD__, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND
+ RT_USING_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, AT32F425C8T7
- board\inc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\smp_call;..\..\..\components\finsh;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\AT32F425_Firmware_Library\cmsis\cm4\core_support;..\libraries\rt_drivers;..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\libc\posix\io\eventfd;..\libraries\usbotg_library\inc;board;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;applications;..\libraries\AT32F425_Firmware_Library\drivers\inc;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\ipc;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\include;.;..\..\..\components\libc\compilers\common\extension
+ ..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\phy;applications;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;..\libraries\rt_drivers;.;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;board\inc;board;..\..\..\include;..\..\..\components\drivers\smp_call;..\..\..\components\finsh
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f425.s
- 2
- ..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f425.s
-
-
drv_common.c
@@ -1084,20 +1077,6 @@
klibc
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
kstdio.c
@@ -1119,6 +1098,20 @@
..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -1158,163 +1151,6 @@
-
- Libraries
-
-
- at32f425_debug.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_debug.c
-
-
-
-
- at32f425_wdt.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_wdt.c
-
-
-
-
- at32f425_can.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_can.c
-
-
-
-
- at32f425_adc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_adc.c
-
-
-
-
- at32f425_crm.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_crm.c
-
-
-
-
- at32f425_wwdt.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_wwdt.c
-
-
-
-
- at32f425_scfg.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_scfg.c
-
-
-
-
- at32f425_tmr.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_tmr.c
-
-
-
-
- at32f425_spi.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_spi.c
-
-
-
-
- at32f425_usb.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_usb.c
-
-
-
-
- at32f425_misc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_misc.c
-
-
-
-
- at32f425_gpio.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_gpio.c
-
-
-
-
- at32f425_dma.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_dma.c
-
-
-
-
- at32f425_ertc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_ertc.c
-
-
-
-
- at32f425_acc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_acc.c
-
-
-
-
- at32f425_usart.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_usart.c
-
-
-
-
- at32f425_i2c.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_i2c.c
-
-
-
-
- at32f425_pwc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_pwc.c
-
-
-
-
- at32f425_flash.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_flash.c
-
-
-
-
- system_at32f425.c
- 1
- ..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support\system_at32f425.c
-
-
-
-
- at32f425_exint.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_exint.c
-
-
-
-
- at32f425_crc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_crc.c
-
-
-
diff --git a/bsp/at32/at32f425-start/project.uvprojx b/bsp/at32/at32f425-start/project.uvprojx
index 6867f78c4d..fff0eba3e6 100644
--- a/bsp/at32/at32f425-start/project.uvprojx
+++ b/bsp/at32/at32f425-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- AT32F425C8T7, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_LIBC, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC
+ RT_USING_LIBC, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, __RTTHREAD__, AT32F425C8T7
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;applications;..\..\..\libcpu\arm\common;board;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;board\inc;..\..\..\components\libc\posix\io\epoll;..\libraries\AT32F425_Firmware_Library\drivers\inc;..\libraries\AT32F425_Firmware_Library\cmsis\cm4\core_support;..\libraries\usbotg_library\inc;..\libraries\rt_drivers;..\..\..\components\libc\posix\ipc;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\finsh;..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support;.;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4
+ ..\..\..\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\libraries\usbotg_library\inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\finsh;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\epoll;.;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;board;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;board\inc;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;applications;..\..\..\libcpu\arm\cortex-m4
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f425.s
- 2
- ..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f425.s
-
-
drv_common.c
@@ -732,16 +725,16 @@
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
- msh_parse.c
+ msh.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\msh.c
@@ -1061,6 +1054,13 @@
klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
kstring.c
@@ -1068,6 +1068,13 @@
..\..\..\src\klibc\kstring.c
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
rt_vsnprintf_tiny.c
@@ -1082,20 +1089,6 @@
..\..\..\src\klibc\rt_vsscanf.c
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
libcpu
@@ -1135,163 +1128,6 @@
-
- Libraries
-
-
- at32f425_acc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_acc.c
-
-
-
-
- at32f425_crm.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_crm.c
-
-
-
-
- at32f425_exint.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_exint.c
-
-
-
-
- at32f425_can.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_can.c
-
-
-
-
- at32f425_scfg.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_scfg.c
-
-
-
-
- at32f425_i2c.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_i2c.c
-
-
-
-
- at32f425_debug.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_debug.c
-
-
-
-
- at32f425_tmr.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_tmr.c
-
-
-
-
- at32f425_spi.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_spi.c
-
-
-
-
- at32f425_adc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_adc.c
-
-
-
-
- at32f425_wdt.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_wdt.c
-
-
-
-
- at32f425_dma.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_dma.c
-
-
-
-
- at32f425_wwdt.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_wwdt.c
-
-
-
-
- at32f425_misc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_misc.c
-
-
-
-
- at32f425_flash.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_flash.c
-
-
-
-
- at32f425_usb.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_usb.c
-
-
-
-
- at32f425_usart.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_usart.c
-
-
-
-
- at32f425_pwc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_pwc.c
-
-
-
-
- at32f425_ertc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_ertc.c
-
-
-
-
- at32f425_crc.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_crc.c
-
-
-
-
- system_at32f425.c
- 1
- ..\libraries\AT32F425_Firmware_Library\cmsis\cm4\device_support\system_at32f425.c
-
-
-
-
- at32f425_gpio.c
- 1
- ..\libraries\AT32F425_Firmware_Library\drivers\src\at32f425_gpio.c
-
-
-
diff --git a/bsp/at32/at32f435-start/project.ewp b/bsp/at32/at32f435-start/project.ewp
index 818ef382c5..8088d56d5c 100644
--- a/bsp/at32/at32f435-start/project.ewp
+++ b/bsp/at32/at32f435-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F435ZMT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\inc
- $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\libraries\usbotg_library\inc
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F435ZMT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\inc
- $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\libraries\usbotg_library\inc
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f435_437.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2219,16 +2211,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2285,16 +2277,16 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
@@ -2318,102 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f435-start/project.uvproj b/bsp/at32/at32f435-start/project.uvproj
index ed21f0fbf9..e6b5fd4f3e 100644
--- a/bsp/at32/at32f435-start/project.uvproj
+++ b/bsp/at32/at32f435-start/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__, AT32F435ZMT7
+ AT32F435ZMT7, RT_USING_LIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND
- board;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\phy;..\libraries\AT32F435_437_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;.;..\libraries\usbotg_library\inc;..\..\..\components\libc\posix\io\poll;..\libraries\rt_drivers\config;..\libraries\rt_drivers;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\include;applications;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\extension;..\..\..\components\finsh;board\inc;..\..\..\components\drivers\include;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support
+ ..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\..\..\include;..\libraries\usbotg_library\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\finsh;..\..\..\components\drivers\phy;board\inc;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;applications;..\libraries\rt_drivers;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;.;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\eventfd
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f435_437.s
- 2
- ..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s
-
-
drv_common.c
@@ -748,16 +741,16 @@
Finsh
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -769,9 +762,9 @@
- shell.c
+ msh_parse.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1084,6 +1077,13 @@
klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
rt_vsnprintf_tiny.c
@@ -1098,13 +1098,6 @@
..\..\..\src\klibc\kerrno.c
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
kstdio.c
@@ -1114,9 +1107,9 @@
- rt_vsscanf.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kstring.c
@@ -1158,212 +1151,6 @@
-
- Libraries
-
-
- at32f435_437_edma.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c
-
-
-
-
- at32f435_437_acc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c
-
-
-
-
- at32f435_437_spi.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c
-
-
-
-
- at32f435_437_emac.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c
-
-
-
-
- at32f435_437_dma.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c
-
-
-
-
- at32f435_437_flash.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c
-
-
-
-
- at32f435_437_wdt.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c
-
-
-
-
- at32f435_437_sdio.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c
-
-
-
-
- at32f435_437_usb.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c
-
-
-
-
- at32f435_437_misc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c
-
-
-
-
- system_at32f435_437.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c
-
-
-
-
- at32f435_437_i2c.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c
-
-
-
-
- at32f435_437_wwdt.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c
-
-
-
-
- at32f435_437_dac.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c
-
-
-
-
- at32f435_437_ertc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c
-
-
-
-
- at32f435_437_usart.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c
-
-
-
-
- at32f435_437_tmr.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c
-
-
-
-
- at32f435_437_xmc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c
-
-
-
-
- at32f435_437_qspi.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c
-
-
-
-
- at32f435_437_scfg.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c
-
-
-
-
- at32f435_437_pwc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c
-
-
-
-
- at32f435_437_adc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c
-
-
-
-
- at32f435_437_crm.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c
-
-
-
-
- at32f435_437_crc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c
-
-
-
-
- at32f435_437_can.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c
-
-
-
-
- at32f435_437_exint.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c
-
-
-
-
- at32f435_437_gpio.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c
-
-
-
-
- at32f435_437_debug.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c
-
-
-
-
- at32f435_437_dvp.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c
-
-
-
diff --git a/bsp/at32/at32f435-start/project.uvprojx b/bsp/at32/at32f435-start/project.uvprojx
index 305dcae703..b96c13ac82 100644
--- a/bsp/at32/at32f435-start/project.uvprojx
+++ b/bsp/at32/at32f435-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, AT32F435ZMT7, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND
+ AT32F435ZMT7, __RTTHREAD__, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, __STDC_LIMIT_MACROS
- ..\..\..\components\libc\compilers\common\extension;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\include;..\libraries\rt_drivers;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\libc\posix\io\eventfd;..\libraries\AT32F435_437_Firmware_Library\drivers\inc;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\epoll;..\libraries\rt_drivers\config;board;..\..\..\libcpu\arm\common;..\..\..\components\drivers\phy;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;applications;board\inc;..\libraries\usbotg_library\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\poll;..\..\..\include;.
+ ..\..\..\components\libc\compilers\common\extension;..\libraries\usbotg_library\inc;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\poll;board;applications;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\compilers\common\include;.;..\libraries\rt_drivers\config;board\inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f435_437.s
- 2
- ..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s
-
-
drv_common.c
@@ -725,9 +718,9 @@
Finsh
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
@@ -739,16 +732,16 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1070,9 +1063,9 @@
- kstdio.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1084,16 +1077,16 @@
- kstring.c
+ kstdio.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kstdio.c
- rt_vsnprintf_tiny.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstring.c
@@ -1135,212 +1128,6 @@
-
- Libraries
-
-
- at32f435_437_flash.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c
-
-
-
-
- at32f435_437_can.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c
-
-
-
-
- at32f435_437_qspi.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c
-
-
-
-
- at32f435_437_dac.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c
-
-
-
-
- at32f435_437_scfg.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c
-
-
-
-
- at32f435_437_wwdt.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c
-
-
-
-
- at32f435_437_ertc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c
-
-
-
-
- at32f435_437_spi.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c
-
-
-
-
- at32f435_437_usb.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c
-
-
-
-
- at32f435_437_acc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c
-
-
-
-
- at32f435_437_crm.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c
-
-
-
-
- at32f435_437_adc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c
-
-
-
-
- at32f435_437_sdio.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c
-
-
-
-
- at32f435_437_exint.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c
-
-
-
-
- at32f435_437_i2c.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c
-
-
-
-
- at32f435_437_crc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c
-
-
-
-
- at32f435_437_xmc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c
-
-
-
-
- at32f435_437_debug.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c
-
-
-
-
- at32f435_437_dma.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c
-
-
-
-
- at32f435_437_usart.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c
-
-
-
-
- at32f435_437_wdt.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c
-
-
-
-
- at32f435_437_gpio.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c
-
-
-
-
- at32f435_437_pwc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c
-
-
-
-
- at32f435_437_misc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c
-
-
-
-
- at32f435_437_edma.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c
-
-
-
-
- at32f435_437_dvp.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c
-
-
-
-
- at32f435_437_emac.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c
-
-
-
-
- at32f435_437_tmr.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c
-
-
-
-
- system_at32f435_437.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c
-
-
-
diff --git a/bsp/at32/at32f437-start/project.ewp b/bsp/at32/at32f437-start/project.ewp
index 220ce16701..2dbfc5b740 100644
--- a/bsp/at32/at32f437-start/project.ewp
+++ b/bsp/at32/at32f437-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F437ZMT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -354,29 +353,26 @@
CCIncludePath2
$PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\applications
$PROJ_DIR$\board
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F437ZMT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1405,29 +1400,26 @@
CCIncludePath2
$PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\applications
$PROJ_DIR$\board
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f435_437.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2219,16 +2211,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2284,21 +2276,21 @@
klibc
-
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
-
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
libcpu
@@ -2318,102 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f437-start/project.uvproj b/bsp/at32/at32f437-start/project.uvproj
index da1ee34472..198e2207b8 100644
--- a/bsp/at32/at32f437-start/project.uvproj
+++ b/bsp/at32/at32f437-start/project.uvproj
@@ -357,9 +357,9 @@
0
- __RTTHREAD__, RT_USING_ARMLIBC, AT32F437ZMT7, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, __STDC_LIMIT_MACROS
+ RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, AT32F437ZMT7, __RTTHREAD__, __STDC_LIMIT_MACROS
- board;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;board\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\rt_drivers;applications;.;..\libraries\rt_drivers\config;..\..\..\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\AT32F435_437_Firmware_Library\drivers\inc;..\libraries\usbotg_library\inc;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension
+ ..\libraries\rt_drivers\config;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\posix\io\poll;board\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;applications;..\..\..\include;..\libraries\rt_drivers;..\..\..\components\drivers\phy;.;..\..\..\components\libc\posix\io\eventfd;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\include;board;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;..\..\..\components\libc\compilers\common\extension
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f435_437.s
- 2
- ..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s
-
-
drv_common.c
@@ -755,9 +748,9 @@
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
@@ -769,9 +762,9 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -1084,13 +1077,6 @@
klibc
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
kstdio.c
@@ -1107,16 +1093,23 @@
- rt_vsscanf.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
- rt_vsnprintf_tiny.c
+ kerrno.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1158,212 +1151,6 @@
-
- Libraries
-
-
- at32f435_437_i2c.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c
-
-
-
-
- at32f435_437_gpio.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c
-
-
-
-
- at32f435_437_wdt.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c
-
-
-
-
- at32f435_437_edma.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c
-
-
-
-
- at32f435_437_dac.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c
-
-
-
-
- at32f435_437_misc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c
-
-
-
-
- at32f435_437_adc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c
-
-
-
-
- at32f435_437_wwdt.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c
-
-
-
-
- at32f435_437_scfg.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c
-
-
-
-
- at32f435_437_acc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c
-
-
-
-
- at32f435_437_xmc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c
-
-
-
-
- at32f435_437_tmr.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c
-
-
-
-
- at32f435_437_qspi.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c
-
-
-
-
- at32f435_437_usb.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c
-
-
-
-
- at32f435_437_sdio.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c
-
-
-
-
- at32f435_437_dma.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c
-
-
-
-
- at32f435_437_crm.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c
-
-
-
-
- at32f435_437_spi.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c
-
-
-
-
- at32f435_437_usart.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c
-
-
-
-
- at32f435_437_debug.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c
-
-
-
-
- at32f435_437_pwc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c
-
-
-
-
- at32f435_437_dvp.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c
-
-
-
-
- at32f435_437_flash.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c
-
-
-
-
- system_at32f435_437.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c
-
-
-
-
- at32f435_437_emac.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c
-
-
-
-
- at32f435_437_can.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c
-
-
-
-
- at32f435_437_exint.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c
-
-
-
-
- at32f435_437_ertc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c
-
-
-
-
- at32f435_437_crc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c
-
-
-
diff --git a/bsp/at32/at32f437-start/project.uvprojx b/bsp/at32/at32f437-start/project.uvprojx
index fc45b8d7e9..5625a0d90c 100644
--- a/bsp/at32/at32f437-start/project.uvprojx
+++ b/bsp/at32/at32f437-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- RT_USING_ARMLIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER, AT32F437ZMT7, RT_USING_LIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND
+ __RTTHREAD__, RT_USING_LIBC, AT32F437ZMT7, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\epoll;.;..\..\..\components\drivers\include;board\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\usbotg_library\inc;..\..\..\components\finsh;..\..\..\components\drivers\include;applications;..\libraries\rt_drivers;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\common;..\..\..\include;..\..\..\components\libc\compilers\common\extension;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\include;board;..\..\..\components\libc\posix\io\eventfd;..\libraries\rt_drivers\config;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\drivers\include;..\libraries\AT32F435_437_Firmware_Library\drivers\inc
+ ..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;..\..\..\components\finsh;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\cortex-m4;board;..\..\..\components\drivers\include;board\inc;..\..\..\components\drivers\phy;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;.;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\compilers\common\include
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f435_437.s
- 2
- ..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s
-
-
drv_common.c
@@ -725,9 +718,16 @@
Finsh
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ msh_parse.c
+ 1
+ ..\..\..\components\finsh\msh_parse.c
@@ -739,16 +739,9 @@
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
@@ -1063,9 +1056,9 @@
klibc
- rt_vsnprintf_tiny.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1077,16 +1070,9 @@
- rt_vsscanf.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1096,6 +1082,13 @@
..\..\..\src\klibc\kstring.c
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
libcpu
@@ -1135,212 +1128,6 @@
-
- Libraries
-
-
- at32f435_437_usart.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c
-
-
-
-
- at32f435_437_tmr.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c
-
-
-
-
- at32f435_437_edma.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c
-
-
-
-
- at32f435_437_scfg.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c
-
-
-
-
- at32f435_437_usb.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c
-
-
-
-
- at32f435_437_can.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c
-
-
-
-
- at32f435_437_debug.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c
-
-
-
-
- at32f435_437_exint.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c
-
-
-
-
- at32f435_437_xmc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c
-
-
-
-
- at32f435_437_pwc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c
-
-
-
-
- system_at32f435_437.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c
-
-
-
-
- at32f435_437_flash.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c
-
-
-
-
- at32f435_437_spi.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c
-
-
-
-
- at32f435_437_ertc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c
-
-
-
-
- at32f435_437_qspi.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c
-
-
-
-
- at32f435_437_i2c.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c
-
-
-
-
- at32f435_437_acc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c
-
-
-
-
- at32f435_437_adc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c
-
-
-
-
- at32f435_437_emac.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c
-
-
-
-
- at32f435_437_sdio.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c
-
-
-
-
- at32f435_437_dac.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c
-
-
-
-
- at32f435_437_crc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c
-
-
-
-
- at32f435_437_wdt.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c
-
-
-
-
- at32f435_437_wwdt.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c
-
-
-
-
- at32f435_437_crm.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c
-
-
-
-
- at32f435_437_misc.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c
-
-
-
-
- at32f435_437_dvp.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c
-
-
-
-
- at32f435_437_gpio.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c
-
-
-
-
- at32f435_437_dma.c
- 1
- ..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c
-
-
-
diff --git a/bsp/at32/at32f455-start/project.ewp b/bsp/at32/at32f455-start/project.ewp
index 53be7caf44..e7a77f1260 100644
--- a/bsp/at32/at32f455-start/project.ewp
+++ b/bsp/at32/at32f455-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F455ZET7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\inc
+ $PROJ_DIR$\applications
$PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\.
$PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\rt_drivers\config
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F455ZET7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\inc
+ $PROJ_DIR$\applications
$PROJ_DIR$\board
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\.
$PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\rt_drivers\config
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f45x.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2225,10 +2217,10 @@
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2288,13 +2280,13 @@
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
@@ -2318,102 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f455-start/project.uvproj b/bsp/at32/at32f455-start/project.uvproj
index a0b45a22d4..408fdb4916 100644
--- a/bsp/at32/at32f455-start/project.uvproj
+++ b/bsp/at32/at32f455-start/project.uvproj
@@ -357,9 +357,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_LIBC, USE_STDPERIPH_DRIVER, AT32F455ZET7, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ AT32F455ZET7, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS
- ..\..\..\components\libc\posix\io\poll;..\libraries\rt_drivers;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension\fcntl\octal;.;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\drivers\phy;..\libraries\AT32F45x_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;board\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;applications;..\..\..\components\libc\compilers\common\extension;board;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;..\..\..\components\libc\compilers\common\include;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support;..\libraries\rt_drivers\config;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support
+ ..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;applications;board;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\include;.;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;..\..\..\components\libc\posix\ipc;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\include;board\inc
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f45x.s
- 2
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f45x.s
-
-
drv_common.c
@@ -748,16 +741,16 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
- msh.c
+ shell.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\shell.c
@@ -769,9 +762,9 @@
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
@@ -1084,6 +1077,20 @@
klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
kstring.c
@@ -1098,13 +1105,6 @@
..\..\..\src\klibc\kstdio.c
-
-
- rt_vsnprintf_tiny.c
- 1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
-
rt_vsscanf.c
@@ -1112,13 +1112,6 @@
..\..\..\src\klibc\rt_vsscanf.c
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
libcpu
@@ -1158,212 +1151,6 @@
-
- Libraries
-
-
- at32f45x_usart.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
-
-
- at32f45x_spi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
-
-
- at32f45x_crc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
-
-
- at32f45x_dma.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
-
-
- at32f45x_adc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
-
-
- at32f45x_misc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
-
-
- at32f45x_ertc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
-
-
- at32f45x_i2c.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
-
-
- at32f45x_flash.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
-
-
- at32f45x_debug.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
-
-
- at32f45x_can.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
-
-
- at32f45x_crm.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
-
-
- at32f45x_sdio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
-
-
- at32f45x_scfg.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
-
-
- at32f45x_wdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
-
-
- at32f45x_exint.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
-
-
- at32f45x_emac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
-
-
- at32f45x_acc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
-
-
- at32f45x_gpio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
-
-
- at32f45x_wwdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
-
-
- at32f45x_trng.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
-
-
- system_at32f45x.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
-
-
- at32f45x_xmc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
-
-
- at32f45x_dac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
-
-
- at32f45x_aes.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
-
-
- at32f45x_pwc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
-
-
- at32f45x_tmr.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
-
-
- at32f45x_usb.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
-
-
- at32f45x_qspi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
-
diff --git a/bsp/at32/at32f455-start/project.uvprojx b/bsp/at32/at32f455-start/project.uvprojx
index 6ad60aec24..aff56c84f9 100644
--- a/bsp/at32/at32f455-start/project.uvprojx
+++ b/bsp/at32/at32f455-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_STDPERIPH_DRIVER, AT32F455ZET7, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_LIBC, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND
+ AT32F455ZET7, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__
- .;..\..\..\components\drivers\smp_call;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;..\libraries\AT32F45x_Firmware_Library\drivers\inc;applications;..\libraries\rt_drivers\config;..\..\..\include;board\inc;board;..\libraries\rt_drivers;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\common;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd
+ .;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\include;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\ipc;..\..\..\components\finsh;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;applications;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\eventfd;board;..\..\..\components\drivers\include;board\inc;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\libraries\usbotg_library\inc
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f45x.s
- 2
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f45x.s
-
-
drv_common.c
@@ -723,13 +716,6 @@
Finsh
-
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
-
-
cmd.c
@@ -739,16 +725,23 @@
- msh.c
+ shell.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\shell.c
- shell.c
+ msh_parse.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh_parse.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
@@ -1063,9 +1056,16 @@
klibc
- rt_vsscanf.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
@@ -1077,9 +1077,9 @@
- kstring.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1089,13 +1089,6 @@
..\..\..\src\klibc\kerrno.c
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
libcpu
@@ -1135,212 +1128,6 @@
-
- Libraries
-
-
- at32f45x_crc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
-
-
- at32f45x_gpio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
-
-
- at32f45x_spi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
-
-
- at32f45x_pwc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
-
-
- at32f45x_scfg.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
-
-
- at32f45x_xmc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
-
-
- at32f45x_flash.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
-
-
- at32f45x_adc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
-
-
- at32f45x_misc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
-
-
- at32f45x_wwdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
-
-
- at32f45x_wdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
-
-
- at32f45x_exint.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
-
-
- at32f45x_tmr.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
-
-
- at32f45x_crm.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
-
-
- at32f45x_qspi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
-
-
- at32f45x_dma.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
-
-
- at32f45x_debug.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
-
-
- at32f45x_dac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
-
-
- system_at32f45x.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
-
-
- at32f45x_aes.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
-
-
- at32f45x_i2c.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
-
-
- at32f45x_ertc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
-
-
- at32f45x_trng.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
-
-
- at32f45x_usb.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
-
-
- at32f45x_emac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
-
-
- at32f45x_acc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
-
-
- at32f45x_usart.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
-
-
- at32f45x_sdio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
-
-
- at32f45x_can.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
-
diff --git a/bsp/at32/at32f456-start/project.ewp b/bsp/at32/at32f456-start/project.ewp
index 8475b04eb8..635f5cc8fc 100644
--- a/bsp/at32/at32f456-start/project.ewp
+++ b/bsp/at32/at32f456-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F456ZET7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\.
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\rt_drivers
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F456ZET7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\.
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\rt_drivers
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f45x.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2219,16 +2211,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2288,16 +2280,16 @@
$PROJ_DIR$\..\..\..\src\klibc\kstring.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
@@ -2318,102 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f456-start/project.uvproj b/bsp/at32/at32f456-start/project.uvproj
index b5cbf13c53..e90227583b 100644
--- a/bsp/at32/at32f456-start/project.uvproj
+++ b/bsp/at32/at32f456-start/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_LIBC, __STDC_LIMIT_MACROS, AT32F456ZET7, __RTTHREAD__, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND
+ AT32F456ZET7, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __RTTHREAD__, __STDC_LIMIT_MACROS
- ..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support;board\inc;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\eventfd;..\libraries\rt_drivers;..\..\..\components\finsh;..\..\..\components\drivers\smp_call;board;..\..\..\libcpu\arm\cortex-m4;applications;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\AT32F45x_Firmware_Library\drivers\inc;..\..\..\include;..\libraries\usbotg_library\inc;.;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\drivers\include
+ ..\libraries\rt_drivers;..\..\..\components\libc\posix\io\poll;..\libraries\usbotg_library\inc;..\..\..\components\finsh;..\libraries\rt_drivers\config;board;board\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc;applications;.;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\compilers\common\extension
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f45x.s
- 2
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f45x.s
-
-
drv_common.c
@@ -746,6 +739,13 @@
Finsh
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
cmd.c
@@ -767,13 +767,6 @@
..\..\..\components\finsh\msh.c
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
Kernel
@@ -1084,6 +1077,20 @@
klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
kstring.c
@@ -1098,13 +1105,6 @@
..\..\..\src\klibc\kstdio.c
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
-
rt_vsnprintf_tiny.c
@@ -1112,13 +1112,6 @@
..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
-
libcpu
@@ -1158,212 +1151,6 @@
-
- Libraries
-
-
- at32f45x_gpio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
-
-
- at32f45x_scfg.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
-
-
- at32f45x_dma.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
-
-
- at32f45x_i2c.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
-
-
- at32f45x_usb.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
-
-
- at32f45x_aes.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
-
-
- system_at32f45x.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
-
-
- at32f45x_crm.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
-
-
- at32f45x_qspi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
-
-
- at32f45x_tmr.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
-
-
- at32f45x_usart.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
-
-
- at32f45x_adc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
-
-
- at32f45x_crc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
-
-
- at32f45x_pwc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
-
-
- at32f45x_can.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
-
-
- at32f45x_emac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
-
-
- at32f45x_acc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
-
-
- at32f45x_trng.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
-
-
- at32f45x_wwdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
-
-
- at32f45x_flash.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
-
-
- at32f45x_sdio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
-
-
- at32f45x_xmc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
-
-
- at32f45x_spi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
-
-
- at32f45x_ertc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
-
-
- at32f45x_debug.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
-
-
- at32f45x_dac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
-
-
- at32f45x_misc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
-
-
- at32f45x_wdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
-
-
- at32f45x_exint.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
-
diff --git a/bsp/at32/at32f456-start/project.uvprojx b/bsp/at32/at32f456-start/project.uvprojx
index 4b34206c4e..c8aac71141 100644
--- a/bsp/at32/at32f456-start/project.uvprojx
+++ b/bsp/at32/at32f456-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- RT_USING_LIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, USE_STDPERIPH_DRIVER, AT32F456ZET7, RT_USING_ARMLIBC
+ __RTTHREAD__, RT_USING_ARMLIBC, AT32F456ZET7, __STDC_LIMIT_MACROS, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\components\libc\posix\ipc;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\phy;..\..\..\components\drivers\smp_call;.;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support;applications;..\libraries\rt_drivers\config;..\..\..\components\libc\compilers\common\extension;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\drivers\include;..\libraries\AT32F45x_Firmware_Library\drivers\inc;board;..\..\..\components\finsh;..\..\..\components\libc\posix\io\poll;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\eventfd;..\libraries\usbotg_library\inc;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;board\inc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include
+ ..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\eventfd;applications;..\libraries\usbotg_library\inc;board\inc;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;.;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\cortex-m4;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\finsh;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\phy;board;..\..\..\components\drivers\include
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f45x.s
- 2
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f45x.s
-
-
drv_common.c
@@ -739,16 +732,16 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\cmd.c
- cmd.c
+ msh_parse.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -1063,16 +1056,16 @@
klibc
- rt_vsscanf.c
+ kerrno.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kerrno.c
- kerrno.c
+ kstring.c
1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\kstring.c
@@ -1091,9 +1084,9 @@
- kstring.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1135,212 +1128,6 @@
-
- Libraries
-
-
- at32f45x_crc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
-
-
- at32f45x_spi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
-
-
- at32f45x_exint.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
-
-
- at32f45x_misc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
-
-
- at32f45x_usb.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
-
-
- at32f45x_tmr.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
-
-
- at32f45x_crm.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
-
-
- at32f45x_adc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
-
-
- at32f45x_sdio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
-
-
- at32f45x_xmc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
-
-
- at32f45x_i2c.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
-
-
- at32f45x_wwdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
-
-
- at32f45x_flash.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
-
-
- at32f45x_debug.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
-
-
- at32f45x_can.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
-
-
- at32f45x_dma.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
-
-
- at32f45x_aes.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
-
-
- at32f45x_emac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
-
-
- at32f45x_usart.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
-
-
- at32f45x_qspi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
-
-
- at32f45x_dac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
-
-
- at32f45x_trng.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
-
-
- at32f45x_wdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
-
-
- at32f45x_pwc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
-
-
- at32f45x_gpio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
-
-
- system_at32f45x.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
-
-
- at32f45x_ertc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
-
-
- at32f45x_scfg.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
-
-
- at32f45x_acc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
-
diff --git a/bsp/at32/at32f457-start/project.ewp b/bsp/at32/at32f457-start/project.ewp
index f0c52ce1c1..a3b6dffa6b 100644
--- a/bsp/at32/at32f457-start/project.ewp
+++ b/bsp/at32/at32f457-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F457ZET7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,30 +352,27 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\inc
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\board\inc
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -1276,7 +1272,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32F457ZET7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1404,30 +1399,27 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\inc
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support
$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\usbotg_library\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\rt_drivers\config
+ $PROJ_DIR$\board\inc
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\usbotg_library\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -2108,6 +2100,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2203,9 +2198,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f45x.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2218,6 +2210,9 @@
Finsh
+
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
+
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2227,9 +2222,6 @@
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
-
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
-
Kernel
@@ -2284,15 +2276,15 @@
klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
@@ -2318,102 +2310,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
POSIX
-
- smp
-
usbotg_library
diff --git a/bsp/at32/at32f457-start/project.uvproj b/bsp/at32/at32f457-start/project.uvproj
index 16b7eed4da..53e3059cbe 100644
--- a/bsp/at32/at32f457-start/project.uvproj
+++ b/bsp/at32/at32f457-start/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_LIBC, AT32F457ZET7, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER
+ RT_USING_LIBC, AT32F457ZET7, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
- board;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;applications;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\common;..\..\..\include;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\epoll;board\inc;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension;..\libraries\usbotg_library\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;.;..\libraries\AT32F45x_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\finsh;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\ipc
+ ..\..\..\components\drivers\include;..\libraries\rt_drivers;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\phy;board;..\..\..\components\finsh;..\libraries\usbotg_library\inc;..\..\..\components\drivers\include;board\inc;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\include;.;..\..\..\components\libc\compilers\common\extension;..\libraries\rt_drivers\config;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\io\epoll;applications;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\smp_call
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32f45x.s
- 2
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f45x.s
-
-
drv_common.c
@@ -746,20 +739,6 @@
Finsh
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
msh_parse.c
@@ -767,6 +746,13 @@
..\..\..\components\finsh\msh_parse.c
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
shell.c
@@ -774,6 +760,13 @@
..\..\..\components\finsh\shell.c
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
Kernel
@@ -1086,16 +1079,16 @@
klibc
- rt_vsscanf.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
- kerrno.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1107,16 +1100,16 @@
- rt_vsnprintf_tiny.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstdio.c
- kstdio.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\kerrno.c
@@ -1158,212 +1151,6 @@
-
- Libraries
-
-
- system_at32f45x.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
-
-
- at32f45x_tmr.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
-
-
- at32f45x_emac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
-
-
- at32f45x_wwdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
-
-
- at32f45x_dac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
-
-
- at32f45x_exint.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
-
-
- at32f45x_i2c.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
-
-
- at32f45x_flash.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
-
-
- at32f45x_can.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
-
-
- at32f45x_xmc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
-
-
- at32f45x_crc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
-
-
- at32f45x_spi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
-
-
- at32f45x_adc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
-
-
- at32f45x_misc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
-
-
- at32f45x_crm.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
-
-
- at32f45x_acc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
-
-
- at32f45x_pwc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
-
-
- at32f45x_sdio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
-
-
- at32f45x_usb.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
-
-
- at32f45x_scfg.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
-
-
- at32f45x_aes.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
-
-
- at32f45x_debug.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
-
-
- at32f45x_qspi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
-
-
- at32f45x_dma.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
-
-
- at32f45x_trng.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
-
-
- at32f45x_usart.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
-
-
- at32f45x_wdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
-
-
- at32f45x_ertc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
-
-
- at32f45x_gpio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
-
diff --git a/bsp/at32/at32f457-start/project.uvprojx b/bsp/at32/at32f457-start/project.uvprojx
index 8a15204a79..01600ded39 100644
--- a/bsp/at32/at32f457-start/project.uvprojx
+++ b/bsp/at32/at32f457-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_LIBC, AT32F457ZET7, __RTTHREAD__, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND
+ RT_USING_LIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, AT32F457ZET7
- ..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\drivers\smp_call;.;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\usbotg_library\inc;board\inc;board;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\AT32F45x_Firmware_Library\drivers\inc;..\..\..\libcpu\arm\common;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\drivers\include;..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support;..\libraries\rt_drivers;applications;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\epoll
+ ..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\include;..\..\..\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\phy;..\libraries\rt_drivers;..\libraries\usbotg_library\inc;board;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\ipc;board\inc;..\..\..\components\finsh;applications;..\..\..\components\drivers\include
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32f45x.s
- 2
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f45x.s
-
-
drv_common.c
@@ -1070,16 +1063,9 @@
- rt_vsnprintf_tiny.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
-
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\kstring.c
@@ -1091,9 +1077,16 @@
- kstring.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1135,212 +1128,6 @@
-
- Libraries
-
-
- at32f45x_debug.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_debug.c
-
-
-
-
- at32f45x_exint.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_exint.c
-
-
-
-
- at32f45x_scfg.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_scfg.c
-
-
-
-
- at32f45x_aes.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_aes.c
-
-
-
-
- at32f45x_spi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_spi.c
-
-
-
-
- at32f45x_gpio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_gpio.c
-
-
-
-
- at32f45x_pwc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_pwc.c
-
-
-
-
- at32f45x_dac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dac.c
-
-
-
-
- system_at32f45x.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\cmsis\cm4\device_support\system_at32f45x.c
-
-
-
-
- at32f45x_xmc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_xmc.c
-
-
-
-
- at32f45x_dma.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_dma.c
-
-
-
-
- at32f45x_emac.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_emac.c
-
-
-
-
- at32f45x_wdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wdt.c
-
-
-
-
- at32f45x_qspi.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_qspi.c
-
-
-
-
- at32f45x_misc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_misc.c
-
-
-
-
- at32f45x_usb.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usb.c
-
-
-
-
- at32f45x_i2c.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_i2c.c
-
-
-
-
- at32f45x_tmr.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_tmr.c
-
-
-
-
- at32f45x_can.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_can.c
-
-
-
-
- at32f45x_crc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crc.c
-
-
-
-
- at32f45x_flash.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_flash.c
-
-
-
-
- at32f45x_wwdt.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_wwdt.c
-
-
-
-
- at32f45x_trng.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_trng.c
-
-
-
-
- at32f45x_crm.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_crm.c
-
-
-
-
- at32f45x_sdio.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_sdio.c
-
-
-
-
- at32f45x_usart.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_usart.c
-
-
-
-
- at32f45x_ertc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_ertc.c
-
-
-
-
- at32f45x_acc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_acc.c
-
-
-
-
- at32f45x_adc.c
- 1
- ..\libraries\AT32F45x_Firmware_Library\drivers\src\at32f45x_adc.c
-
-
-
diff --git a/bsp/at32/at32m412-start/project.ewp b/bsp/at32/at32m412-start/project.ewp
index 70e7215459..c65ae57136 100644
--- a/bsp/at32/at32m412-start/project.ewp
+++ b/bsp/at32/at32m412-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32M412CBT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,29 +352,26 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\rt_drivers\config
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\libraries\rt_drivers
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -1275,7 +1271,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32M412CBT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1403,29 +1398,26 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\rt_drivers\config
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\..\libraries\rt_drivers
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -2106,6 +2098,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2201,9 +2196,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32m412_416.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2217,16 +2209,16 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2283,19 +2275,19 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
-
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
@@ -2316,84 +2308,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\system_at32m412_416.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_op.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_cmp.c
-
-
POSIX
-
- smp
-
utestcases
diff --git a/bsp/at32/at32m412-start/project.uvproj b/bsp/at32/at32m412-start/project.uvproj
index 3feb2369dd..e308c5d7cf 100644
--- a/bsp/at32/at32m412-start/project.uvproj
+++ b/bsp/at32/at32m412-start/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_LIBC, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, AT32M412CBT7, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, RT_USING_LIBC, __RTTHREAD__, AT32M412CBT7, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\eventfd;applications;..\libraries\AT32M412_416_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\libraries\rt_drivers;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support;board;board\inc;..\..\..\include;..\..\..\libcpu\arm\common;..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\drivers\include;.;..\..\..\components\finsh
+ .;..\..\..\components\libc\posix\ipc;applications;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;board;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\eventfd;..\libraries\rt_drivers\config;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\libraries\rt_drivers;board\inc;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m4
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32m412_416.s
- 2
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32m412_416.s
-
-
drv_common.c
@@ -748,9 +741,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
@@ -769,9 +762,9 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -1084,6 +1077,13 @@
klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
rt_vsnprintf_tiny.c
@@ -1091,6 +1091,13 @@
..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
rt_vsscanf.c
@@ -1098,13 +1105,6 @@
..\..\..\src\klibc\rt_vsscanf.c
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
kerrno.c
@@ -1112,13 +1112,6 @@
..\..\..\src\klibc\kerrno.c
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
libcpu
@@ -1158,170 +1151,6 @@
-
- Libraries
-
-
- at32m412_416_adc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_adc.c
-
-
-
-
- at32m412_416_wwdt.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wwdt.c
-
-
-
-
- at32m412_416_pwc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_pwc.c
-
-
-
-
- at32m412_416_crm.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crm.c
-
-
-
-
- at32m412_416_dac.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dac.c
-
-
-
-
- at32m412_416_tmr.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_tmr.c
-
-
-
-
- at32m412_416_can.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_can.c
-
-
-
-
- at32m412_416_debug.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_debug.c
-
-
-
-
- at32m412_416_usart.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_usart.c
-
-
-
-
- at32m412_416_scfg.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_scfg.c
-
-
-
-
- at32m412_416_ertc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_ertc.c
-
-
-
-
- at32m412_416_flash.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_flash.c
-
-
-
-
- at32m412_416_spi.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_spi.c
-
-
-
-
- at32m412_416_dma.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dma.c
-
-
-
-
- at32m412_416_i2c.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_i2c.c
-
-
-
-
- at32m412_416_crc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crc.c
-
-
-
-
- at32m412_416_exint.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_exint.c
-
-
-
-
- at32m412_416_gpio.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_gpio.c
-
-
-
-
- system_at32m412_416.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\system_at32m412_416.c
-
-
-
-
- at32m412_416_misc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_misc.c
-
-
-
-
- at32m412_416_cmp.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_cmp.c
-
-
-
-
- at32m412_416_wdt.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wdt.c
-
-
-
-
- at32m412_416_op.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_op.c
-
-
-
diff --git a/bsp/at32/at32m412-start/project.uvprojx b/bsp/at32/at32m412-start/project.uvprojx
index 79fe8fafdb..41fe055df8 100644
--- a/bsp/at32/at32m412-start/project.uvprojx
+++ b/bsp/at32/at32m412-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- RT_USING_ARMLIBC, AT32M412CBT7, RT_USING_LIBC, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_LIBC, AT32M412CBT7, RT_USING_ARMLIBC, __RTTHREAD__
- ..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\poll;board;.;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\posix\ipc;..\libraries\rt_drivers;..\libraries\rt_drivers\config;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support;..\..\..\components\libc\compilers\common\extension;board\inc;..\..\..\components\drivers\smp_call;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\phy;applications;..\libraries\AT32M412_416_Firmware_Library\drivers\inc;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\core_support;..\..\..\libcpu\arm\common
+ ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\smp_call;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension;..\libraries\rt_drivers;..\..\..\libcpu\arm\common;board;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\finsh;.;applications;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\libraries\rt_drivers\config;board\inc
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32m412_416.s
- 2
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32m412_416.s
-
-
drv_common.c
@@ -730,13 +723,6 @@
..\..\..\components\finsh\shell.c
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -751,6 +737,13 @@
..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -1077,16 +1070,16 @@
- kerrno.c
+ kstring.c
1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\kstring.c
- kstring.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kerrno.c
@@ -1135,170 +1128,6 @@
-
- Libraries
-
-
- at32m412_416_misc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_misc.c
-
-
-
-
- at32m412_416_cmp.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_cmp.c
-
-
-
-
- at32m412_416_tmr.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_tmr.c
-
-
-
-
- at32m412_416_crm.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crm.c
-
-
-
-
- at32m412_416_ertc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_ertc.c
-
-
-
-
- at32m412_416_exint.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_exint.c
-
-
-
-
- at32m412_416_dac.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dac.c
-
-
-
-
- at32m412_416_dma.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dma.c
-
-
-
-
- at32m412_416_op.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_op.c
-
-
-
-
- at32m412_416_can.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_can.c
-
-
-
-
- at32m412_416_pwc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_pwc.c
-
-
-
-
- at32m412_416_debug.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_debug.c
-
-
-
-
- at32m412_416_wdt.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wdt.c
-
-
-
-
- at32m412_416_spi.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_spi.c
-
-
-
-
- at32m412_416_flash.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_flash.c
-
-
-
-
- at32m412_416_wwdt.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wwdt.c
-
-
-
-
- at32m412_416_i2c.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_i2c.c
-
-
-
-
- at32m412_416_crc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crc.c
-
-
-
-
- at32m412_416_gpio.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_gpio.c
-
-
-
-
- system_at32m412_416.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\system_at32m412_416.c
-
-
-
-
- at32m412_416_adc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_adc.c
-
-
-
-
- at32m412_416_usart.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_usart.c
-
-
-
-
- at32m412_416_scfg.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_scfg.c
-
-
-
diff --git a/bsp/at32/at32m416-start/project.ewp b/bsp/at32/at32m416-start/project.ewp
index f0f2809e7d..beeb49ddf0 100644
--- a/bsp/at32/at32m416-start/project.ewp
+++ b/bsp/at32/at32m416-start/project.ewp
@@ -225,7 +225,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32M416CBT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -353,29 +352,26 @@
CCIncludePath2
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\libraries\rt_drivers\config
CCStdIncCheck
@@ -1275,7 +1271,6 @@
_DLIB_ADD_EXTRA_SYMBOLS=0
AT32M416CBT7
__RTTHREAD__
- USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1403,29 +1398,26 @@
CCIncludePath2
- $PROJ_DIR$\board\inc
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\inc
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\core_support
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support
- $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\..\libraries\rt_drivers\config
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\board\inc
+ $PROJ_DIR$\..\libraries\rt_drivers\config
CCStdIncCheck
@@ -2106,6 +2098,9 @@
$PROJ_DIR$\applications\main.c
+
+ cmsis
+
Compiler
@@ -2201,9 +2196,6 @@
$PROJ_DIR$\board\src\board.c
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32m412_416.s
-
$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c
@@ -2217,10 +2209,10 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\shell.c
@@ -2282,21 +2274,21 @@
klibc
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
-
$PROJ_DIR$\..\..\..\src\klibc\kstring.c
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
libcpu
@@ -2316,84 +2308,9 @@
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c
-
- Libraries
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_spi.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_misc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_flash.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crm.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_can.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_usart.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_tmr.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wwdt.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dac.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_op.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_exint.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_i2c.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_ertc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_pwc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\system_at32m412_416.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_debug.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_cmp.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_adc.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_scfg.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_gpio.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dma.c
-
-
- $PROJ_DIR$\..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wdt.c
-
-
POSIX
-
- smp
-
utestcases
diff --git a/bsp/at32/at32m416-start/project.uvproj b/bsp/at32/at32m416-start/project.uvproj
index 4564b2f633..51042735d2 100644
--- a/bsp/at32/at32m416-start/project.uvproj
+++ b/bsp/at32/at32m416-start/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_LIBC, __STDC_LIMIT_MACROS, AT32M416CBT7, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, USE_STDPERIPH_DRIVER
+ RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_LIBC, AT32M416CBT7, __CLK_TCK=RT_TICK_PER_SECOND
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\core_support;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;board;..\..\..\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;..\libraries\rt_drivers\config;..\libraries\AT32M412_416_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;.;applications;..\..\..\components\drivers\include;..\..\..\components\finsh;board\inc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\eventfd
+ ..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;board;..\libraries\rt_drivers;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;board\inc;..\..\..\components\drivers\phy;..\..\..\components\finsh;..\libraries\rt_drivers\config;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\extension;applications;.;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd
@@ -715,13 +715,6 @@
board\src\board.c
-
-
- startup_at32m412_416.s
- 2
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32m412_416.s
-
-
drv_common.c
@@ -748,16 +741,9 @@
Finsh
- shell.c
+ msh.c
1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
@@ -769,9 +755,16 @@
- msh.c
+ shell.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
@@ -1093,16 +1086,9 @@
- kerrno.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\kerrno.c
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\rt_vsscanf.c
@@ -1114,9 +1100,16 @@
- rt_vsscanf.c
+ kerrno.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
@@ -1158,170 +1151,6 @@
-
- Libraries
-
-
- at32m412_416_scfg.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_scfg.c
-
-
-
-
- at32m412_416_tmr.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_tmr.c
-
-
-
-
- at32m412_416_adc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_adc.c
-
-
-
-
- at32m412_416_flash.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_flash.c
-
-
-
-
- at32m412_416_pwc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_pwc.c
-
-
-
-
- at32m412_416_debug.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_debug.c
-
-
-
-
- at32m412_416_dma.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dma.c
-
-
-
-
- at32m412_416_cmp.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_cmp.c
-
-
-
-
- at32m412_416_misc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_misc.c
-
-
-
-
- at32m412_416_gpio.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_gpio.c
-
-
-
-
- at32m412_416_can.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_can.c
-
-
-
-
- at32m412_416_wwdt.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wwdt.c
-
-
-
-
- at32m412_416_spi.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_spi.c
-
-
-
-
- at32m412_416_exint.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_exint.c
-
-
-
-
- at32m412_416_wdt.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wdt.c
-
-
-
-
- at32m412_416_ertc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_ertc.c
-
-
-
-
- at32m412_416_i2c.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_i2c.c
-
-
-
-
- at32m412_416_op.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_op.c
-
-
-
-
- at32m412_416_crm.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crm.c
-
-
-
-
- at32m412_416_dac.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dac.c
-
-
-
-
- system_at32m412_416.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\system_at32m412_416.c
-
-
-
-
- at32m412_416_usart.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_usart.c
-
-
-
-
- at32m412_416_crc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crc.c
-
-
-
diff --git a/bsp/at32/at32m416-start/project.uvprojx b/bsp/at32/at32m416-start/project.uvprojx
index 5a7664a760..3cac448d16 100644
--- a/bsp/at32/at32m416-start/project.uvprojx
+++ b/bsp/at32/at32m416-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- USE_STDPERIPH_DRIVER, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, AT32M416CBT7, RT_USING_LIBC, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC
+ AT32M416CBT7, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_LIBC, RT_USING_ARMLIBC
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\..\..\components\libc\compilers\common\extension;.;board\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\epoll;..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\core_support;..\libraries\rt_drivers\config;..\libraries\AT32M412_416_Firmware_Library\drivers\inc;..\..\..\components\drivers\include;board;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;applications;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\libraries\rt_drivers;..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support
+ ..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\rt_drivers\config;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;applications;board\inc;..\..\..\libcpu\arm\cortex-m4;board;..\..\..\include;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\eventfd;.;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\include;..\libraries\rt_drivers
@@ -692,13 +692,6 @@
board\src\board.c
-
-
- startup_at32m412_416.s
- 2
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32m412_416.s
-
-
drv_common.c
@@ -730,13 +723,6 @@
..\..\..\components\finsh\msh.c
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
msh_parse.c
@@ -751,6 +737,13 @@
..\..\..\components\finsh\cmd.c
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
Kernel
@@ -1061,6 +1054,20 @@
klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
rt_vsnprintf_tiny.c
@@ -1082,20 +1089,6 @@
..\..\..\src\klibc\kerrno.c
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
libcpu
@@ -1135,170 +1128,6 @@
-
- Libraries
-
-
- at32m412_416_wdt.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wdt.c
-
-
-
-
- at32m412_416_dac.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dac.c
-
-
-
-
- at32m412_416_crc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crc.c
-
-
-
-
- at32m412_416_misc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_misc.c
-
-
-
-
- at32m412_416_tmr.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_tmr.c
-
-
-
-
- at32m412_416_spi.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_spi.c
-
-
-
-
- at32m412_416_dma.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_dma.c
-
-
-
-
- at32m412_416_adc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_adc.c
-
-
-
-
- at32m412_416_pwc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_pwc.c
-
-
-
-
- at32m412_416_ertc.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_ertc.c
-
-
-
-
- system_at32m412_416.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\cmsis\cm4\device_support\system_at32m412_416.c
-
-
-
-
- at32m412_416_flash.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_flash.c
-
-
-
-
- at32m412_416_cmp.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_cmp.c
-
-
-
-
- at32m412_416_can.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_can.c
-
-
-
-
- at32m412_416_gpio.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_gpio.c
-
-
-
-
- at32m412_416_crm.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_crm.c
-
-
-
-
- at32m412_416_exint.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_exint.c
-
-
-
-
- at32m412_416_wwdt.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_wwdt.c
-
-
-
-
- at32m412_416_op.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_op.c
-
-
-
-
- at32m412_416_debug.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_debug.c
-
-
-
-
- at32m412_416_usart.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_usart.c
-
-
-
-
- at32m412_416_i2c.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_i2c.c
-
-
-
-
- at32m412_416_scfg.c
- 1
- ..\libraries\AT32M412_416_Firmware_Library\drivers\src\at32m412_416_scfg.c
-
-
-
diff --git a/bsp/at91/at91sam9g45/project.ewp b/bsp/at91/at91sam9g45/project.ewp
new file mode 100644
index 0000000000..910f7a37aa
--- /dev/null
+++ b/bsp/at91/at91sam9g45/project.ewp
@@ -0,0 +1,2293 @@
+
+ 2
+
+ Debug
+
+ ARM
+
+ 1
+
+ General
+ 3
+
+ 24
+ 1
+ 1
+
+ ExePath
+ build\rtthread\Exe
+
+
+ ObjPath
+ build\rtthread\Obj
+
+
+ ListPath
+ build\rtthread\List
+
+
+ GEndianMode
+ 0
+
+
+ Input variant
+ 3
+ 2
+
+
+ Input description
+ Full formatting, without multibyte support.
+
+
+ Output variant
+ 2
+ 2
+
+
+ Output description
+ Full formatting, without multibyte support.
+
+
+ GOutputBinary
+ 0
+
+
+ OGCoreOrChip
+ 1
+
+
+ GRuntimeLibSelect
+ 0
+ 1
+
+
+ GRuntimeLibSelectSlave
+ 0
+ 1
+
+
+ RTDescription
+ Use the normal configuration of the C/C++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.
+
+
+ OGProductVersion
+ 7.40.3.8937
+
+
+ OGLastSavedByProductVersion
+ 7.40.3.8937
+
+
+ GeneralEnableMisra
+ 0
+
+
+ GeneralMisraVerbose
+ 0
+
+
+ OGChipSelectEditMenu
+ AT91SAM9G45 Atmel AT91SAM9G45
+
+
+ GenLowLevelInterface
+ 1
+
+
+ GEndianModeBE
+ 0
+
+
+ OGBufferedTerminalOutput
+ 0
+
+
+ GenStdoutInterface
+ 0
+
+
+ GeneralMisraRules98
+ 0
+ 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
+
+
+ GeneralMisraVer
+ 0
+
+
+ GeneralMisraRules04
+ 0
+ 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
+
+
+ RTConfigPath2
+ $TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
+
+
+ GBECoreSlave
+ 22
+ 12
+
+
+ OGUseCmsis
+ 0
+
+
+ OGUseCmsisDspLib
+ 0
+
+
+ GRuntimeLibThreads
+ 0
+
+
+ CoreVariant
+ 22
+ 12
+
+
+ GFPUDeviceSlave
+ AT91SAM9G45 Atmel AT91SAM9G45
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 12
+
+
+
+
+ ICCARM
+ 2
+
+ 31
+ 1
+ 1
+
+ CCDefines
+ CLOCKS_PER_SEC=RT_TICK_PER_SECOND
+ RT_USING_DLIBC
+ RT_USING_LIBC
+ _DLIB_ADD_EXTRA_SYMBOLS=0
+ _DLIB_FILE_DESCRIPTOR
+ __RTTHREAD__
+ __RT_IPC_SOURCE__
+ __RT_KERNEL_SOURCE__
+
+
+ CCPreprocFile
+ 0
+
+
+ CCPreprocComments
+ 0
+
+
+ CCPreprocLine
+ 0
+
+
+ CCListCFile
+ 0
+
+
+ CCListCMnemonics
+ 0
+
+
+ CCListCMessages
+ 0
+
+
+ CCListAssFile
+ 0
+
+
+ CCListAssSource
+ 0
+
+
+ CCEnableRemarks
+ 0
+
+
+ CCDiagSuppress
+ Pa050
+
+
+ CCDiagRemark
+
+
+
+ CCDiagWarning
+
+
+
+ CCDiagError
+
+
+
+ CCObjPrefix
+ 1
+
+
+ CCAllowList
+ 1
+ 00000000
+
+
+ CCDebugInfo
+ 1
+
+
+ IEndianMode
+ 1
+
+
+ IProcessor
+ 1
+
+
+ IExtraOptionsCheck
+ 0
+
+
+ IExtraOptions
+
+
+
+ CCLangConformance
+ 0
+
+
+ CCSignedPlainChar
+ 1
+
+
+ CCRequirePrototypes
+ 0
+
+
+ CCMultibyteSupport
+ 0
+
+
+ CCDiagWarnAreErr
+ 0
+
+
+ CCCompilerRuntimeInfo
+ 0
+
+
+ IFpuProcessor
+ 1
+
+
+ OutputFile
+ $FILE_BNAME$.o
+
+
+ CCLibConfigHeader
+ 1
+
+
+ PreInclude
+
+
+
+ CompilerMisraOverride
+ 0
+
+
+ CCIncludePath2
+ $PROJ_DIR$\..\..\..\components\drivers\ktime\inc
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\posix\tls
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\platform
+ $PROJ_DIR$\..\..\..\components\libc\cplusplus
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\delay
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\filesystems\devfs
+ $PROJ_DIR$\..\..\..\components\drivers\ktime
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+
+
+ CCStdIncCheck
+ 0
+
+
+ CCCodeSection
+ .text
+
+
+ IInterwork2
+ 0
+
+
+ IProcessorMode2
+ 0
+
+
+ CCOptLevel
+ 1
+
+
+ CCOptStrategy
+ 0
+ 0
+
+
+ CCOptLevelSlave
+ 1
+
+
+ CompilerMisraRules98
+ 0
+ 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
+
+
+ CompilerMisraRules04
+ 0
+ 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
+
+
+ CCPosIndRopi
+ 0
+
+
+ CCPosIndRwpi
+ 0
+
+
+ CCPosIndNoDynInit
+ 0
+
+
+ IccLang
+ 2
+
+
+ IccCDialect
+ 1
+
+
+ IccAllowVLA
+ 0
+
+
+ IccCppDialect
+ 1
+
+
+ IccExceptions
+ 1
+
+
+ IccRTTI
+ 1
+
+
+ IccStaticDestr
+ 1
+
+
+ IccCppInlineSemantics
+ 0
+
+
+ IccCmsis
+ 1
+
+
+ IccFloatSemantics
+ 0
+
+
+ CCOptimizationNoSizeConstraints
+ 0
+
+
+ CCNoLiteralPool
+ 0
+
+
+ CCOptStrategySlave
+ 0
+ 0
+
+
+ CCGuardCalls
+ 1
+
+
+
+
+ AARM
+ 2
+
+ 9
+ 1
+ 1
+
+ AObjPrefix
+ 1
+
+
+ AEndian
+ 1
+
+
+ ACaseSensitivity
+ 1
+
+
+ MacroChars
+ 0
+ 0
+
+
+ AWarnEnable
+ 0
+
+
+ AWarnWhat
+ 0
+
+
+ AWarnOne
+
+
+
+ AWarnRange1
+
+
+
+ AWarnRange2
+
+
+
+ ADebug
+ 1
+
+
+ AltRegisterNames
+ 0
+
+
+ ADefines
+
+
+
+ AList
+ 0
+
+
+ AListHeader
+ 1
+
+
+ AListing
+ 1
+
+
+ Includes
+ 0
+
+
+ MacDefs
+ 0
+
+
+ MacExps
+ 1
+
+
+ MacExec
+ 0
+
+
+ OnlyAssed
+ 0
+
+
+ MultiLine
+ 0
+
+
+ PageLengthCheck
+ 0
+
+
+ PageLength
+ 80
+
+
+ TabSpacing
+ 8
+
+
+ AXRef
+ 0
+
+
+ AXRefDefines
+ 0
+
+
+ AXRefInternal
+ 0
+
+
+ AXRefDual
+ 0
+
+
+ AProcessor
+ 1
+
+
+ AFpuProcessor
+ 1
+
+
+ AOutputFile
+ $FILE_BNAME$.o
+
+
+ AMultibyteSupport
+ 0
+
+
+ ALimitErrorsCheck
+ 0
+
+
+ ALimitErrorsEdit
+ 100
+
+
+ AIgnoreStdInclude
+ 0
+
+
+ AUserIncludes
+ $PROJ_DIR$\platform
+
+
+ AExtraOptionsCheckV2
+ 0
+
+
+ AExtraOptionsV2
+
+
+
+ AsmNoLiteralPool
+ 0
+
+
+
+
+ OBJCOPY
+ 0
+
+ 1
+ 1
+ 1
+
+ OOCOutputFormat
+ 3
+ 3
+
+
+ OCOutputOverride
+ 1
+
+
+ OOCOutputFile
+ rtthread.bin
+
+
+ OOCCommandLineProducer
+ 1
+
+
+ OOCObjCopyEnable
+ 1
+
+
+
+
+ CUSTOM
+ 3
+
+
+
+ 0
+
+
+
+ BICOMP
+ 0
+
+
+
+ BUILDACTION
+ 1
+
+
+
+
+
+
+ ILINK
+ 0
+
+ 16
+ 1
+ 1
+
+ IlinkLibIOConfig
+ 1
+
+
+ XLinkMisraHandler
+ 0
+
+
+ IlinkInputFileSlave
+ 0
+
+
+ IlinkOutputFile
+ rtthread.out
+
+
+ IlinkDebugInfoEnable
+ 1
+
+
+ IlinkKeepSymbols
+
+
+
+ IlinkRawBinaryFile
+
+
+
+ IlinkRawBinarySymbol
+
+
+
+ IlinkRawBinarySegment
+
+
+
+ IlinkRawBinaryAlign
+
+
+
+ IlinkDefines
+
+
+
+ IlinkConfigDefines
+
+
+
+ IlinkMapFile
+ 0
+
+
+ IlinkLogFile
+ 0
+
+
+ IlinkLogInitialization
+ 0
+
+
+ IlinkLogModule
+ 0
+
+
+ IlinkLogSection
+ 0
+
+
+ IlinkLogVeneer
+ 0
+
+
+ IlinkIcfOverride
+ 1
+
+
+ IlinkIcfFile
+ $PROJ_DIR$\link_scripts\at91sam9g45_ram.icf
+
+
+ IlinkIcfFileSlave
+
+
+
+ IlinkEnableRemarks
+ 0
+
+
+ IlinkSuppressDiags
+
+
+
+ IlinkTreatAsRem
+
+
+
+ IlinkTreatAsWarn
+
+
+
+ IlinkTreatAsErr
+
+
+
+ IlinkWarningsAreErrors
+ 0
+
+
+ IlinkUseExtraOptions
+ 0
+
+
+ IlinkExtraOptions
+
+
+
+ IlinkLowLevelInterfaceSlave
+ 1
+
+
+ IlinkAutoLibEnable
+ 1
+
+
+ IlinkAdditionalLibs
+
+
+
+ IlinkOverrideProgramEntryLabel
+ 0
+
+
+ IlinkProgramEntryLabelSelect
+ 0
+
+
+ IlinkProgramEntryLabel
+ __iar_program_start
+
+
+ DoFill
+ 0
+
+
+ FillerByte
+ 0xFF
+
+
+ FillerStart
+ 0x0
+
+
+ FillerEnd
+ 0x0
+
+
+ CrcSize
+ 0
+ 1
+
+
+ CrcAlign
+ 1
+
+
+ CrcPoly
+ 0x11021
+
+
+ CrcCompl
+ 0
+ 0
+
+
+ CrcBitOrder
+ 0
+ 0
+
+
+ CrcInitialValue
+ 0x0
+
+
+ DoCrc
+ 0
+
+
+ IlinkBE8Slave
+ 1
+
+
+ IlinkBufferedTerminalOutput
+ 1
+
+
+ IlinkStdoutInterfaceSlave
+ 1
+
+
+ CrcFullSize
+ 0
+
+
+ IlinkIElfToolPostProcess
+ 0
+
+
+ IlinkLogAutoLibSelect
+ 0
+
+
+ IlinkLogRedirSymbols
+ 0
+
+
+ IlinkLogUnusedFragments
+ 0
+
+
+ IlinkCrcReverseByteOrder
+ 0
+
+
+ IlinkCrcUseAsInput
+ 1
+
+
+ IlinkOptInline
+ 0
+
+
+ IlinkOptExceptionsAllow
+ 1
+
+
+ IlinkOptExceptionsForce
+ 0
+
+
+ IlinkCmsis
+ 1
+
+
+ IlinkOptMergeDuplSections
+ 0
+
+
+ IlinkOptUseVfe
+ 1
+
+
+ IlinkOptForceVfe
+ 0
+
+
+ IlinkStackAnalysisEnable
+ 0
+
+
+ IlinkStackControlFile
+
+
+
+ IlinkStackCallGraphFile
+
+
+
+ CrcAlgorithm
+ 0
+ 1
+
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ IlinkThreadsSlave
+ 1
+
+
+
+
+ IARCHIVE
+ 0
+
+ 0
+ 1
+ 1
+
+ IarchiveInputs
+
+
+
+ IarchiveOverride
+ 0
+
+
+ IarchiveOutput
+ ###Unitialized###
+
+
+
+
+ BILINK
+ 0
+
+
+
+
+ Release
+
+ ARM
+
+ 0
+
+ General
+ 3
+
+ 24
+ 1
+ 0
+
+ ExePath
+ build\Release\Exe
+
+
+ ObjPath
+ build\Release\Obj
+
+
+ ListPath
+ build\Release\List
+
+
+ GEndianMode
+ 0
+
+
+ Input variant
+ 3
+ 2
+
+
+ Input description
+ Full formatting, without multibyte support.
+
+
+ Output variant
+ 2
+ 2
+
+
+ Output description
+ Full formatting, without multibyte support.
+
+
+ GOutputBinary
+ 0
+
+
+ OGCoreOrChip
+ 1
+
+
+ GRuntimeLibSelect
+ 0
+ 1
+
+
+ GRuntimeLibSelectSlave
+ 0
+ 1
+
+
+ RTDescription
+ Use the normal configuration of the C/C++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.
+
+
+ OGProductVersion
+ 7.40.3.8937
+
+
+ OGLastSavedByProductVersion
+ 7.40.3.8937
+
+
+ GeneralEnableMisra
+ 0
+
+
+ GeneralMisraVerbose
+ 0
+
+
+ OGChipSelectEditMenu
+ AT91SAM9G45 Atmel AT91SAM9G45
+
+
+ GenLowLevelInterface
+ 0
+
+
+ GEndianModeBE
+ 0
+
+
+ OGBufferedTerminalOutput
+ 0
+
+
+ GenStdoutInterface
+ 0
+
+
+ GeneralMisraRules98
+ 0
+ 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
+
+
+ GeneralMisraVer
+ 0
+
+
+ GeneralMisraRules04
+ 0
+ 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
+
+
+ RTConfigPath2
+ $TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
+
+
+ GBECoreSlave
+ 22
+ 12
+
+
+ OGUseCmsis
+ 0
+
+
+ OGUseCmsisDspLib
+ 0
+
+
+ GRuntimeLibThreads
+ 0
+
+
+ CoreVariant
+ 22
+ 12
+
+
+ GFPUDeviceSlave
+ AT91SAM9G45 Atmel AT91SAM9G45
+
+
+ FPU2
+ 0
+ 0
+
+
+ NrRegs
+ 0
+ 0
+
+
+ NEON
+ 0
+
+
+ GFPUCoreSlave2
+ 22
+ 12
+
+
+
+
+ ICCARM
+ 2
+
+ 31
+ 1
+ 0
+
+ CCDefines
+ NDEBUG
+ CLOCKS_PER_SEC=RT_TICK_PER_SECOND
+ RT_USING_DLIBC
+ RT_USING_LIBC
+ _DLIB_ADD_EXTRA_SYMBOLS=0
+ _DLIB_FILE_DESCRIPTOR
+ __RTTHREAD__
+ __RT_IPC_SOURCE__
+ __RT_KERNEL_SOURCE__
+
+
+ CCPreprocFile
+ 0
+
+
+ CCPreprocComments
+ 0
+
+
+ CCPreprocLine
+ 0
+
+
+ CCListCFile
+ 0
+
+
+ CCListCMnemonics
+ 0
+
+
+ CCListCMessages
+ 0
+
+
+ CCListAssFile
+ 0
+
+
+ CCListAssSource
+ 0
+
+
+ CCEnableRemarks
+ 0
+
+
+ CCDiagSuppress
+ Pa050
+
+
+ CCDiagRemark
+
+
+
+ CCDiagWarning
+
+
+
+ CCDiagError
+
+
+
+ CCObjPrefix
+ 1
+
+
+ CCAllowList
+ 1
+ 11111110
+
+
+ CCDebugInfo
+ 0
+
+
+ IEndianMode
+ 1
+
+
+ IProcessor
+ 1
+
+
+ IExtraOptionsCheck
+ 0
+
+
+ IExtraOptions
+
+
+
+ CCLangConformance
+ 0
+
+
+ CCSignedPlainChar
+ 1
+
+
+ CCRequirePrototypes
+ 0
+
+
+ CCMultibyteSupport
+ 0
+
+
+ CCDiagWarnAreErr
+ 0
+
+
+ CCCompilerRuntimeInfo
+ 0
+
+
+ IFpuProcessor
+ 1
+
+
+ OutputFile
+ $FILE_BNAME$.o
+
+
+ CCLibConfigHeader
+ 1
+
+
+ PreInclude
+
+
+
+ CompilerMisraOverride
+ 0
+
+
+ CCIncludePath2
+ $PROJ_DIR$\..\..\..\components\drivers\ktime\inc
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\posix\tls
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\platform
+ $PROJ_DIR$\..\..\..\components\libc\cplusplus
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\delay
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\filesystems\devfs
+ $PROJ_DIR$\..\..\..\components\drivers\ktime
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+
+
+ CCStdIncCheck
+ 0
+
+
+ CCCodeSection
+ .text
+
+
+ IInterwork2
+ 0
+
+
+ IProcessorMode2
+ 0
+
+
+ CCOptLevel
+ 3
+
+
+ CCOptStrategy
+ 0
+ 0
+
+
+ CCOptLevelSlave
+ 3
+
+
+ CompilerMisraRules98
+ 0
+ 1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111
+
+
+ CompilerMisraRules04
+ 0
+ 111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111
+
+
+ CCPosIndRopi
+ 0
+
+
+ CCPosIndRwpi
+ 0
+
+
+ CCPosIndNoDynInit
+ 0
+
+
+ IccLang
+ 2
+
+
+ IccCDialect
+ 1
+
+
+ IccAllowVLA
+ 0
+
+
+ IccCppDialect
+ 1
+
+
+ IccExceptions
+ 1
+
+
+ IccRTTI
+ 1
+
+
+ IccStaticDestr
+ 1
+
+
+ IccCppInlineSemantics
+ 0
+
+
+ IccCmsis
+ 1
+
+
+ IccFloatSemantics
+ 0
+
+
+ CCOptimizationNoSizeConstraints
+ 0
+
+
+ CCNoLiteralPool
+ 0
+
+
+ CCOptStrategySlave
+ 0
+ 0
+
+
+ CCGuardCalls
+ 1
+
+
+
+
+ AARM
+ 2
+
+ 9
+ 1
+ 0
+
+ AObjPrefix
+ 1
+
+
+ AEndian
+ 1
+
+
+ ACaseSensitivity
+ 1
+
+
+ MacroChars
+ 0
+ 0
+
+
+ AWarnEnable
+ 0
+
+
+ AWarnWhat
+ 0
+
+
+ AWarnOne
+
+
+
+ AWarnRange1
+
+
+
+ AWarnRange2
+
+
+
+ ADebug
+ 0
+
+
+ AltRegisterNames
+ 0
+
+
+ ADefines
+
+
+
+ AList
+ 0
+
+
+ AListHeader
+ 1
+
+
+ AListing
+ 1
+
+
+ Includes
+ 0
+
+
+ MacDefs
+ 0
+
+
+ MacExps
+ 1
+
+
+ MacExec
+ 0
+
+
+ OnlyAssed
+ 0
+
+
+ MultiLine
+ 0
+
+
+ PageLengthCheck
+ 0
+
+
+ PageLength
+ 80
+
+
+ TabSpacing
+ 8
+
+
+ AXRef
+ 0
+
+
+ AXRefDefines
+ 0
+
+
+ AXRefInternal
+ 0
+
+
+ AXRefDual
+ 0
+
+
+ AProcessor
+ 1
+
+
+ AFpuProcessor
+ 1
+
+
+ AOutputFile
+ $FILE_BNAME$.o
+
+
+ AMultibyteSupport
+ 0
+
+
+ ALimitErrorsCheck
+ 0
+
+
+ ALimitErrorsEdit
+ 100
+
+
+ AIgnoreStdInclude
+ 0
+
+
+ AUserIncludes
+ $PROJ_DIR$\platform
+
+
+ AExtraOptionsCheckV2
+ 0
+
+
+ AExtraOptionsV2
+
+
+
+ AsmNoLiteralPool
+ 0
+
+
+
+
+ OBJCOPY
+ 0
+
+ 1
+ 1
+ 0
+
+ OOCOutputFormat
+ 3
+ 0
+
+
+ OCOutputOverride
+ 0
+
+
+ OOCOutputFile
+ c.srec
+
+
+ OOCCommandLineProducer
+ 1
+
+
+ OOCObjCopyEnable
+ 0
+
+
+
+
+ CUSTOM
+ 3
+
+
+
+ 0
+
+
+
+ BICOMP
+ 0
+
+
+
+ BUILDACTION
+ 1
+
+
+
+
+
+
+ ILINK
+ 0
+
+ 16
+ 1
+ 0
+
+ IlinkLibIOConfig
+ 1
+
+
+ XLinkMisraHandler
+ 0
+
+
+ IlinkInputFileSlave
+ 0
+
+
+ IlinkOutputFile
+ rtthread.out
+
+
+ IlinkDebugInfoEnable
+ 1
+
+
+ IlinkKeepSymbols
+
+
+
+ IlinkRawBinaryFile
+
+
+
+ IlinkRawBinarySymbol
+
+
+
+ IlinkRawBinarySegment
+
+
+
+ IlinkRawBinaryAlign
+
+
+
+ IlinkDefines
+
+
+
+ IlinkConfigDefines
+
+
+
+ IlinkMapFile
+ 0
+
+
+ IlinkLogFile
+ 0
+
+
+ IlinkLogInitialization
+ 0
+
+
+ IlinkLogModule
+ 0
+
+
+ IlinkLogSection
+ 0
+
+
+ IlinkLogVeneer
+ 0
+
+
+ IlinkIcfOverride
+ 1
+
+
+ IlinkIcfFile
+ $PROJ_DIR$\link_scripts\at91sam9g45_ram.icf
+
+
+ IlinkIcfFileSlave
+
+
+
+ IlinkEnableRemarks
+ 0
+
+
+ IlinkSuppressDiags
+
+
+
+ IlinkTreatAsRem
+
+
+
+ IlinkTreatAsWarn
+
+
+
+ IlinkTreatAsErr
+
+
+
+ IlinkWarningsAreErrors
+ 0
+
+
+ IlinkUseExtraOptions
+ 0
+
+
+ IlinkExtraOptions
+
+
+
+ IlinkLowLevelInterfaceSlave
+ 1
+
+
+ IlinkAutoLibEnable
+ 1
+
+
+ IlinkAdditionalLibs
+
+
+
+ IlinkOverrideProgramEntryLabel
+ 0
+
+
+ IlinkProgramEntryLabelSelect
+ 0
+
+
+ IlinkProgramEntryLabel
+ __iar_program_start
+
+
+ DoFill
+ 0
+
+
+ FillerByte
+ 0xFF
+
+
+ FillerStart
+ 0x0
+
+
+ FillerEnd
+ 0x0
+
+
+ CrcSize
+ 0
+ 1
+
+
+ CrcAlign
+ 1
+
+
+ CrcPoly
+ 0x11021
+
+
+ CrcCompl
+ 0
+ 0
+
+
+ CrcBitOrder
+ 0
+ 0
+
+
+ CrcInitialValue
+ 0x0
+
+
+ DoCrc
+ 0
+
+
+ IlinkBE8Slave
+ 1
+
+
+ IlinkBufferedTerminalOutput
+ 1
+
+
+ IlinkStdoutInterfaceSlave
+ 1
+
+
+ CrcFullSize
+ 0
+
+
+ IlinkIElfToolPostProcess
+ 0
+
+
+ IlinkLogAutoLibSelect
+ 0
+
+
+ IlinkLogRedirSymbols
+ 0
+
+
+ IlinkLogUnusedFragments
+ 0
+
+
+ IlinkCrcReverseByteOrder
+ 0
+
+
+ IlinkCrcUseAsInput
+ 1
+
+
+ IlinkOptInline
+ 1
+
+
+ IlinkOptExceptionsAllow
+ 1
+
+
+ IlinkOptExceptionsForce
+ 0
+
+
+ IlinkCmsis
+ 1
+
+
+ IlinkOptMergeDuplSections
+ 0
+
+
+ IlinkOptUseVfe
+ 1
+
+
+ IlinkOptForceVfe
+ 0
+
+
+ IlinkStackAnalysisEnable
+ 0
+
+
+ IlinkStackControlFile
+
+
+
+ IlinkStackCallGraphFile
+
+
+
+ CrcAlgorithm
+ 0
+ 1
+
+
+ CrcUnitSize
+ 0
+ 0
+
+
+ IlinkThreadsSlave
+ 1
+
+
+
+
+ IARCHIVE
+ 0
+
+ 0
+ 1
+ 0
+
+ IarchiveInputs
+
+
+
+ IarchiveOverride
+ 0
+
+
+ IarchiveOutput
+ ###Unitialized###
+
+
+
+
+ BILINK
+ 0
+
+
+
+
+ Applications
+
+ $PROJ_DIR$\applications\application.c
+
+
+
+ Compiler
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\cctype.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\cstdlib.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\cstring.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\ctime.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\cunistd.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\cwchar.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c
+
+
+
+ CPP
+
+ $PROJ_DIR$\..\..\..\components\libc\cplusplus\cxx_crt_init.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\cplusplus\cxx_crt.cpp
+
+
+
+ DeviceDrivers
+
+ $PROJ_DIR$\..\..\..\components\drivers\core\device.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\pipe.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\ringbuffer.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\rtc\dev_rtc.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
+
+
+
+ Drivers
+
+ $PROJ_DIR$\drivers\led.c
+
+
+ $PROJ_DIR$\drivers\board.c
+
+
+ $PROJ_DIR$\drivers\usart.c
+
+
+
+ Filesystem
+
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
+
+
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+ $PROJ_DIR$\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+ Finsh
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh_file.c
+
+
+
+ Kernel
+
+ $PROJ_DIR$\..\..\..\src\clock.c
+
+
+ $PROJ_DIR$\..\..\..\src\components.c
+
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
+
+ $PROJ_DIR$\..\..\..\src\idle.c
+
+
+ $PROJ_DIR$\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler_comm.c
+
+
+ $PROJ_DIR$\..\..\..\src\scheduler_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\src\timer.c
+
+
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+
+ ktime
+
+ $PROJ_DIR$\..\..\..\components\drivers\ktime\src\hrtimer.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ktime\src\boottime.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ktime\src\cputimer.c
+
+
+
+ libcpu
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926\context_iar.S
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926\cpuport.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926\machine.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926\mmu.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926\stack.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926\start_iar.S
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\arm926\trap.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+
+
+ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+
+
+
+ Platform
+
+ $PROJ_DIR$\platform\interrupt.c
+
+
+ $PROJ_DIR$\platform\rt_low_level_init.c
+
+
+ $PROJ_DIR$\platform\system_clock.c
+
+
+ $PROJ_DIR$\platform\reset.c
+
+
+
+ POSIX
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\delay\delay.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\pthread.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\pthread_attr.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\pthread_barrier.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\pthread_cond.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\pthread_mutex.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\pthread_rwlock.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\pthread_spin.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\pthread_tls.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\pthreads\sched.c
+
+
+ $PROJ_DIR$\..\..\..\components\libc\posix\tls\emutls.c
+
+
+
+ utestcases
+
+
diff --git a/bsp/at91/at91sam9g45/project.eww b/bsp/at91/at91sam9g45/project.eww
new file mode 100644
index 0000000000..c2cb02eb1e
--- /dev/null
+++ b/bsp/at91/at91sam9g45/project.eww
@@ -0,0 +1,10 @@
+
+
+
+
+ $WS_DIR$\project.ewp
+
+
+
+
+
diff --git a/bsp/at91/at91sam9g45/project.uvproj b/bsp/at91/at91sam9g45/project.uvproj
index b2668f4231..9077a28cae 100644
--- a/bsp/at91/at91sam9g45/project.uvproj
+++ b/bsp/at91/at91sam9g45/project.uvproj
@@ -357,9 +357,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\arm926;.;..\..\..\components\drivers\ktime\inc;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\ktime;..\..\..\components\libc\posix\pthreads;..\..\..\libcpu\arm\common;platform;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;drivers;..\..\..\components\libc\posix\io\poll;applications;..\..\..\components\drivers\include;..\..\..\components\libc\cplusplus;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\delay;..\..\..\components\drivers\include;..\..\..\components\dfs\dfs_v1\include;..\..\..\components\libc\posix\ipc
+ applications;..\..\..\components\libc\compilers\common\extension;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;platform;..\..\..\components\drivers\ktime\inc;..\..\..\libcpu\arm\arm926;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\dfs\dfs_v1\include;..\..\..\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\libc\posix\pthreads;..\..\..\components\drivers\include;..\..\..\components\libc\posix\delay;..\..\..\components\drivers\ktime;..\..\..\components\dfs\dfs_v1\filesystems\devfs;.;..\..\..\components\drivers\smp_call;..\..\..\components\libc\cplusplus;drivers;..\..\..\components\libc\posix\tls;..\..\..\components\libc\posix\io\poll
@@ -472,16 +472,16 @@
CPP
- cxx_crt.cpp
- 8
- ..\..\..\components\libc\cplusplus\cxx_crt.cpp
+ cxx_crt_init.c
+ 1
+ ..\..\..\components\libc\cplusplus\cxx_crt_init.c
- cxx_crt_init.c
- 1
- ..\..\..\components\libc\cplusplus\cxx_crt_init.c
+ cxx_crt.cpp
+ 8
+ ..\..\..\components\libc\cplusplus\cxx_crt.cpp
@@ -508,9 +508,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -641,9 +679,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -660,9 +698,28 @@
- serial.c
+ dev_rtc.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\rtc\dev_rtc.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ dev_serial.c
+ 1
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -709,6 +766,18 @@
devfs.c
1
..\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -716,6 +785,18 @@
dfs.c
1
..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -723,6 +804,18 @@
dfs_file.c
1
..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -730,6 +823,18 @@
dfs_fs.c
1
..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -737,6 +842,18 @@
dfs_posix.c
1
..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -744,9 +861,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
@@ -765,9 +882,9 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -818,6 +935,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -875,44 +1030,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1066,13 +1183,82 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
ktime
+
+
+ cputimer.c
+ 1
+ ..\..\..\components\drivers\ktime\src\cputimer.c
+
+
+
+
+ --c99 --gnu
+
+
+
+
+
+
+
+
+
hrtimer.c
1
..\..\..\components\drivers\ktime\src\hrtimer.c
+
+
+
+
+ --c99 --gnu
+
+
+
+
+
+
+
@@ -1080,13 +1266,18 @@
boottime.c
1
..\..\..\components\drivers\ktime\src\boottime.c
-
-
-
-
- cputimer.c
- 1
- ..\..\..\components\drivers\ktime\src\cputimer.c
+
+
+
+
+ --c99 --gnu
+
+
+
+
+
+
+
@@ -1167,9 +1358,9 @@
- rt_low_level_init.c
+ reset.c
1
- platform\rt_low_level_init.c
+ platform\reset.c
@@ -1181,9 +1372,9 @@
- reset.c
+ rt_low_level_init.c
1
- platform\reset.c
+ platform\rt_low_level_init.c
@@ -1259,6 +1450,13 @@
..\..\..\components\libc\posix\pthreads\sched.c
+
+
+ emutls.c
+ 1
+ ..\..\..\components\libc\posix\tls\emutls.c
+
+
diff --git a/bsp/essemi/es32f0654/project.uvprojx b/bsp/essemi/es32f0654/project.uvprojx
index b7d8f057d0..0c2f08244b 100644
--- a/bsp/essemi/es32f0654/project.uvprojx
+++ b/bsp/essemi/es32f0654/project.uvprojx
@@ -330,9 +330,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, ES32F065x, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, RT_USING_LIBC, ES32F065x, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
- ..\..\..\libcpu\arm\cortex-m0;.;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;libraries\CMSIS\Device\EastSoft\ES32F065x\Include;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;libraries\ES32F065x_ALD_StdPeriph_Driver\Include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;drivers\ES;drivers;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;applications;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;libraries\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc
+ ..\..\..\include;..\..\..\components\libc\posix\io\epoll;libraries\CMSIS\Include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;..\..\..\components\finsh;drivers\ES;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;drivers;applications;libraries\CMSIS\Device\EastSoft\ES32F065x\Include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;libraries\ES32F065x_ALD_StdPeriph_Driver\Include;..\..\..\libcpu\arm\cortex-m0;.;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include
@@ -465,9 +465,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -598,9 +636,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -617,9 +655,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -646,16 +684,16 @@
- drv_uart.c
+ board.c
1
- drivers\drv_uart.c
+ drivers\board.c
- board.c
+ drv_uart.c
1
- drivers\board.c
+ drivers\drv_uart.c
@@ -663,9 +701,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
@@ -684,9 +722,9 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -730,6 +768,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -787,44 +863,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -978,6 +1016,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
libcpu
@@ -1011,111 +1087,6 @@
Libraries
-
-
- ald_calc.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_calc.c
-
-
-
-
- ald_gpio.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_gpio.c
-
-
-
-
- utils.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\utils.c
-
-
-
-
- ald_acmp.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_acmp.c
-
-
-
-
- ald_crc.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_crc.c
-
-
-
-
- ald_spi.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_spi.c
-
-
-
-
- ald_tsense.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_tsense.c
-
-
-
-
- ald_can.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_can.c
-
-
-
-
- ald_usart.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_usart.c
-
-
-
-
- ald_cmu.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_cmu.c
-
-
-
-
- ald_rmu.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_rmu.c
-
-
-
-
- startup_es32f065x.s
- 2
- libraries\CMSIS\Device\EastSoft\ES32F065x\Startup\keil\startup_es32f065x.s
-
-
-
-
- ald_pis.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_pis.c
-
-
-
-
- ald_iap.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_iap.c
-
-
-
-
- ald_timer.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_timer.c
-
-
ald_bkpc.c
@@ -1123,69 +1094,6 @@
libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_bkpc.c
-
-
- ald_flash_ext.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_flash_ext.c
-
-
-
-
- ald_pmu.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_pmu.c
-
-
-
-
- ald_rtc.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_rtc.c
-
-
-
-
- ald_trng.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_trng.c
-
-
-
-
- ald_flash.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_flash.c
-
-
-
-
- ald_uart.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_uart.c
-
-
-
-
- ald_i2c.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_i2c.c
-
-
-
-
- ald_adc.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_adc.c
-
-
-
-
- ald_dma.c
- 1
- libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_dma.c
-
-
ald_smartcard.c
@@ -1193,6 +1101,76 @@
libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_smartcard.c
+
+
+ utils.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\utils.c
+
+
+
+
+ ald_calc.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_calc.c
+
+
+
+
+ ald_rtc.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_rtc.c
+
+
+
+
+ ald_flash.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_flash.c
+
+
+
+
+ ald_iap.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_iap.c
+
+
+
+
+ ald_i2c.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_i2c.c
+
+
+
+
+ ald_acmp.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_acmp.c
+
+
+
+
+ ald_tsense.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_tsense.c
+
+
+
+
+ ald_crc.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_crc.c
+
+
+
+
+ ald_pmu.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_pmu.c
+
+
ald_wdt.c
@@ -1200,6 +1178,34 @@
libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_wdt.c
+
+
+ ald_timer.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_timer.c
+
+
+
+
+ ald_cmu.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_cmu.c
+
+
+
+
+ ald_trng.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_trng.c
+
+
+
+
+ ald_dma.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_dma.c
+
+
ald_crypt.c
@@ -1207,6 +1213,76 @@
libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_crypt.c
+
+
+ ald_rmu.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_rmu.c
+
+
+
+
+ ald_uart.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_uart.c
+
+
+
+
+ ald_flash_ext.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_flash_ext.c
+
+
+
+
+ ald_usart.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_usart.c
+
+
+
+
+ startup_es32f065x.s
+ 2
+ libraries\CMSIS\Device\EastSoft\ES32F065x\Startup\keil\startup_es32f065x.s
+
+
+
+
+ ald_adc.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_adc.c
+
+
+
+
+ ald_pis.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_pis.c
+
+
+
+
+ ald_gpio.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_gpio.c
+
+
+
+
+ ald_spi.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_spi.c
+
+
+
+
+ ald_can.c
+ 1
+ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_can.c
+
+
diff --git a/bsp/essemi/es32f365x/project.ewp b/bsp/essemi/es32f365x/project.ewp
index 97dcfdddee..f641bd1b8b 100644
--- a/bsp/essemi/es32f365x/project.ewp
+++ b/bsp/essemi/es32f365x/project.ewp
@@ -344,25 +344,27 @@
CCIncludePath2
- $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\drivers\ES
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Include
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include
+ $PROJ_DIR$\drivers\ES
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Include
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -1381,25 +1383,27 @@
CCIncludePath2
- $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\drivers\ES
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Include
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include
+ $PROJ_DIR$\drivers\ES
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Include
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
CCStdIncCheck
@@ -2137,7 +2141,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2158,22 +2168,22 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
Drivers
- $PROJ_DIR$\..\es32f369x\drivers\drv_gpio.c
+ $PROJ_DIR$\drivers\board.c
$PROJ_DIR$\..\es32f369x\drivers\drv_uart.c
- $PROJ_DIR$\drivers\board.c
+ $PROJ_DIR$\..\es32f369x\drivers\drv_gpio.c
@@ -2181,15 +2191,15 @@
$PROJ_DIR$\..\..\..\components\finsh\shell.c
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
Kernel
@@ -2199,6 +2209,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2208,12 +2224,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2242,6 +2252,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2263,17 +2291,41 @@
Libraries
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_can.c
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pmu.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c
$PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash_ext.c
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c
+
$PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c
@@ -2281,80 +2333,20 @@
$PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2s.c
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c
$PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2s.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c
-
$PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pmu.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_can.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c
-
-
- $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Startup\iar\startup_es32f36xx.s
-
$PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_wdt.c
@@ -2362,13 +2354,52 @@
$PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash.c
- $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c
$PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c
+
+ $PROJ_DIR$\..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Startup\iar\startup_es32f36xx.s
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c
+
+
+ $PROJ_DIR$\..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c
+
POSIX
+
+ utestcases
+
diff --git a/bsp/essemi/es32f365x/project.uvprojx b/bsp/essemi/es32f365x/project.uvprojx
index 09222360dc..a73a4dd9ad 100644
--- a/bsp/essemi/es32f365x/project.uvprojx
+++ b/bsp/essemi/es32f365x/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, ES32F36xx, __RTTHREAD__
+ __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC, ES32F36xx
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include;..\..\..\components\libc\compilers\common\include;applications;drivers;..\es32f369x\libraries\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Include;..\..\..\components\libc\posix\io\poll;.;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc;..\..\..\components\finsh;drivers\ES
+ ..\es32f369x\libraries\CMSIS\Include;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\finsh;drivers\ES;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\include;..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension;applications;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\include;drivers;..\..\..\components\drivers\include;.;..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Include
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -640,13 +678,6 @@
Drivers
-
-
- drv_gpio.c
- 1
- ..\es32f369x\drivers\drv_gpio.c
-
-
drv_uart.c
@@ -661,6 +692,13 @@
drivers\board.c
+
+
+ drv_gpio.c
+ 1
+ ..\es32f369x\drivers\drv_gpio.c
+
+
Finsh
@@ -673,16 +711,16 @@
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
- msh_parse.c
+ msh.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\msh.c
@@ -733,6 +771,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -790,44 +866,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1000,6 +1038,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1040,27 +1116,6 @@
Libraries
-
-
- ald_tsense.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c
-
-
-
-
- ald_nor_lcd.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c
-
-
-
-
- ald_usb.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c
-
-
ald_rmu.c
@@ -1068,104 +1123,6 @@
..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c
-
-
- ald_calc.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c
-
-
-
-
- ald_uart.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c
-
-
-
-
- ald_rtchw.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c
-
-
-
-
- ald_i2s.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2s.c
-
-
-
-
- ald_cmu.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c
-
-
-
-
- ald_crypt.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c
-
-
-
-
- ald_crc.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c
-
-
-
-
- ald_adc.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c
-
-
-
-
- ald_pis.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c
-
-
-
-
- ald_qspi.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c
-
-
-
-
- ald_iap.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c
-
-
-
-
- ald_i2c.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c
-
-
-
-
- ald_sram.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c
-
-
-
-
- ald_dac.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c
-
-
ald_gpio.c
@@ -1173,20 +1130,6 @@
..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c
-
-
- ald_nand.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c
-
-
-
-
- ald_timer.c
- 1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c
-
-
ald_wdt.c
@@ -1203,9 +1146,16 @@
- ald_ebi.c
+ ald_i2s.c
1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2s.c
+
+
+
+
+ ald_nor_lcd.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c
@@ -1215,6 +1165,20 @@
..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash_ext.c
+
+
+ ald_trng.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c
+
+
+
+
+ ald_sram.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c
+
+
startup_es32f36xx.s
@@ -1222,6 +1186,20 @@
..\es32f369x\libraries\CMSIS\Device\EastSoft\ES32F36xx\Startup\keil\startup_es32f36xx.s
+
+
+ ald_iap.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c
+
+
+
+
+ ald_cmu.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c
+
+
utils.c
@@ -1229,6 +1207,34 @@
..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c
+
+
+ ald_rtc.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c
+
+
+
+
+ ald_i2c.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c
+
+
+
+
+ ald_crypt.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c
+
+
+
+
+ ald_nand.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c
+
+
ald_pmu.c
@@ -1238,23 +1244,30 @@
- ald_dma.c
+ ald_timer.c
1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c
- ald_spi.c
+ ald_ebi.c
1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c
- ald_acmp.c
+ ald_calc.c
1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c
+
+
+
+
+ ald_rtchw.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c
@@ -1266,16 +1279,44 @@
- ald_rtc.c
+ ald_dac.c
1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c
- ald_trng.c
+ ald_tsense.c
1
- ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c
+
+
+
+
+ ald_pis.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c
+
+
+
+
+ ald_qspi.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c
+
+
+
+
+ ald_acmp.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c
+
+
+
+
+ ald_crc.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c
@@ -1285,6 +1326,41 @@
..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_can.c
+
+
+ ald_spi.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c
+
+
+
+
+ ald_uart.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c
+
+
+
+
+ ald_adc.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c
+
+
+
+
+ ald_usb.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c
+
+
+
+
+ ald_dma.c
+ 1
+ ..\es32f369x\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c
+
+
diff --git a/bsp/essemi/es32f369x/project.ewp b/bsp/essemi/es32f369x/project.ewp
index 7ec0f7915b..065e7f963f 100644
--- a/bsp/essemi/es32f369x/project.ewp
+++ b/bsp/essemi/es32f369x/project.ewp
@@ -344,25 +344,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\drivers\ES
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\libraries\CMSIS\Device\EastSoft\ES32F36xx\Include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\drivers\ES
$PROJ_DIR$\libraries\CMSIS\Include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
CCStdIncCheck
@@ -1381,25 +1383,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\drivers\ES
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include
- $PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\libraries\CMSIS\Device\EastSoft\ES32F36xx\Include
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\drivers\ES
$PROJ_DIR$\libraries\CMSIS\Include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Include
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
CCStdIncCheck
@@ -2137,7 +2141,13 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2158,38 +2168,38 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
Drivers
-
- $PROJ_DIR$\drivers\drv_gpio.c
-
$PROJ_DIR$\drivers\drv_uart.c
$PROJ_DIR$\drivers\board.c
+
+ $PROJ_DIR$\drivers\drv_gpio.c
+
Finsh
$PROJ_DIR$\..\..\..\components\finsh\shell.c
-
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
-
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
+
Kernel
@@ -2199,6 +2209,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2208,12 +2224,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2242,6 +2252,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2263,91 +2291,37 @@
Libraries
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2s.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash_ext.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pmu.c
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c
$PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c
-
-
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c
$PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_can.c
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pmu.c
+
+
+ $PROJ_DIR$\libraries\CMSIS\Device\EastSoft\ES32F36xx\Startup\iar\startup_es32f36xx.s
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c
$PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c
@@ -2356,19 +2330,76 @@
$PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_wdt.c
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2s.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash_ext.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c
$PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c
- $PROJ_DIR$\libraries\CMSIS\Device\EastSoft\ES32F36xx\Startup\iar\startup_es32f36xx.s
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c
- $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c
+
+
+ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c
POSIX
+
+ utestcases
+
diff --git a/bsp/essemi/es32f369x/project.uvprojx b/bsp/essemi/es32f369x/project.uvprojx
index 18c9a24f73..5a5e7182e4 100644
--- a/bsp/essemi/es32f369x/project.uvprojx
+++ b/bsp/essemi/es32f369x/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, ES32F36xx, __RTTHREAD__
+ RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __RTTHREAD__, ES32F36xx, __STDC_LIMIT_MACROS
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;libraries\ES32F36xx_ALD_StdPeriph_Driver\Include;drivers\ES;applications;..\..\..\components\libc\compilers\common\include;.;libraries\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;libraries\CMSIS\Device\EastSoft\ES32F36xx\Include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\ipc;..\..\..\components\finsh;drivers
+ .;applications;..\..\..\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\epoll;drivers\ES;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;libraries\CMSIS\Include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\phy;libraries\ES32F36xx_ALD_StdPeriph_Driver\Include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\finsh;..\..\..\components\drivers\include;libraries\CMSIS\Device\EastSoft\ES32F36xx\Include;..\..\..\components\libc\posix\ipc;drivers
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -640,13 +678,6 @@
Drivers
-
-
- drv_gpio.c
- 1
- drivers\drv_gpio.c
-
-
drv_uart.c
@@ -661,21 +692,28 @@
drivers\board.c
+
+
+ drv_gpio.c
+ 1
+ drivers\drv_gpio.c
+
+
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\cmd.c
- msh.c
+ shell.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\shell.c
@@ -687,9 +725,9 @@
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\msh.c
@@ -733,6 +771,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -790,44 +866,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1000,6 +1038,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1040,6 +1116,132 @@
Libraries
+
+
+ ald_rtc.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c
+
+
+
+
+ ald_rtchw.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c
+
+
+
+
+ ald_can.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_can.c
+
+
+
+
+ ald_crc.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c
+
+
+
+
+ ald_flash.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash.c
+
+
+
+
+ ald_acmp.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c
+
+
+
+
+ ald_timer.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c
+
+
+
+
+ startup_es32f36xx.s
+ 2
+ libraries\CMSIS\Device\EastSoft\ES32F36xx\Startup\keil\startup_es32f36xx.s
+
+
+
+
+ ald_gpio.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c
+
+
+
+
+ ald_qspi.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c
+
+
+
+
+ ald_adc.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c
+
+
+
+
+ ald_calc.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c
+
+
+
+
+ ald_iap.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c
+
+
+
+
+ ald_nand.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c
+
+
+
+
+ ald_cmu.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c
+
+
+
+
+ ald_uart.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c
+
+
+
+
+ ald_bkpc.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c
+
+
+
+
+ ald_wdt.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_wdt.c
+
+
ald_i2s.c
@@ -1054,20 +1256,6 @@
libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c
-
-
- ald_i2c.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c
-
-
-
-
- ald_calc.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c
-
-
ald_usb.c
@@ -1075,69 +1263,6 @@
libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c
-
-
- ald_gpio.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c
-
-
-
-
- ald_uart.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c
-
-
-
-
- ald_tsense.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c
-
-
-
-
- ald_flash_ext.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash_ext.c
-
-
-
-
- ald_rtc.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c
-
-
-
-
- ald_iap.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c
-
-
-
-
- ald_rmu.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c
-
-
-
-
- ald_adc.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c
-
-
-
-
- ald_ebi.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c
-
-
ald_sram.c
@@ -1145,13 +1270,6 @@
libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c
-
-
- ald_nand.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c
-
-
utils.c
@@ -1159,97 +1277,6 @@
libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c
-
-
- ald_can.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_can.c
-
-
-
-
- ald_acmp.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c
-
-
-
-
- ald_crypt.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c
-
-
-
-
- ald_rtchw.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c
-
-
-
-
- ald_crc.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c
-
-
-
-
- ald_trng.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c
-
-
-
-
- ald_timer.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c
-
-
-
-
- ald_pis.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c
-
-
-
-
- ald_cmu.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c
-
-
-
-
- ald_nor_lcd.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c
-
-
-
-
- ald_wdt.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_wdt.c
-
-
-
-
- startup_es32f36xx.s
- 2
- libraries\CMSIS\Device\EastSoft\ES32F36xx\Startup\keil\startup_es32f36xx.s
-
-
-
-
- ald_flash.c
- 1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash.c
-
-
ald_spi.c
@@ -1259,16 +1286,30 @@
- ald_dma.c
+ ald_ebi.c
1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c
- ald_qspi.c
+ ald_rmu.c
1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c
+
+
+
+
+ ald_trng.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c
+
+
+
+
+ ald_pis.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c
@@ -1280,9 +1321,44 @@
- ald_bkpc.c
+ ald_dma.c
1
- libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c
+
+
+
+
+ ald_i2c.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c
+
+
+
+
+ ald_nor_lcd.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c
+
+
+
+
+ ald_crypt.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c
+
+
+
+
+ ald_flash_ext.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash_ext.c
+
+
+
+
+ ald_tsense.c
+ 1
+ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c
diff --git a/bsp/fm33lc026/project.uvprojx b/bsp/fm33lc026/project.uvprojx
index b3c9ea738b..ec4155df09 100644
--- a/bsp/fm33lc026/project.uvprojx
+++ b/bsp/fm33lc026/project.uvprojx
@@ -331,9 +331,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_HAL_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, FM33LC0XX
+ USE_HAL_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, __STDC_LIMIT_MACROS, FM33LC0XX, __RTTHREAD__, RT_USING_ARMLIBC
- ..\..\components\libc\compilers\common\extension\fcntl\octal;libraries\FM33LC0xx_FL_Driver\Inc;..\..\libcpu\arm\cortex-m0;..\..\components\libc\compilers\common\include;libraries\FM33LC0xx_FL_Driver\CMSIS\Include;libraries\HAL_Drivers\config;..\..\components\drivers\include;applications;..\..\components\finsh;..\..\components\drivers\include;..\..\libcpu\arm\common;..\..\components\drivers\include;..\..\include;board;..\..\components\libc\posix\io\eventfd;.;..\..\components\libc\posix\io\poll;..\..\components\drivers\include;libraries\HAL_Drivers;..\..\components\libc\compilers\common\extension;..\..\components\drivers\include;..\..\components\libc\posix\io\epoll;..\..\components\libc\posix\ipc
+ libraries\FM33LC0xx_FL_Driver\CMSIS\Include;..\..\components\libc\posix\io\eventfd;..\..\components\drivers\include;..\..\components\libc\posix\io\epoll;.;..\..\components\libc\compilers\common\include;..\..\components\libc\compilers\common\extension;board;..\..\components\drivers\include;..\..\components\drivers\include;..\..\libcpu\arm\common;..\..\include;..\..\components\drivers\phy;..\..\components\drivers\include;applications;..\..\libcpu\arm\cortex-m0;..\..\components\drivers\include;..\..\components\drivers\include;libraries\HAL_Drivers;..\..\components\drivers\smp_call;..\..\components\libc\posix\ipc;..\..\components\libc\compilers\common\extension\fcntl\octal;libraries\HAL_Drivers\config;libraries\FM33LC0xx_FL_Driver\Inc;..\..\components\finsh;..\..\components\libc\posix\io\poll
@@ -466,9 +466,9 @@
- i2c-bit-ops.c
+ dev_i2c_bit_ops.c
1
- ..\..\components\drivers\i2c\i2c-bit-ops.c
+ ..\..\components\drivers\i2c\dev_i2c_bit_ops.c
@@ -485,9 +485,9 @@
- i2c_core.c
+ dev_i2c_core.c
1
- ..\..\components\drivers\i2c\i2c_core.c
+ ..\..\components\drivers\i2c\dev_i2c_core.c
@@ -504,9 +504,9 @@
- i2c_dev.c
+ dev_i2c_dev.c
1
- ..\..\components\drivers\i2c\i2c_dev.c
+ ..\..\components\drivers\i2c\dev_i2c_dev.c
@@ -523,9 +523,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\components\drivers\ipc\completion.c
+ ..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\components\drivers\ipc\condvar.c
@@ -656,9 +694,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\components\drivers\pin\pin.c
+ ..\..\components\drivers\pin\dev_pin.c
@@ -675,9 +713,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\components\drivers\serial\serial.c
+ ..\..\components\drivers\serial\dev_serial.c
@@ -735,9 +773,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\components\finsh\shell.c
+ ..\..\components\finsh\cmd.c
@@ -756,28 +794,14 @@
- cmd.c
+ shell.c
1
- ..\..\components\finsh\cmd.c
+ ..\..\components\finsh\shell.c
FM33LC0xx_FL_Driver
-
-
- fm33lc0xx_fl_rcc.c
- 1
- libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_rcc.c
-
-
-
-
- fm33lc0xx_fl_crc.c
- 1
- libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_crc.c
-
-
fm33lc0xx_fl_uart.c
@@ -785,27 +809,6 @@
libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_uart.c
-
-
- fm33lc0xx_fl_lpuart.c
- 1
- libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_lpuart.c
-
-
-
-
- fm33lc0xx_fl_i2c.c
- 1
- libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_i2c.c
-
-
-
-
- fm33lc0xx_fl_gpio.c
- 1
- libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_gpio.c
-
-
fm33lc0xx_fl_dma.c
@@ -820,6 +823,34 @@
libraries\FM33LC0xx_FL_Driver\CMSIS\system_fm33lc0xx.c
+
+
+ fm33lc0xx_fl_i2c.c
+ 1
+ libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_i2c.c
+
+
+
+
+ fm33lc0xx_fl_gpio.c
+ 1
+ libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_gpio.c
+
+
+
+
+ fm33lc0xx_fl_crc.c
+ 1
+ libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_crc.c
+
+
+
+
+ fm33lc0xx_fl_rcc.c
+ 1
+ libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_rcc.c
+
+
fm33lc0xx_fl_exti.c
@@ -827,6 +858,13 @@
libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_exti.c
+
+
+ fm33lc0xx_fl_lpuart.c
+ 1
+ libraries\FM33LC0xx_FL_Driver\Src\fm33lc0xx_fl_lpuart.c
+
+
Kernel
@@ -868,6 +906,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -925,44 +1001,6 @@
-
-
- kstdio.c
- 1
- ..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1116,6 +1154,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\src\klibc\kstdio.c
+
+
+
libcpu
diff --git a/bsp/frdm-k64f/project.uvproj b/bsp/frdm-k64f/project.uvproj
index 35ce81ac79..32a0e957e5 100644
--- a/bsp/frdm-k64f/project.uvproj
+++ b/bsp/frdm-k64f/project.uvproj
@@ -357,9 +357,9 @@
0
- __STDC_LIMIT_MACROS, CPU_MK64FN1M0VLL12, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_ARMLIBC
+ RT_USING_LIBC, CPU_MK64FN1M0VLL12, __RTTHREAD__, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS
- ..\..\libcpu\arm\cortex-m4;..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\components\net\lwip\lwip-2.0.3\src\include\posix;..\..\components\libc\compilers\common\include;device\MK64F12;..\..\libcpu\arm\common;.;device;..\..\components\finsh;..\..\components\drivers\include;board;..\..\components\libc\posix\ipc;..\..\components\drivers\include;..\..\include;..\..\components\libc\posix\io\eventfd;..\..\components\net\lwip\lwip-2.0.3\src\include;..\..\components\net\lwip\lwip-2.0.3\src\include\netif;..\..\components\libc\posix\io\poll;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension;..\..\components\drivers\include;..\..\components\libc\posix\io\epoll;..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;..\..\components\net\lwip\port
+ ..\..\components\drivers\include;..\..\components\libc\posix\io\eventfd;device;..\..\components\net\lwip\lwip-2.0.3\src\include\posix;device\MK64F12;..\..\components\net\lwip\lwip-2.0.3\src\include\netif;.;..\..\components\net\lwip\port;applications;..\..\components\finsh;..\..\components\drivers\include;..\..\components\drivers\phy;..\..\components\drivers\include;..\..\components\libc\posix\ipc;..\..\components\libc\compilers\common\extension;..\..\libcpu\arm\cortex-m4;..\..\components\libc\posix\io\epoll;..\..\components\libc\posix\io\poll;..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;..\..\components\drivers\include;..\..\include;..\..\components\libc\compilers\common\include;..\..\components\drivers\include;..\..\components\drivers\smp_call;..\..\libcpu\arm\common;board;..\..\components\net\lwip\lwip-2.0.3\src\include
@@ -403,16 +403,16 @@
Applications
- application.c
+ startup.c
1
- applications\application.c
+ applications\startup.c
- startup.c
+ application.c
1
- applications\startup.c
+ applications\application.c
@@ -498,9 +498,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\components\drivers\ipc\completion.c
+ ..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\components\drivers\ipc\condvar.c
@@ -631,9 +669,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\components\drivers\pin\pin.c
+ ..\..\components\drivers\pin\dev_pin.c
@@ -650,9 +688,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\components\drivers\serial\serial.c
+ ..\..\components\drivers\serial\dev_serial.c
@@ -995,20 +1033,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -1016,6 +1040,13 @@
..\..\components\finsh\msh_parse.c
+
+
+ shell.c
+ 1
+ ..\..\components\finsh\shell.c
+
+
cmd.c
@@ -1023,6 +1054,13 @@
..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\components\finsh\msh.c
+
+
Kernel
@@ -1064,6 +1102,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -1121,44 +1197,6 @@
-
-
- kstdio.c
- 1
- ..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1312,6 +1350,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\src\klibc\kerrno.c
+
+
+
libcpu
diff --git a/bsp/frdm-k64f/project.uvprojx b/bsp/frdm-k64f/project.uvprojx
index 544f9e1697..1202a27b9f 100644
--- a/bsp/frdm-k64f/project.uvprojx
+++ b/bsp/frdm-k64f/project.uvprojx
@@ -329,9 +329,9 @@
0
- __STDC_LIMIT_MACROS, CPU_MK64FN1M0VLL12, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, RT_USING_ARMLIBC
+ __RTTHREAD__, __STDC_LIMIT_MACROS, RT_USING_LIBC, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, CPU_MK64FN1M0VLL12
- ..\..\libcpu\arm\cortex-m4;..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\components\net\lwip\lwip-2.0.3\src\include\posix;..\..\components\libc\compilers\common\include;device\MK64F12;..\..\libcpu\arm\common;.;device;..\..\components\finsh;..\..\components\drivers\include;board;..\..\components\libc\posix\ipc;..\..\components\drivers\include;..\..\include;..\..\components\libc\posix\io\eventfd;..\..\components\net\lwip\lwip-2.0.3\src\include;..\..\components\net\lwip\lwip-2.0.3\src\include\netif;..\..\components\libc\posix\io\poll;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension;..\..\components\drivers\include;..\..\components\libc\posix\io\epoll;..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;..\..\components\net\lwip\port
+ ..\..\components\libc\posix\io\poll;..\..\components\libc\compilers\common\include;..\..\components\libc\posix\ipc;..\..\components\net\lwip\lwip-2.0.3\src\include;..\..\components\drivers\include;..\..\components\drivers\smp_call;..\..\components\drivers\include;applications;device\MK64F12;..\..\components\drivers\phy;.;..\..\components\net\lwip\lwip-2.0.3\src\include\ipv4;..\..\components\net\lwip\port;device;..\..\include;..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\components\drivers\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\libc\compilers\common\extension;..\..\components\net\lwip\lwip-2.0.3\src\include\netif;..\..\components\finsh;..\..\components\net\lwip\lwip-2.0.3\src\include\posix;..\..\components\libc\posix\io\epoll;..\..\components\drivers\include;..\..\components\libc\posix\io\eventfd;board;..\..\components\drivers\include
@@ -376,16 +376,16 @@
Applications
- startup.c
+ application.c
1
- applications\startup.c
+ applications\application.c
- application.c
+ startup.c
1
- applications\application.c
+ applications\startup.c
@@ -471,9 +471,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\components\drivers\ipc\completion.c
+ ..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\components\drivers\ipc\condvar.c
@@ -604,9 +642,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\components\drivers\pin\pin.c
+ ..\..\components\drivers\pin\dev_pin.c
@@ -623,9 +661,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\components\drivers\serial\serial.c
+ ..\..\components\drivers\serial\dev_serial.c
@@ -975,6 +1013,13 @@
..\..\components\finsh\shell.c
+
+
+ cmd.c
+ 1
+ ..\..\components\finsh\cmd.c
+
+
msh.c
@@ -989,13 +1034,6 @@
..\..\components\finsh\msh_parse.c
-
-
- cmd.c
- 1
- ..\..\components\finsh\cmd.c
-
-
Kernel
@@ -1037,6 +1075,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -1094,44 +1170,6 @@
-
-
- kstdio.c
- 1
- ..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1285,6 +1323,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
diff --git a/bsp/ft32/ft32f072xb-starter/project.uvprojx b/bsp/ft32/ft32f072xb-starter/project.uvprojx
index 743a721f22..c4124210c4 100644
--- a/bsp/ft32/ft32f072xb-starter/project.uvprojx
+++ b/bsp/ft32/ft32f072xb-starter/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, FT32F072xB, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ RT_USING_LIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __RTTHREAD__, FT32F072xB
- applications;..\..\..\libcpu\arm\cortex-m0;board;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;.;..\libraries\FT32F0xx\FT32F0xx_Driver\templates\Inc;..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\libraries\FT32F0xx\CMSIS\FT32F0xx\Include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\libraries\FT32F0xx\FT32F0xx_Driver\Inc;..\..\..\components\libc\posix\ipc;..\libraries\Drivers
+ ..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\libraries\Drivers;..\..\..\components\drivers\include;.;..\libraries\FT32F0xx\FT32F0xx_Driver\Inc;..\..\..\components\finsh;..\libraries\FT32F0xx\FT32F0xx_Driver\templates\Inc;..\..\..\components\drivers\include;board;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;applications;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\libraries\FT32F0xx\CMSIS\FT32F0xx\Include;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\epoll;..\..\..\include;..\..\..\components\libc\compilers\common\include
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -674,16 +712,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\cmd.c
@@ -695,9 +726,16 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
@@ -741,6 +779,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -798,44 +874,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -989,6 +1027,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1022,6 +1098,34 @@
Libraries
+
+
+ system_ft32f0xx.c
+ 1
+ ..\libraries\FT32F0xx\CMSIS\FT32F0xx\source\system_ft32f0xx.c
+
+
+
+
+ ft32f0xx_pwr.c
+ 1
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_pwr.c
+
+
+
+
+ ft32f0xx_iwdg.c
+ 1
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_iwdg.c
+
+
+
+
+ ft32f0xx_misc.c
+ 1
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_misc.c
+
+
ft32f0xx_crs.c
@@ -1038,16 +1142,30 @@
- ft32f0xx_pwr.c
+ ft32f0xx_comp.c
1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_pwr.c
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_comp.c
- ft32f0xx_div.c
+ ft32f0xx_exti.c
1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_div.c
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_exti.c
+
+
+
+
+ ft32f0xx_debug.c
+ 1
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_debug.c
+
+
+
+
+ ft32f0xx_tim.c
+ 1
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_tim.c
@@ -1057,13 +1175,6 @@
..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_crc.c
-
-
- ft32f0xx_syscfg.c
- 1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_syscfg.c
-
-
ft32f0xx_usart.c
@@ -1078,34 +1189,6 @@
..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_dma.c
-
-
- system_ft32f0xx.c
- 1
- ..\libraries\FT32F0xx\CMSIS\FT32F0xx\source\system_ft32f0xx.c
-
-
-
-
- ft32f0xx_tim.c
- 1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_tim.c
-
-
-
-
- ft32f0xx_comp.c
- 1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_comp.c
-
-
-
-
- ft32f0xx_debug.c
- 1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_debug.c
-
-
ft32f0xx_rcc.c
@@ -1115,23 +1198,16 @@
- ft32f0xx_exti.c
+ ft32f0xx_syscfg.c
1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_exti.c
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_syscfg.c
- ft32f0xx_iwdg.c
+ ft32f0xx_div.c
1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_iwdg.c
-
-
-
-
- ft32f0xx_misc.c
- 1
- ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_misc.c
+ ..\libraries\FT32F0xx\FT32F0xx_Driver\Src\ft32f0xx_div.c
diff --git a/bsp/fujitsu/mb9x/mb9bf506r/project.ewp b/bsp/fujitsu/mb9x/mb9bf506r/project.ewp
index 0df47a10d1..e8829f33ca 100644
--- a/bsp/fujitsu/mb9x/mb9bf506r/project.ewp
+++ b/bsp/fujitsu/mb9x/mb9bf506r/project.ewp
@@ -160,7 +160,6 @@
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
__RTTHREAD__
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -293,26 +292,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\libraries\CMSIS\Include
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\.
$PROJ_DIR$\libraries\Device\FUJISTU\MB9BF50x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\libraries\CMSIS\Include
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
CCStdIncCheck
@@ -1055,7 +1056,6 @@
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
__RTTHREAD__
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1188,26 +1188,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\libraries\CMSIS\Include
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\.
$PROJ_DIR$\libraries\Device\FUJISTU\MB9BF50x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\libraries\CMSIS\Include
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
CCStdIncCheck
@@ -1862,7 +1864,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -1883,23 +1891,23 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
Drivers
+
+ $PROJ_DIR$\drivers\led.c
+
$PROJ_DIR$\drivers\board.c
$PROJ_DIR$\drivers\nand.c
-
- $PROJ_DIR$\drivers\led.c
-
$PROJ_DIR$\drivers\fm3_uart.c
@@ -1933,9 +1941,6 @@
Finsh
-
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
@@ -1943,11 +1948,14 @@
$PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh_file.c
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+
Kernel
@@ -1957,6 +1965,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -1966,12 +1980,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2000,6 +2008,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2018,4 +2044,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/fujitsu/mb9x/mb9bf506r/project.uvproj b/bsp/fujitsu/mb9x/mb9bf506r/project.uvproj
index 657050fb1b..3886b72445 100644
--- a/bsp/fujitsu/mb9x/mb9bf506r/project.uvproj
+++ b/bsp/fujitsu/mb9x/mb9bf506r/project.uvproj
@@ -341,9 +341,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC
- drivers;libraries\CMSIS\Include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;.;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat;..\..\..\..\libcpu\arm\common;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;libraries\Device\FUJISTU\MB9BF50x\Include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\libc\posix\ipc;applications
+ libraries\CMSIS\Include;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\drivers\smp_call;libraries\Device\FUJISTU\MB9BF50x\Include;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;applications;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\finsh;.;..\..\..\..\libcpu\arm\cortex-m3;drivers;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
@@ -384,16 +384,16 @@
Applications
- application.c
+ startup.c
1
- applications\application.c
+ applications\startup.c
- startup.c
+ application.c
1
- applications\startup.c
+ applications\application.c
@@ -496,9 +496,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -629,9 +667,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -648,9 +686,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -668,6 +706,20 @@
Drivers
+
+
+ board.c
+ 1
+ drivers\board.c
+
+
+
+
+ led.c
+ 1
+ drivers\led.c
+
+
nand.c
@@ -682,20 +734,6 @@
drivers\fm3_uart.c
-
-
- led.c
- 1
- drivers\led.c
-
-
-
-
- board.c
- 1
- drivers\board.c
-
-
Filesystem
@@ -704,6 +742,18 @@
devfs.c
1
..\..\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -711,6 +761,18 @@
dfs_elm.c
1
..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat\dfs_elm.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -718,6 +780,18 @@
ff.c
1
..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat\ff.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -725,6 +799,18 @@
ffunicode.c
1
..\..\..\..\components\dfs\dfs_v1\filesystems\elmfat\ffunicode.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -732,6 +818,18 @@
dfs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -739,6 +837,18 @@
dfs_file.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -746,6 +856,18 @@
dfs_fs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -753,18 +875,23 @@
dfs_posix.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -774,9 +901,16 @@
- msh_parse.c
+ msh_file.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\msh_file.c
+
+
+
+
+ shell.c
+ 1
+ ..\..\..\..\components\finsh\shell.c
@@ -788,9 +922,9 @@
- msh_file.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\msh_file.c
+ ..\..\..\..\components\finsh\msh_parse.c
@@ -834,6 +968,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -891,44 +1063,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1101,6 +1235,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
libcpu
diff --git a/bsp/fujitsu/mb9x/mb9bf568r/project.uvproj b/bsp/fujitsu/mb9x/mb9bf568r/project.uvproj
index 04b4d710ad..d3000c7c3c 100644
--- a/bsp/fujitsu/mb9x/mb9bf568r/project.uvproj
+++ b/bsp/fujitsu/mb9x/mb9bf568r/project.uvproj
@@ -345,9 +345,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ RT_USING_LIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;.;CMSIS\Include;..\..\..\..\components\libc\compilers\common\include;applications;drivers;..\..\..\..\libcpu\arm\common;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\..\..\components\drivers\include;CMSIS\DeviceSupport;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\libc\posix\ipc
+ applications;.;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\phy;..\..\..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\posix\ipc;CMSIS\DeviceSupport;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\include;..\..\..\..\components\drivers\smp_call;CMSIS\Include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\posix\io\eventfd;drivers;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
@@ -501,9 +501,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -634,9 +672,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -653,9 +691,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -675,14 +713,7 @@
Drivers
- board.c
- 1
- drivers\board.c
-
-
-
-
- drivers_serial.c
+ serial.c
1
drivers\serial.c
@@ -694,6 +725,13 @@
drivers\led.c
+
+
+ board.c
+ 1
+ drivers\board.c
+
+
Filesystem
@@ -702,6 +740,18 @@
devfs.c
1
..\..\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -709,6 +759,18 @@
dfs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -716,6 +778,18 @@
dfs_file.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -723,6 +797,18 @@
dfs_fs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -730,11 +816,30 @@
dfs_posix.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
Finsh
+
+
+ msh_parse.c
+ 1
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
shell.c
@@ -749,13 +854,6 @@
..\..\..\..\components\finsh\msh.c
-
-
- msh_parse.c
- 1
- ..\..\..\..\components\finsh\msh_parse.c
-
-
cmd.c
@@ -811,6 +909,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -868,44 +1004,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1059,6 +1157,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
diff --git a/bsp/fujitsu/mb9x/mb9bf618s/project.ewp b/bsp/fujitsu/mb9x/mb9bf618s/project.ewp
index 09bcbb10b6..c0263c2e79 100644
--- a/bsp/fujitsu/mb9x/mb9bf618s/project.ewp
+++ b/bsp/fujitsu/mb9x/mb9bf618s/project.ewp
@@ -169,7 +169,6 @@
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
__RTTHREAD__
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -302,24 +301,26 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\CMSIS\Include
- $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
$PROJ_DIR$\CMSIS\DeviceSupport\fujitsu\mb9bf61x
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\CMSIS\Include
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\..\components\drivers\include
@@ -1114,7 +1115,6 @@
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
__RTTHREAD__
__RT_IPC_SOURCE__
__RT_KERNEL_SOURCE__
@@ -1247,24 +1247,26 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\CMSIS\Include
- $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
$PROJ_DIR$\CMSIS\DeviceSupport\fujitsu\mb9bf61x
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\CMSIS\Include
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\..\components\drivers\include
@@ -1893,10 +1895,10 @@
Applications
- $PROJ_DIR$\applications\application.c
+ $PROJ_DIR$\applications\startup.c
- $PROJ_DIR$\applications\startup.c
+ $PROJ_DIR$\applications\application.c
@@ -1962,7 +1964,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -1983,10 +1991,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -1995,10 +2003,10 @@
$PROJ_DIR$\drivers\board.c
- $PROJ_DIR$\drivers\serial.c
+ $PROJ_DIR$\drivers\led.c
- $PROJ_DIR$\drivers\led.c
+ $PROJ_DIR$\drivers\serial.c
@@ -2021,20 +2029,20 @@
Finsh
-
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_file.c
$PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_file.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
@@ -2045,6 +2053,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2054,12 +2068,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2085,6 +2093,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2103,4 +2129,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/fujitsu/mb9x/mb9bf618s/project.uvproj b/bsp/fujitsu/mb9x/mb9bf618s/project.uvproj
index 33073d6d36..ed7c6b3ce5 100644
--- a/bsp/fujitsu/mb9x/mb9bf618s/project.uvproj
+++ b/bsp/fujitsu/mb9x/mb9bf618s/project.uvproj
@@ -346,9 +346,9 @@
0
- MB9B610S, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, MB9B610S, RT_USING_LIBC, __RTTHREAD__
- ..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;CMSIS\DeviceSupport\fujitsu\mb9bf61x;applications;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;CMSIS\Include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;.;..\..\..\..\components\drivers\include;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\libc\posix\ipc;drivers
+ ..\..\..\..\components\drivers\include;.;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\cortex-m3;applications;CMSIS\DeviceSupport\fujitsu\mb9bf61x;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\libc\compilers\common\extension;drivers;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\phy;CMSIS\Include;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\ipc;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\..\..\components\libc\posix\io\eventfd
@@ -502,9 +502,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -635,9 +673,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -654,9 +692,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -674,6 +712,13 @@
Drivers
+
+
+ led.c
+ 1
+ drivers\led.c
+
+
board.c
@@ -683,18 +728,11 @@
- drivers_serial.c
+ serial.c
1
drivers\serial.c
-
-
- led.c
- 1
- drivers\led.c
-
-
Filesystem
@@ -703,6 +741,18 @@
devfs.c
1
..\..\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -710,6 +760,18 @@
dfs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -717,6 +779,18 @@
dfs_file.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -724,6 +798,18 @@
dfs_fs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -731,11 +817,30 @@
dfs_posix.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
Finsh
+
+
+ msh_file.c
+ 1
+ ..\..\..\..\components\finsh\msh_file.c
+
+
shell.c
@@ -743,20 +848,6 @@
..\..\..\..\components\finsh\shell.c
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
-
-
-
- msh_parse.c
- 1
- ..\..\..\..\components\finsh\msh_parse.c
-
-
cmd.c
@@ -766,9 +857,16 @@
- msh_file.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\msh_file.c
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
@@ -812,6 +910,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -869,44 +1005,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1060,6 +1158,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
libcpu
diff --git a/bsp/gd32/arm/gd32103c-eval/project.ewp b/bsp/gd32/arm/gd32103c-eval/project.ewp
index 53e5aafe1d..c43889fd74 100644
--- a/bsp/gd32/arm/gd32103c-eval/project.ewp
+++ b/bsp/gd32/arm/gd32103c-eval/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
$PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\include
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\include
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
$PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\include
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\include
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2043,16 +2053,16 @@
Finsh
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh.c
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -2120,9 +2148,6 @@
Libraries
-
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
-
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
@@ -2133,13 +2158,19 @@
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
+
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32103c-eval/project.uvproj b/bsp/gd32/arm/gd32103c-eval/project.uvproj
index e41dbda2ab..4a06f87450 100644
--- a/bsp/gd32/arm/gd32103c-eval/project.uvproj
+++ b/bsp/gd32/arm/gd32103c-eval/project.uvproj
@@ -370,9 +370,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, GD32F10X_HD
+ RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__, GD32F10X_HD, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND
- ..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;applications;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\..\..\..\components\finsh;.;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;board;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\libcpu\arm\common;board;..\..\..\..\components\drivers\include;..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\cortex-m3;.;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;applications;..\libraries\gd32_drivers;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\drivers\smp_call;..\..\..\..\include;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -710,9 +748,9 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\msh_parse.c
@@ -724,9 +762,9 @@
- msh_parse.c
+ shell.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\shell.c
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1058,6 +1134,27 @@
Libraries
+
+
+ gd32f10x_rcu.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
+
+
+
+
+ system_gd32f10x.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
+
+
+
+
+ gd32f10x_usart.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+
+
gd32f10x_exti.c
@@ -1079,27 +1176,6 @@
..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
-
-
- system_gd32f10x.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
-
-
-
-
- gd32f10x_rcu.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
-
-
-
-
- gd32f10x_usart.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
-
-
diff --git a/bsp/gd32/arm/gd32103c-eval/project.uvprojx b/bsp/gd32/arm/gd32103c-eval/project.uvprojx
index b6bae9cc0f..cdcd69332d 100644
--- a/bsp/gd32/arm/gd32103c-eval/project.uvprojx
+++ b/bsp/gd32/arm/gd32103c-eval/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, GD32F10X_HD
+ __CLK_TCK=RT_TICK_PER_SECOND, GD32F10X_HD, __RTTHREAD__, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC
- ..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;applications;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\..\..\..\components\finsh;.;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;board;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\finsh;applications;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\drivers\include;.;..\..\..\..\include;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;board;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -674,9 +712,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\cmd.c
@@ -688,16 +726,16 @@
- msh_parse.c
+ shell.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\shell.c
- cmd.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\msh_parse.c
@@ -741,6 +779,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -798,44 +874,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -989,6 +1027,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1031,9 +1107,9 @@
- gd32f10x_gpio.c
+ gd32f10x_rcu.c
1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
@@ -1052,9 +1128,9 @@
- gd32f10x_rcu.c
+ gd32f10x_gpio.c
1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
diff --git a/bsp/gd32/arm/gd32105c-eval/project.ewp b/bsp/gd32/arm/gd32105c-eval/project.ewp
index 36e2e83cdc..dd85e247bb 100644
--- a/bsp/gd32/arm/gd32105c-eval/project.ewp
+++ b/bsp/gd32/arm/gd32105c-eval/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2049,10 +2059,10 @@
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2120,26 +2148,29 @@
Libraries
-
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
-
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
-
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
-
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32105c-eval/project.uvproj b/bsp/gd32/arm/gd32105c-eval/project.uvproj
index f08109dcc9..55bd294c0b 100644
--- a/bsp/gd32/arm/gd32105c-eval/project.uvproj
+++ b/bsp/gd32/arm/gd32105c-eval/project.uvproj
@@ -370,9 +370,9 @@
0
- GD32F10X_CL, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ GD32F10X_CL, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC
- ..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;board;..\..\..\..\components\libc\compilers\common\include;.;..\libraries\gd32_drivers;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;applications;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\drivers\include;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;applications;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\drivers\phy;..\libraries\gd32_drivers;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\posix\ipc;..\..\..\..\include;..\..\..\..\components\finsh;..\libraries\GD32F10x_Firmware_Library\CMSIS;board;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\smp_call;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;.;..\..\..\..\components\drivers\include
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -710,9 +748,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\cmd.c
@@ -724,16 +762,16 @@
- msh_parse.c
+ shell.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\shell.c
- cmd.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\msh_parse.c
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1058,13 +1134,6 @@
Libraries
-
-
- gd32f10x_exti.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
-
-
gd32f10x_gpio.c
@@ -1072,13 +1141,6 @@
..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
-
-
- gd32f10x_misc.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
-
-
system_gd32f10x.c
@@ -1100,6 +1162,20 @@
..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+
+
+ gd32f10x_misc.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
+
+
+
+
+ gd32f10x_exti.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
+
+
diff --git a/bsp/gd32/arm/gd32105c-eval/project.uvprojx b/bsp/gd32/arm/gd32105c-eval/project.uvprojx
index b0197bf684..48386a62f9 100644
--- a/bsp/gd32/arm/gd32105c-eval/project.uvprojx
+++ b/bsp/gd32/arm/gd32105c-eval/project.uvprojx
@@ -334,9 +334,9 @@
0
- GD32F10X_CL, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, GD32F10X_CL, RT_USING_LIBC, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__
- ..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;board;..\..\..\..\components\libc\compilers\common\include;.;..\libraries\gd32_drivers;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;applications;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\drivers\include;applications;..\..\..\..\components\drivers\include;.;board;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\finsh;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\include;..\libraries\gd32_drivers;..\libraries\GD32F10x_Firmware_Library\CMSIS;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\drivers\include
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -674,16 +712,16 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\cmd.c
- msh.c
+ shell.c
1
- ..\..\..\..\components\finsh\msh.c
+ ..\..\..\..\components\finsh\shell.c
@@ -695,9 +733,9 @@
- cmd.c
+ msh.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\msh.c
@@ -741,6 +779,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -798,44 +874,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -989,6 +1027,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1022,6 +1098,13 @@
Libraries
+
+
+ gd32f10x_gpio.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
+
+
gd32f10x_exti.c
@@ -1031,9 +1114,9 @@
- gd32f10x_gpio.c
+ gd32f10x_rcu.c
1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
@@ -1050,13 +1133,6 @@
..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
-
-
- gd32f10x_rcu.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
-
-
gd32f10x_usart.c
diff --git a/bsp/gd32/arm/gd32105r-start/project.ewp b/bsp/gd32/arm/gd32105r-start/project.ewp
index 36e2e83cdc..50857e858d 100644
--- a/bsp/gd32/arm/gd32105r-start/project.ewp
+++ b/bsp/gd32/arm/gd32105r-start/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\board
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\board
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2042,15 +2052,15 @@
Finsh
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+
$PROJ_DIR$\..\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
-
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
libcpu
@@ -2124,10 +2152,10 @@
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
@@ -2136,10 +2164,13 @@
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32105r-start/project.uvproj b/bsp/gd32/arm/gd32105r-start/project.uvproj
index ade82c59b9..9f0869645a 100644
--- a/bsp/gd32/arm/gd32105r-start/project.uvproj
+++ b/bsp/gd32/arm/gd32105r-start/project.uvproj
@@ -370,9 +370,9 @@
0
- GD32F10X_CL, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, GD32F10X_CL
- ..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;.;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;applications;board;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc
+ .;..\..\..\..\include;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\posix\io\eventfd;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\drivers\phy;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;applications;..\..\..\..\components\drivers\include;..\libraries\gd32_drivers;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\drivers\include;board;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\smp_call
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -717,16 +755,16 @@
- msh.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\msh.c
+ ..\..\..\..\components\finsh\msh_parse.c
- msh_parse.c
+ msh.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\msh.c
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1058,27 +1134,6 @@
Libraries
-
-
- gd32f10x_exti.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
-
-
-
-
- gd32f10x_gpio.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
-
-
-
-
- gd32f10x_misc.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
-
-
system_gd32f10x.c
@@ -1100,6 +1155,27 @@
..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+
+
+ gd32f10x_gpio.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
+
+
+
+
+ gd32f10x_misc.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
+
+
+
+
+ gd32f10x_exti.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
+
+
diff --git a/bsp/gd32/arm/gd32105r-start/project.uvprojx b/bsp/gd32/arm/gd32105r-start/project.uvprojx
index 2e6e66a9fa..50af97f19a 100644
--- a/bsp/gd32/arm/gd32105r-start/project.uvprojx
+++ b/bsp/gd32/arm/gd32105r-start/project.uvprojx
@@ -334,9 +334,9 @@
0
- GD32F10X_CL, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ RT_USING_ARMLIBC, RT_USING_LIBC, GD32F10X_CL, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
- ..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;.;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;applications;board;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\include;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\smp_call;.;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\include;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;board;..\..\..\..\components\libc\posix\ipc;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\io\eventfd;..\libraries\gd32_drivers;..\..\..\..\components\drivers\phy;..\libraries\GD32F10x_Firmware_Library\CMSIS;applications;..\..\..\..\components\drivers\include
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -681,16 +719,16 @@
- msh.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\msh.c
+ ..\..\..\..\components\finsh\msh_parse.c
- msh_parse.c
+ msh.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\msh.c
@@ -741,6 +779,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -798,44 +874,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -989,6 +1027,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1022,27 +1098,6 @@
Libraries
-
-
- gd32f10x_exti.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
-
-
-
-
- gd32f10x_gpio.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
-
-
-
-
- gd32f10x_misc.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
-
-
system_gd32f10x.c
@@ -1050,6 +1105,13 @@
..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
+
+
+ gd32f10x_usart.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+
+
gd32f10x_rcu.c
@@ -1059,9 +1121,23 @@
- gd32f10x_usart.c
+ gd32f10x_misc.c
1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
+
+
+
+
+ gd32f10x_gpio.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
+
+
+
+
+ gd32f10x_exti.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
diff --git a/bsp/gd32/arm/gd32107c-eval/project.ewp b/bsp/gd32/arm/gd32107c-eval/project.ewp
index e672e9066e..6996ca785b 100644
--- a/bsp/gd32/arm/gd32107c-eval/project.ewp
+++ b/bsp/gd32/arm/gd32107c-eval/project.ewp
@@ -303,26 +303,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
$PROJ_DIR$\..\..\..\..\components\drivers\spi
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
$PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -1274,26 +1276,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
$PROJ_DIR$\..\..\..\..\components\drivers\spi
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
$PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\.
CCStdIncCheck
@@ -2000,7 +2004,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2021,16 +2031,16 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
- $PROJ_DIR$\..\..\..\..\components\drivers\spi\spi_core.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\spi\dev_spi.c
- $PROJ_DIR$\..\..\..\..\components\drivers\spi\spi_dev.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\spi\dev_spi_core.c
@@ -2053,6 +2063,9 @@
Finsh
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+
$PROJ_DIR$\..\..\..\..\components\finsh\shell.c
@@ -2062,9 +2075,6 @@
$PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
-
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
-
Kernel
@@ -2074,6 +2084,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2083,12 +2099,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2114,6 +2124,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
libcpu
@@ -2132,19 +2160,16 @@
Libraries
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
-
-
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
-
-
- $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
@@ -2152,8 +2177,14 @@
$PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+
+ $PROJ_DIR$\..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
+
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32107c-eval/project.uvproj b/bsp/gd32/arm/gd32107c-eval/project.uvproj
index 0f6f7e5778..02d95b0af8 100644
--- a/bsp/gd32/arm/gd32107c-eval/project.uvproj
+++ b/bsp/gd32/arm/gd32107c-eval/project.uvproj
@@ -370,9 +370,9 @@
0
- GD32F10X_CL, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __RTTHREAD__, GD32F10X_CL, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND
- ..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;.;..\..\..\..\components\libc\compilers\common\include;board;..\libraries\gd32_drivers;..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;..\..\..\..\components\drivers\spi;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;applications;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\drivers\include;..\..\..\..\include;board;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\gd32_drivers;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;..\..\..\..\components\drivers\include;.;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\phy;..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\compilers\common\extension;applications;..\..\..\..\components\drivers\spi
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -676,9 +714,9 @@
- spi_core.c
+ dev_spi.c
1
- ..\..\..\..\components\drivers\spi\spi_core.c
+ ..\..\..\..\components\drivers\spi\dev_spi.c
@@ -695,9 +733,9 @@
- spi_dev.c
+ dev_spi_core.c
1
- ..\..\..\..\components\drivers\spi\spi_dev.c
+ ..\..\..\..\components\drivers\spi\dev_spi_core.c
@@ -753,20 +791,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -774,6 +798,13 @@
..\..\..\..\components\finsh\msh_parse.c
+
+
+ shell.c
+ 1
+ ..\..\..\..\components\finsh\shell.c
+
+
cmd.c
@@ -781,6 +812,13 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -822,6 +860,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -879,44 +955,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1070,6 +1108,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1105,9 +1181,16 @@
Libraries
- gd32f10x_spi.c
+ gd32f10x_gpio.c
1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
+
+
+
+
+ system_gd32f10x.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
@@ -1117,13 +1200,6 @@
..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
-
-
- gd32f10x_gpio.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c
-
-
gd32f10x_misc.c
@@ -1131,13 +1207,6 @@
..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c
-
-
- system_gd32f10x.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
-
-
gd32f10x_rcu.c
@@ -1152,6 +1221,13 @@
..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+
+
+ gd32f10x_spi.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c
+
+
diff --git a/bsp/gd32/arm/gd32107c-eval/project.uvprojx b/bsp/gd32/arm/gd32107c-eval/project.uvprojx
index fdf48522c4..152b37b1d1 100644
--- a/bsp/gd32/arm/gd32107c-eval/project.uvprojx
+++ b/bsp/gd32/arm/gd32107c-eval/project.uvprojx
@@ -334,9 +334,9 @@
0
- GD32F10X_CL, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __RTTHREAD__, GD32F10X_CL, USE_STDPERIPH_DRIVER, RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND
- ..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;.;..\..\..\..\components\libc\compilers\common\include;board;..\libraries\gd32_drivers;..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;..\..\..\..\components\drivers\spi;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;applications;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\libc\compilers\common\include;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\spi;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;applications;..\libraries\GD32F10x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\eventfd;..\libraries\gd32_drivers;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Include;.;..\..\..\..\include
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -640,9 +678,9 @@
- spi_core.c
+ dev_spi.c
1
- ..\..\..\..\components\drivers\spi\spi_core.c
+ ..\..\..\..\components\drivers\spi\dev_spi.c
@@ -659,9 +697,9 @@
- spi_dev.c
+ dev_spi_core.c
1
- ..\..\..\..\components\drivers\spi\spi_dev.c
+ ..\..\..\..\components\drivers\spi\dev_spi_core.c
@@ -717,20 +755,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -745,6 +769,20 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ shell.c
+ 1
+ ..\..\..\..\components\finsh\shell.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -786,6 +824,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -843,44 +919,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1034,6 +1072,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
libcpu
@@ -1069,16 +1145,9 @@
Libraries
- gd32f10x_spi.c
+ system_gd32f10x.c
1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c
-
-
-
-
- gd32f10x_exti.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
+ ..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
@@ -1097,16 +1166,9 @@
- system_gd32f10x.c
+ gd32f10x_exti.c
1
- ..\libraries\GD32F10x_Firmware_Library\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c
-
-
-
-
- gd32f10x_rcu.c
- 1
- ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c
@@ -1116,6 +1178,20 @@
..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c
+
+
+ gd32f10x_spi.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c
+
+
+
+
+ gd32f10x_rcu.c
+ 1
+ ..\libraries\GD32F10x_Firmware_Library\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c
+
+
diff --git a/bsp/gd32/arm/gd32205r-start/project.ewp b/bsp/gd32/arm/gd32205r-start/project.ewp
index 76cc47110b..ca85ee6482 100644
--- a/bsp/gd32/arm/gd32205r-start/project.ewp
+++ b/bsp/gd32/arm/gd32205r-start/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include
+ $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
$PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\gd32_drivers
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include
+ $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
$PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\gd32_drivers
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2043,13 +2053,13 @@
Finsh
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -2120,26 +2148,29 @@
Libraries
+
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_misc.c
+
$PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Source\system_gd32f20x.c
+
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_usart.c
+
$PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_exti.c
-
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
-
-
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_misc.c
-
$PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_rcu.c
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_usart.c
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32205r-start/project.uvproj b/bsp/gd32/arm/gd32205r-start/project.uvproj
index e8bbe3002d..c95629be92 100644
--- a/bsp/gd32/arm/gd32205r-start/project.uvproj
+++ b/bsp/gd32/arm/gd32205r-start/project.uvproj
@@ -370,9 +370,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, GD32F20X_CL
+ RT_USING_ARMLIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER, GD32F20X_CL, __STDC_LIMIT_MACROS, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND
- board;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F20x_Firmware_Library\CMSIS;.;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include;applications;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include;..\..\..\..\components\libc\posix\ipc
+ board;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\include;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\..\..\..\libcpu\arm\cortex-m3;..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include;..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;applications;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\libraries\GD32F20x_Firmware_Library\CMSIS;.;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\phy
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -708,13 +746,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -736,6 +767,13 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ shell.c
+ 1
+ ..\..\..\..\components\finsh\shell.c
+
+
Kernel
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1074,9 +1150,9 @@
- gd32f20x_gpio.c
+ gd32f20x_rcu.c
1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_rcu.c
@@ -1088,9 +1164,9 @@
- gd32f20x_rcu.c
+ gd32f20x_gpio.c
1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_rcu.c
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
diff --git a/bsp/gd32/arm/gd32205r-start/project.uvprojx b/bsp/gd32/arm/gd32205r-start/project.uvprojx
index 9e9015ac9d..5dfc705197 100644
--- a/bsp/gd32/arm/gd32205r-start/project.uvprojx
+++ b/bsp/gd32/arm/gd32205r-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, GD32F20X_CL
+ RT_USING_LIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_ARMLIBC, GD32F20X_CL, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND
- board;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F20x_Firmware_Library\CMSIS;.;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include;applications;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\libc\compilers\common\extension;applications;..\libraries\GD32F20x_Firmware_Library\CMSIS;..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\libcpu\arm\common;..\..\..\..\components\finsh;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;board;..\..\..\..\components\drivers\smp_call;..\libraries\gd32_drivers;.;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -671,20 +709,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -699,6 +723,20 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ shell.c
+ 1
+ ..\..\..\..\components\finsh\shell.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -740,6 +778,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -797,44 +873,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -988,6 +1026,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
libcpu
@@ -1037,9 +1113,9 @@
- gd32f20x_gpio.c
+ gd32f20x_rcu.c
1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_rcu.c
@@ -1051,16 +1127,16 @@
- gd32f20x_rcu.c
+ gd32f20x_usart.c
1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_rcu.c
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_usart.c
- gd32f20x_usart.c
+ gd32f20x_gpio.c
1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_usart.c
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
diff --git a/bsp/gd32/arm/gd32207i-eval/project.ewp b/bsp/gd32/arm/gd32207i-eval/project.ewp
index 1fbfff0e7d..e7d6970986 100644
--- a/bsp/gd32/arm/gd32207i-eval/project.ewp
+++ b/bsp/gd32/arm/gd32207i-eval/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\board
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m3
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\board
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2042,18 +2052,18 @@
Finsh
-
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+
Kernel
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
libcpu
@@ -2123,23 +2151,26 @@
$PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Source\system_gd32f20x.c
-
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_exti.c
-
$PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_misc.c
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_exti.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_usart.c
$PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_rcu.c
- $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_usart.c
+ $PROJ_DIR$\..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_misc.c
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32207i-eval/project.uvproj b/bsp/gd32/arm/gd32207i-eval/project.uvproj
index bede91dbe9..a26f13249f 100644
--- a/bsp/gd32/arm/gd32207i-eval/project.uvproj
+++ b/bsp/gd32/arm/gd32207i-eval/project.uvproj
@@ -370,9 +370,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, GD32F20X_CL
+ RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, __RTTHREAD__, GD32F20X_CL, RT_USING_LIBC
- ..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;.;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F20x_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;board;..\..\..\..\components\libc\posix\io\epoll;..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include;..\..\..\..\components\libc\posix\ipc;applications
+ ..\..\..\..\components\drivers\include;..\libraries\GD32F20x_Firmware_Library\CMSIS;..\libraries\gd32_drivers;applications;.;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\posix\io\epoll;..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include;..\..\..\..\components\drivers\phy;..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;..\..\..\..\include;board;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\libcpu\arm\cortex-m3;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -708,6 +746,13 @@
Finsh
+
+
+ msh_parse.c
+ 1
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
shell.c
@@ -722,13 +767,6 @@
..\..\..\..\components\finsh\msh.c
-
-
- msh_parse.c
- 1
- ..\..\..\..\components\finsh\msh_parse.c
-
-
cmd.c
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1058,34 +1134,6 @@
Libraries
-
-
- system_gd32f20x.c
- 1
- ..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Source\system_gd32f20x.c
-
-
-
-
- gd32f20x_exti.c
- 1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_exti.c
-
-
-
-
- gd32f20x_gpio.c
- 1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
-
-
-
-
- gd32f20x_misc.c
- 1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_misc.c
-
-
gd32f20x_rcu.c
@@ -1100,6 +1148,34 @@
..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_usart.c
+
+
+ gd32f20x_misc.c
+ 1
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_misc.c
+
+
+
+
+ gd32f20x_gpio.c
+ 1
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
+
+
+
+
+ gd32f20x_exti.c
+ 1
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_exti.c
+
+
+
+
+ system_gd32f20x.c
+ 1
+ ..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Source\system_gd32f20x.c
+
+
diff --git a/bsp/gd32/arm/gd32207i-eval/project.uvprojx b/bsp/gd32/arm/gd32207i-eval/project.uvprojx
index b4cb73b045..a34c10f619 100644
--- a/bsp/gd32/arm/gd32207i-eval/project.uvprojx
+++ b/bsp/gd32/arm/gd32207i-eval/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, GD32F20X_CL
+ __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, GD32F20X_CL, RT_USING_LIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC
- ..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3;.;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F20x_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;board;..\..\..\..\components\libc\posix\io\epoll;..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include;..\..\..\..\components\libc\posix\ipc;applications
+ ..\..\..\..\components\drivers\include;..\libraries\gd32_drivers;..\..\..\..\components\libc\posix\io\eventfd;applications;..\..\..\..\components\drivers\include;..\libraries\GD32F20x_Firmware_Library\CMSIS;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;.;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\include;..\libraries\GD32F20x_Firmware_Library\CMSIS\GD\GD32F20x\Include;..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Include;..\..\..\..\components\drivers\phy;board;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\cortex-m3
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -673,9 +711,16 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\..\components\finsh\cmd.c
@@ -687,16 +732,9 @@
- msh_parse.c
+ shell.c
1
- ..\..\..\..\components\finsh\msh_parse.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\shell.c
@@ -740,6 +778,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -797,44 +873,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -988,6 +1026,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
@@ -1021,6 +1097,13 @@
Libraries
+
+
+ gd32f20x_gpio.c
+ 1
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
+
+
system_gd32f20x.c
@@ -1035,20 +1118,6 @@
..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_exti.c
-
-
- gd32f20x_gpio.c
- 1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_gpio.c
-
-
-
-
- gd32f20x_misc.c
- 1
- ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_misc.c
-
-
gd32f20x_rcu.c
@@ -1063,6 +1132,13 @@
..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_usart.c
+
+
+ gd32f20x_misc.c
+ 1
+ ..\libraries\GD32F20x_Firmware_Library\GD32F20x_standard_peripheral\Source\gd32f20x_misc.c
+
+
diff --git a/bsp/gd32/arm/gd32303c-start/project.ewp b/bsp/gd32/arm/gd32303c-start/project.ewp
index db39b2d979..6666258d93 100644
--- a/bsp/gd32/arm/gd32303c-start/project.ewp
+++ b/bsp/gd32/arm/gd32303c-start/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
$PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\components\drivers\include
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
$PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\components\drivers\include
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2042,15 +2052,15 @@
Finsh
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+
$PROJ_DIR$\..\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
-
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2124,16 +2152,16 @@
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
@@ -2142,4 +2170,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32303c-start/project.uvproj b/bsp/gd32/arm/gd32303c-start/project.uvproj
index fef03e271f..2d15673bed 100644
--- a/bsp/gd32/arm/gd32303c-start/project.uvproj
+++ b/bsp/gd32/arm/gd32303c-start/project.uvproj
@@ -370,9 +370,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F30X_XD, __RTTHREAD__
+ __RTTHREAD__, RT_USING_ARMLIBC, GD32F30X_XD, __CLK_TCK=RT_TICK_PER_SECOND, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __STDC_LIMIT_MACROS
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;board;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;.;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ ..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\compilers\common\extension;board;..\..\..\..\components\drivers\phy;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;.;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\eventfd;..\libraries\gd32_drivers;applications;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\smp_call;..\..\..\..\libcpu\arm\cortex-m4
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -715,13 +753,6 @@
..\..\..\..\components\finsh\shell.c
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -736,6 +767,13 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1074,9 +1150,9 @@
- gd32f30x_usart.c
+ gd32f30x_misc.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
@@ -1095,9 +1171,9 @@
- gd32f30x_misc.c
+ gd32f30x_usart.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
diff --git a/bsp/gd32/arm/gd32303c-start/project.uvprojx b/bsp/gd32/arm/gd32303c-start/project.uvprojx
index d7b1a1b6b3..5a00f3f992 100644
--- a/bsp/gd32/arm/gd32303c-start/project.uvprojx
+++ b/bsp/gd32/arm/gd32303c-start/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F30X_XD, __RTTHREAD__
+ __STDC_LIMIT_MACROS, RT_USING_LIBC, GD32F30X_XD, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;board;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;.;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ ..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\libraries\gd32_drivers;.;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\smp_call;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\phy;board;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include;applications;..\..\..\..\include
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -673,9 +711,9 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\msh_parse.c
@@ -687,16 +725,16 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\cmd.c
- cmd.c
+ shell.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\shell.c
@@ -740,6 +778,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -797,44 +873,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -988,6 +1026,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1023,30 +1099,9 @@
Libraries
- system_gd32f30x.c
+ gd32f30x_misc.c
1
- ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
-
-
-
-
- gd32f30x_rcu.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
-
-
-
-
- gd32f30x_usart.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
-
-
-
-
- gd32f30x_exti.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
@@ -1058,9 +1113,30 @@
- gd32f30x_misc.c
+ gd32f30x_exti.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+
+
+
+
+ gd32f30x_usart.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
+
+
+
+
+ system_gd32f30x.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
+
+
+
+
+ gd32f30x_rcu.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
diff --git a/bsp/gd32/arm/gd32303e-eval/project.ewp b/bsp/gd32/arm/gd32303e-eval/project.ewp
index 31412725f7..b66c769dbb 100644
--- a/bsp/gd32/arm/gd32303e-eval/project.ewp
+++ b/bsp/gd32/arm/gd32303e-eval/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\drivers\include
$PROJ_DIR$\board
$PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\drivers\include
$PROJ_DIR$\board
$PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2043,16 +2053,16 @@
Finsh
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2123,18 +2151,18 @@
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
-
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
-
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
@@ -2142,4 +2170,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32303e-eval/project.uvproj b/bsp/gd32/arm/gd32303e-eval/project.uvproj
index 3b8c5fb429..df76b1db0b 100644
--- a/bsp/gd32/arm/gd32303e-eval/project.uvproj
+++ b/bsp/gd32/arm/gd32303e-eval/project.uvproj
@@ -370,9 +370,9 @@
0
- GD32F30X_HD, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ USE_STDPERIPH_DRIVER, GD32F30X_HD, RT_USING_LIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;.;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;board;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ .;..\..\..\..\components\drivers\smp_call;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\..\..\..\components\drivers\include;applications;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\eventfd;..\libraries\gd32_drivers;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\libcpu\arm\cortex-m4;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\compilers\common\include
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -717,16 +755,16 @@
- msh.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\msh.c
+ ..\..\..\..\components\finsh\msh_parse.c
- msh_parse.c
+ msh.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\msh.c
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
@@ -1058,13 +1134,6 @@
Libraries
-
-
- system_gd32f30x.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
-
-
gd32f30x_rcu.c
@@ -1072,13 +1141,6 @@
..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
-
-
- gd32f30x_usart.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
-
-
gd32f30x_exti.c
@@ -1086,6 +1148,13 @@
..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+
+
+ gd32f30x_misc.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+
+
gd32f30x_gpio.c
@@ -1095,9 +1164,16 @@
- gd32f30x_misc.c
+ system_gd32f30x.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+ ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
+
+
+
+
+ gd32f30x_usart.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
diff --git a/bsp/gd32/arm/gd32303e-eval/project.uvprojx b/bsp/gd32/arm/gd32303e-eval/project.uvprojx
index f9663a8fc4..3e6d0f7b26 100644
--- a/bsp/gd32/arm/gd32303e-eval/project.uvprojx
+++ b/bsp/gd32/arm/gd32303e-eval/project.uvprojx
@@ -334,9 +334,9 @@
0
- GD32F30X_HD, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __RTTHREAD__, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F30X_HD, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;.;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;board;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ ..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\smp_call;.;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;applications;board;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\phy;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\finsh;..\libraries\gd32_drivers;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\posix\ipc
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -674,16 +712,9 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
+ ..\..\..\..\components\finsh\cmd.c
@@ -695,9 +726,16 @@
- cmd.c
+ msh.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\msh.c
+
+
+
+
+ shell.c
+ 1
+ ..\..\..\..\components\finsh\shell.c
@@ -741,6 +779,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -798,44 +874,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -989,6 +1027,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1022,20 +1098,6 @@
Libraries
-
-
- system_gd32f30x.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
-
-
-
-
- gd32f30x_rcu.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
-
-
gd32f30x_usart.c
@@ -1057,6 +1119,20 @@
..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+
+
+ gd32f30x_rcu.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
+
+
+
+
+ system_gd32f30x.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
+
+
gd32f30x_misc.c
diff --git a/bsp/gd32/arm/gd32305r-start/project.ewp b/bsp/gd32/arm/gd32305r-start/project.ewp
index 83d035a6d0..ff9d54a3ca 100644
--- a/bsp/gd32/arm/gd32305r-start/project.ewp
+++ b/bsp/gd32/arm/gd32305r-start/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\.
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\.
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2043,16 +2053,16 @@
Finsh
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2121,25 +2149,28 @@
Libraries
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
-
-
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32305r-start/project.uvproj b/bsp/gd32/arm/gd32305r-start/project.uvproj
index 1f6eae713e..16ef5e6806 100644
--- a/bsp/gd32/arm/gd32305r-start/project.uvproj
+++ b/bsp/gd32/arm/gd32305r-start/project.uvproj
@@ -370,9 +370,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F30X_CL, __RTTHREAD__
+ GD32F30X_CL, __RTTHREAD__, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, RT_USING_LIBC
- ..\..\..\..\libcpu\arm\cortex-m4;.;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;board;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;applications;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ .;..\..\..\..\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;applications;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\drivers\smp_call;..\libraries\gd32_drivers;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\phy;board;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\libcpu\arm\cortex-m4;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -708,13 +746,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -724,16 +755,23 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\cmd.c
- cmd.c
+ shell.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\shell.c
+
+
+
+
+ msh_parse.c
+ 1
+ ..\..\..\..\components\finsh\msh_parse.c
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1058,20 +1134,6 @@
Libraries
-
-
- system_gd32f30x.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
-
-
-
-
- gd32f30x_rcu.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
-
-
gd32f30x_usart.c
@@ -1081,9 +1143,9 @@
- gd32f30x_exti.c
+ system_gd32f30x.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+ ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
@@ -1093,6 +1155,13 @@
..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+
+
+ gd32f30x_exti.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+
+
gd32f30x_misc.c
@@ -1100,6 +1169,13 @@
..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+
+
+ gd32f30x_rcu.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
+
+
diff --git a/bsp/gd32/arm/gd32305r-start/project.uvprojx b/bsp/gd32/arm/gd32305r-start/project.uvprojx
index 08e1a0ad78..415afbba25 100644
--- a/bsp/gd32/arm/gd32305r-start/project.uvprojx
+++ b/bsp/gd32/arm/gd32305r-start/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F30X_CL, __RTTHREAD__
+ __STDC_LIMIT_MACROS, __RTTHREAD__, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, RT_USING_LIBC, GD32F30X_CL, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\..\libcpu\arm\cortex-m4;.;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;board;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;applications;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\drivers\include;applications;..\..\..\..\components\drivers\smp_call;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\libraries\gd32_drivers;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;board;..\..\..\..\include;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\include;.;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\..\..\..\components\drivers\phy;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\ipc
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -672,13 +710,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -688,16 +719,23 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\cmd.c
- cmd.c
+ shell.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\shell.c
+
+
+
+
+ msh_parse.c
+ 1
+ ..\..\..\..\components\finsh\msh_parse.c
@@ -741,6 +779,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -798,44 +874,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -989,6 +1027,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
@@ -1029,20 +1105,6 @@
..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
-
-
- gd32f30x_rcu.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
-
-
-
-
- gd32f30x_usart.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
-
-
gd32f30x_exti.c
@@ -1064,6 +1126,20 @@
..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+
+
+ gd32f30x_rcu.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
+
+
+
+
+ gd32f30x_usart.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
+
+
diff --git a/bsp/gd32/arm/gd32307e-start/project.ewp b/bsp/gd32/arm/gd32307e-start/project.ewp
index f2d83dff77..5f1dcaf9c3 100644
--- a/bsp/gd32/arm/gd32307e-start/project.ewp
+++ b/bsp/gd32/arm/gd32307e-start/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -1998,7 +2002,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2029,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2043,16 +2053,16 @@
Finsh
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
-
-
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
@@ -2063,6 +2073,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2088,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2113,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2120,6 +2148,12 @@
Libraries
+
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
@@ -2129,12 +2163,6 @@
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
-
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
-
-
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
-
$PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
@@ -2142,4 +2170,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32307e-start/project.uvproj b/bsp/gd32/arm/gd32307e-start/project.uvproj
index 1cb61c626d..88d5771e00 100644
--- a/bsp/gd32/arm/gd32307e-start/project.uvproj
+++ b/bsp/gd32/arm/gd32307e-start/project.uvproj
@@ -370,9 +370,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F30X_CL, __RTTHREAD__
+ GD32F30X_CL, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_LIBC, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;applications;board;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;.;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ ..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;applications;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\..\..\..\components\drivers\smp_call;..\..\..\..\include;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\posix\ipc;..\libraries\gd32_drivers;.;board;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\compilers\common\include
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -708,13 +746,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -724,9 +755,9 @@
- msh_parse.c
+ shell.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\shell.c
@@ -736,6 +767,13 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ msh_parse.c
+ 1
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
Kernel
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1060,9 +1136,9 @@
Libraries
- system_gd32f30x.c
+ gd32f30x_usart.c
1
- ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
@@ -1072,13 +1148,6 @@
..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
-
-
- gd32f30x_usart.c
- 1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
-
-
gd32f30x_exti.c
@@ -1088,9 +1157,9 @@
- gd32f30x_gpio.c
+ system_gd32f30x.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+ ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
@@ -1100,6 +1169,13 @@
..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+
+
+ gd32f30x_gpio.c
+ 1
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+
+
diff --git a/bsp/gd32/arm/gd32307e-start/project.uvprojx b/bsp/gd32/arm/gd32307e-start/project.uvprojx
index d760043058..640432c603 100644
--- a/bsp/gd32/arm/gd32307e-start/project.uvprojx
+++ b/bsp/gd32/arm/gd32307e-start/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F30X_CL, __RTTHREAD__
+ RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, GD32F30X_CL, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, __RTTHREAD__, __STDC_LIMIT_MACROS
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;applications;board;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;.;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ ..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\posix\io\epoll;.;..\libraries\gd32_drivers;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\drivers\phy;..\..\..\..\components\drivers\include;board;..\..\..\..\components\libc\compilers\common\extension;applications;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\finsh;..\..\..\..\include
@@ -469,9 +469,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -602,9 +640,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -621,9 +659,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -672,20 +710,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -693,6 +717,13 @@
..\..\..\..\components\finsh\msh_parse.c
+
+
+ shell.c
+ 1
+ ..\..\..\..\components\finsh\shell.c
+
+
cmd.c
@@ -700,6 +731,13 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -741,6 +779,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -798,44 +874,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -989,6 +1027,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1024,9 +1100,9 @@
Libraries
- system_gd32f30x.c
+ gd32f30x_exti.c
1
- ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
@@ -1045,9 +1121,9 @@
- gd32f30x_exti.c
+ gd32f30x_misc.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+ ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
@@ -1059,9 +1135,9 @@
- gd32f30x_misc.c
+ system_gd32f30x.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+ ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
diff --git a/bsp/gd32/arm/gd32407v-lckfb/project.ewp b/bsp/gd32/arm/gd32407v-lckfb/project.ewp
index fa29f6db36..6fe4b0ce38 100644
--- a/bsp/gd32/arm/gd32407v-lckfb/project.ewp
+++ b/bsp/gd32/arm/gd32407v-lckfb/project.ewp
@@ -304,25 +304,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
CCStdIncCheck
@@ -1275,25 +1277,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
$PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
CCStdIncCheck
@@ -2000,16 +2004,22 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
- $PROJ_DIR$\..\..\..\..\components\drivers\i2c\i2c_core.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\i2c\dev_i2c_core.c
- $PROJ_DIR$\..\..\..\..\components\drivers\i2c\i2c_dev.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\i2c\dev_i2c_dev.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2030,10 +2040,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2053,17 +2063,17 @@
Finsh
-
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
@@ -2074,6 +2084,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2083,12 +2099,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2114,6 +2124,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2132,10 +2160,7 @@
Libraries
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
-
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
@@ -2143,23 +2168,29 @@
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
-
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
-
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32407v-lckfb/project.uvproj b/bsp/gd32/arm/gd32407v-lckfb/project.uvproj
index 06551351bc..e405c3574b 100644
--- a/bsp/gd32/arm/gd32407v-lckfb/project.uvproj
+++ b/bsp/gd32/arm/gd32407v-lckfb/project.uvproj
@@ -370,9 +370,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER, GD32F407, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, LCKFB_SKYSTART_GD32F407V
+ __RTTHREAD__, LCKFB_SKYSTART_GD32F407V, USE_STDPERIPH_DRIVER, RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, GD32F407, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;.;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;board
+ ..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\phy;.;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\libcpu\arm\common;..\libraries\gd32_drivers;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\libc\posix\io\eventfd;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\include;..\..\..\..\components\finsh;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;applications;board;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\include
@@ -505,9 +505,9 @@
- i2c-bit-ops.c
+ dev_i2c_bit_ops.c
1
- ..\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
@@ -524,9 +524,9 @@
- i2c_core.c
+ dev_i2c_core.c
1
- ..\..\..\..\components\drivers\i2c\i2c_core.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_core.c
@@ -543,9 +543,9 @@
- i2c_dev.c
+ dev_i2c_dev.c
1
- ..\..\..\..\components\drivers\i2c\i2c_dev.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_dev.c
@@ -562,9 +562,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -695,9 +733,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -714,9 +752,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -765,20 +803,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -786,6 +810,13 @@
..\..\..\..\components\finsh\msh_parse.c
+
+
+ shell.c
+ 1
+ ..\..\..\..\components\finsh\shell.c
+
+
cmd.c
@@ -793,6 +824,13 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -834,6 +872,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -891,44 +967,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1082,6 +1120,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1115,34 +1191,6 @@
Libraries
-
-
- gd32f4xx_i2c.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
-
-
-
-
- gd32f4xx_syscfg.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
-
-
-
-
- gd32f4xx_gpio.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
-
-
-
-
- gd32f4xx_exti.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
-
-
gd32f4xx_dma.c
@@ -1150,13 +1198,6 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
-
-
- gd32f4xx_rcu.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
-
-
gd32f4xx_misc.c
@@ -1164,6 +1205,13 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
+
+
+ gd32f4xx_i2c.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
+
+
gd32f4xx_usart.c
@@ -1171,6 +1219,20 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c
+
+
+ gd32f4xx_exti.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+
+
+
+
+ gd32f4xx_syscfg.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+
+
system_gd32f4xx.c
@@ -1178,6 +1240,20 @@
..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+
+
+ gd32f4xx_rcu.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+
+
+
+ gd32f4xx_gpio.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
+
+
diff --git a/bsp/gd32/arm/gd32407v-lckfb/project.uvprojx b/bsp/gd32/arm/gd32407v-lckfb/project.uvprojx
index 619c202cc4..551881d530 100644
--- a/bsp/gd32/arm/gd32407v-lckfb/project.uvprojx
+++ b/bsp/gd32/arm/gd32407v-lckfb/project.uvprojx
@@ -335,9 +335,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER, GD32F407, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, LCKFB_SKYSTART_GD32F407V
+ GD32F407, LCKFB_SKYSTART_GD32F407V, __RTTHREAD__, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, USE_STDPERIPH_DRIVER
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;.;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;board
+ ..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\ipc;applications;..\..\..\..\components\drivers\phy;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\libraries\gd32_drivers;..\..\..\..\components\libc\compilers\common\include;board;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\..\..\..\libcpu\arm\common;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\extension;.;..\..\..\..\components\drivers\include;..\..\..\..\include
@@ -470,9 +470,9 @@
- i2c-bit-ops.c
+ dev_i2c_bit_ops.c
1
- ..\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
@@ -489,9 +489,9 @@
- i2c_core.c
+ dev_i2c_core.c
1
- ..\..\..\..\components\drivers\i2c\i2c_core.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_core.c
@@ -508,9 +508,9 @@
- i2c_dev.c
+ dev_i2c_dev.c
1
- ..\..\..\..\components\drivers\i2c\i2c_dev.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_dev.c
@@ -527,9 +527,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -660,9 +698,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -679,9 +717,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -737,13 +775,6 @@
..\..\..\..\components\finsh\shell.c
-
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -758,6 +789,13 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -799,6 +837,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -856,44 +932,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1047,6 +1085,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1082,16 +1158,9 @@
Libraries
- gd32f4xx_i2c.c
+ gd32f4xx_dma.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
-
-
-
-
- gd32f4xx_syscfg.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
@@ -1103,23 +1172,16 @@
- gd32f4xx_exti.c
+ system_gd32f4xx.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+ ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
- gd32f4xx_dma.c
+ gd32f4xx_i2c.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
-
-
-
-
- gd32f4xx_rcu.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
@@ -1138,9 +1200,23 @@
- system_gd32f4xx.c
+ gd32f4xx_exti.c
1
- ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+
+
+
+
+ gd32f4xx_rcu.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+
+
+
+ gd32f4xx_syscfg.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
diff --git a/bsp/gd32/arm/gd32407v-start/project.ewp b/bsp/gd32/arm/gd32407v-start/project.ewp
index 55ba9a078a..8266e84f30 100644
--- a/bsp/gd32/arm/gd32407v-start/project.ewp
+++ b/bsp/gd32/arm/gd32407v-start/project.ewp
@@ -303,25 +303,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
CCStdIncCheck
@@ -1273,25 +1275,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
$PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
CCStdIncCheck
@@ -1998,16 +2002,22 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
- $PROJ_DIR$\..\..\..\..\components\drivers\i2c\i2c_core.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\i2c\dev_i2c_core.c
- $PROJ_DIR$\..\..\..\..\components\drivers\i2c\i2c_dev.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\i2c\dev_i2c_dev.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2028,10 +2038,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2055,7 +2065,7 @@
Finsh
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
@@ -2064,7 +2074,7 @@
$PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
@@ -2075,6 +2085,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2084,12 +2100,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2115,6 +2125,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2133,28 +2161,28 @@
Libraries
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
-
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
-
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
+
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
@@ -2163,4 +2191,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32407v-start/project.uvproj b/bsp/gd32/arm/gd32407v-start/project.uvproj
index b77f3790b4..ae3053dd60 100644
--- a/bsp/gd32/arm/gd32407v-start/project.uvproj
+++ b/bsp/gd32/arm/gd32407v-start/project.uvproj
@@ -370,9 +370,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, GD32F407, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, __RTTHREAD__
+ RT_USING_LIBC, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, GD32F407
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\compilers\common\include;board;..\libraries\gd32_drivers;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;.;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;applications
+ ..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\include;.;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\phy;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\smp_call;..\libraries\GD32F4xx_Firmware_Library\CMSIS;board;..\..\..\..\components\drivers\include;..\libraries\gd32_drivers;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;applications;..\..\..\..\components\drivers\include;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\..\..\..\include
@@ -505,9 +505,9 @@
- i2c-bit-ops.c
+ dev_i2c_bit_ops.c
1
- ..\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
@@ -524,9 +524,9 @@
- i2c_core.c
+ dev_i2c_core.c
1
- ..\..\..\..\components\drivers\i2c\i2c_core.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_core.c
@@ -543,9 +543,9 @@
- i2c_dev.c
+ dev_i2c_dev.c
1
- ..\..\..\..\components\drivers\i2c\i2c_dev.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_dev.c
@@ -562,9 +562,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -695,9 +733,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -714,9 +752,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -774,9 +812,9 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\msh_parse.c
@@ -788,16 +826,16 @@
- msh_parse.c
+ cmd.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\cmd.c
- cmd.c
+ shell.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\shell.c
@@ -841,6 +879,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -898,44 +974,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1089,6 +1127,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
libcpu
@@ -1129,41 +1205,6 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
-
-
- gd32f4xx_syscfg.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
-
-
-
-
- gd32f4xx_gpio.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
-
-
-
-
- gd32f4xx_exti.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
-
-
-
-
- gd32f4xx_dma.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
-
-
-
-
- gd32f4xx_rcu.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
-
-
gd32f4xx_misc.c
@@ -1171,6 +1212,13 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
+
+
+ system_gd32f4xx.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+
+
gd32f4xx_usart.c
@@ -1180,9 +1228,37 @@
- system_gd32f4xx.c
+ gd32f4xx_dma.c
1
- ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
+
+
+
+
+ gd32f4xx_syscfg.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+
+
+
+
+ gd32f4xx_exti.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+
+
+
+
+ gd32f4xx_rcu.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+
+
+
+ gd32f4xx_gpio.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
diff --git a/bsp/gd32/arm/gd32407v-start/project.uvprojx b/bsp/gd32/arm/gd32407v-start/project.uvprojx
index a1cdc9f04d..28f1847617 100644
--- a/bsp/gd32/arm/gd32407v-start/project.uvprojx
+++ b/bsp/gd32/arm/gd32407v-start/project.uvprojx
@@ -334,9 +334,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, GD32F407, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, __RTTHREAD__
+ GD32F407, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, RT_USING_LIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\compilers\common\include;board;..\libraries\gd32_drivers;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;.;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;applications
+ ..\..\..\..\components\libc\compilers\common\include;applications;board;..\..\..\..\components\libc\posix\ipc;..\libraries\gd32_drivers;..\..\..\..\components\drivers\phy;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;.;..\..\..\..\components\finsh;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\..\..\..\components\drivers\include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\libcpu\arm\cortex-m4;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\include
@@ -469,9 +469,9 @@
- i2c-bit-ops.c
+ dev_i2c_bit_ops.c
1
- ..\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
@@ -488,9 +488,9 @@
- i2c_core.c
+ dev_i2c_core.c
1
- ..\..\..\..\components\drivers\i2c\i2c_core.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_core.c
@@ -507,9 +507,9 @@
- i2c_dev.c
+ dev_i2c_dev.c
1
- ..\..\..\..\components\drivers\i2c\i2c_dev.c
+ ..\..\..\..\components\drivers\i2c\dev_i2c_dev.c
@@ -526,9 +526,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -659,9 +697,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -678,9 +716,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -736,13 +774,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\..\components\finsh\shell.c
-
-
msh.c
@@ -752,9 +783,9 @@
- msh_parse.c
+ shell.c
1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\shell.c
@@ -764,6 +795,13 @@
..\..\..\..\components\finsh\cmd.c
+
+
+ msh_parse.c
+ 1
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
Kernel
@@ -805,6 +843,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -862,44 +938,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1053,6 +1091,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1088,23 +1164,9 @@
Libraries
- gd32f4xx_i2c.c
+ gd32f4xx_misc.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
-
-
-
-
- gd32f4xx_syscfg.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
-
-
-
-
- gd32f4xx_gpio.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
@@ -1114,13 +1176,6 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
-
-
- gd32f4xx_dma.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
-
-
gd32f4xx_rcu.c
@@ -1130,16 +1185,9 @@
- gd32f4xx_misc.c
+ gd32f4xx_syscfg.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
-
-
-
-
- gd32f4xx_usart.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
@@ -1149,6 +1197,34 @@
..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+
+
+ gd32f4xx_gpio.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
+
+
+
+
+ gd32f4xx_i2c.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c
+
+
+
+
+ gd32f4xx_dma.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
+
+
+
+
+ gd32f4xx_usart.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c
+
+
diff --git a/bsp/gd32/arm/gd32450z-eval/project.ewp b/bsp/gd32/arm/gd32450z-eval/project.ewp
index 7c478c22e1..b10b5a4453 100644
--- a/bsp/gd32/arm/gd32450z-eval/project.ewp
+++ b/bsp/gd32/arm/gd32450z-eval/project.ewp
@@ -173,7 +173,6 @@
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
GD32F450
__RTTHREAD__
USE_STDPERIPH_DRIVER
@@ -308,25 +307,27 @@
CCIncludePath2
$PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -1145,7 +1146,6 @@
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
GD32F450
__RTTHREAD__
USE_STDPERIPH_DRIVER
@@ -1281,25 +1281,27 @@
CCIncludePath2
$PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
+ $PROJ_DIR$\applications
CCStdIncCheck
@@ -2006,7 +2008,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2027,10 +2035,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2051,16 +2059,16 @@
Filesystem
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
-
-
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
$PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs.c
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
@@ -2068,17 +2076,17 @@
$PROJ_DIR$\..\..\..\..\components\finsh\shell.c
-
- $PROJ_DIR$\..\..\..\..\components\finsh\msh.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_file.c
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_file.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
@@ -2089,6 +2097,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2098,12 +2112,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2129,6 +2137,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -2146,32 +2172,35 @@
Libraries
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
-
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
-
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c
-
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
-
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32450z-eval/project.uvproj b/bsp/gd32/arm/gd32450z-eval/project.uvproj
index e79fd593ab..0e1f7b4689 100644
--- a/bsp/gd32/arm/gd32450z-eval/project.uvproj
+++ b/bsp/gd32/arm/gd32450z-eval/project.uvproj
@@ -370,9 +370,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F450, __RTTHREAD__
+ __CLK_TCK=RT_TICK_PER_SECOND, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, GD32F450, RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;applications;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\libc\posix\ipc;.
+ ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\finsh;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;.;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;board;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;applications;..\..\..\..\components\drivers\include;..\libraries\gd32_drivers;..\..\..\..\components\libc\compilers\common\extension;..\libraries\GD32F4xx_Firmware_Library\CMSIS
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -708,18 +746,23 @@
Filesystem
-
-
- dfs_posix.c
- 1
- ..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
-
-
dfs_fs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -727,6 +770,18 @@
dfs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -734,11 +789,56 @@
dfs_file.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ dfs_posix.c
+ 1
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
Finsh
+
+
+ msh_parse.c
+ 1
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
+
+
+ msh_file.c
+ 1
+ ..\..\..\..\components\finsh\msh_file.c
+
+
shell.c
@@ -753,13 +853,6 @@
..\..\..\..\components\finsh\msh.c
-
-
- msh_parse.c
- 1
- ..\..\..\..\components\finsh\msh_parse.c
-
-
cmd.c
@@ -767,13 +860,6 @@
..\..\..\..\components\finsh\cmd.c
-
-
- msh_file.c
- 1
- ..\..\..\..\components\finsh\msh_file.c
-
-
Kernel
@@ -815,6 +901,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -872,44 +996,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1063,6 +1149,44 @@
+
+ klibc
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1096,27 +1220,6 @@
Libraries
-
-
- gd32f4xx_syscfg.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
-
-
-
-
- gd32f4xx_gpio.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
-
-
-
-
- gd32f4xx_exti.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
-
-
gd32f4xx_dma.c
@@ -1124,13 +1227,6 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
-
-
- gd32f4xx_rcu.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
-
-
gd32f4xx_misc.c
@@ -1138,6 +1234,34 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
+
+
+ system_gd32f4xx.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+
+
+
+
+ gd32f4xx_syscfg.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+
+
+
+
+ gd32f4xx_rcu.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+
+
+
+ gd32f4xx_exti.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+
+
gd32f4xx_usart.c
@@ -1147,9 +1271,9 @@
- system_gd32f4xx.c
+ gd32f4xx_gpio.c
1
- ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
diff --git a/bsp/gd32/arm/gd32450z-eval/project.uvprojx b/bsp/gd32/arm/gd32450z-eval/project.uvprojx
index 12f729f536..ece29b7658 100644
--- a/bsp/gd32/arm/gd32450z-eval/project.uvprojx
+++ b/bsp/gd32/arm/gd32450z-eval/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, GD32F450, __RTTHREAD__
+ __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __RTTHREAD__, GD32F450, RT_USING_ARMLIBC
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;applications;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\libc\posix\ipc;.
+ ..\..\..\..\components\drivers\include;..\libraries\gd32_drivers;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\drivers\include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\phy;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\libc\compilers\common\include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\include;..\..\..\..\components\libc\posix\io\epoll;.;..\..\..\..\components\drivers\smp_call;applications;board;..\..\..\..\libcpu\arm\common;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\eventfd
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -673,9 +711,21 @@
Filesystem
- dfs_posix.c
+ dfs.c
1
- ..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -683,13 +733,37 @@
dfs_fs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
- dfs.c
+ dfs_posix.c
1
- ..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -697,6 +771,18 @@
dfs_file.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -704,9 +790,9 @@
Finsh
- shell.c
+ msh_file.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\msh_file.c
@@ -725,16 +811,16 @@
- cmd.c
+ shell.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\shell.c
- msh_file.c
+ cmd.c
1
- ..\..\..\..\components\finsh\msh_file.c
+ ..\..\..\..\components\finsh\cmd.c
@@ -778,6 +864,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -835,44 +959,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1026,6 +1112,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1061,9 +1185,16 @@
Libraries
- gd32f4xx_syscfg.c
+ gd32f4xx_exti.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
+
+
+
+
+ system_gd32f4xx.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
@@ -1073,13 +1204,6 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
-
-
- gd32f4xx_exti.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
-
-
gd32f4xx_dma.c
@@ -1087,13 +1211,6 @@
..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
-
-
- gd32f4xx_rcu.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
-
-
gd32f4xx_misc.c
@@ -1110,9 +1227,16 @@
- system_gd32f4xx.c
+ gd32f4xx_rcu.c
1
- ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+
+
+
+ gd32f4xx_syscfg.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
diff --git a/bsp/gd32/arm/gd32470z-lckfb/project.ewp b/bsp/gd32/arm/gd32470z-lckfb/project.ewp
index 97e405f77f..67ebbaa859 100644
--- a/bsp/gd32/arm/gd32470z-lckfb/project.ewp
+++ b/bsp/gd32/arm/gd32470z-lckfb/project.ewp
@@ -173,7 +173,6 @@
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
GD32F470
__RTTHREAD__
USE_STDPERIPH_DRIVER
@@ -307,26 +306,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\include
CCStdIncCheck
@@ -1145,7 +1147,6 @@
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
_DLIB_FILE_DESCRIPTOR
- _DLIB_THREAD_SUPPORT
GD32F470
__RTTHREAD__
USE_STDPERIPH_DRIVER
@@ -1280,26 +1281,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
$PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\include
CCStdIncCheck
@@ -2006,7 +2010,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2027,10 +2037,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2051,35 +2061,35 @@
Filesystem
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
$PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
- $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs.c
Finsh
-
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
-
- $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+
$PROJ_DIR$\..\..\..\..\components\finsh\msh_file.c
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+
Kernel
@@ -2089,6 +2099,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2098,12 +2114,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2129,6 +2139,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2149,17 +2177,11 @@
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
-
-
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
-
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
- $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
@@ -2170,8 +2192,17 @@
$PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+
+ $PROJ_DIR$\..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
+
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32470z-lckfb/project.uvproj b/bsp/gd32/arm/gd32470z-lckfb/project.uvproj
index 155b0e22a4..7513657f97 100644
--- a/bsp/gd32/arm/gd32470z-lckfb/project.uvproj
+++ b/bsp/gd32/arm/gd32470z-lckfb/project.uvproj
@@ -370,9 +370,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, GD32F470, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ RT_USING_ARMLIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, __STDC_LIMIT_MACROS, GD32F470
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;board;..\..\..\..\components\libc\posix\io\eventfd;.;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\libc\posix\ipc;.;..\..\..\..\components\drivers\phy;..\..\..\..\include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\components\finsh;..\..\..\..\libcpu\arm\cortex-m4;board\ports;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\compilers\common\extension;..\libraries\gd32_drivers;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\smp_call;board;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\drivers\include;applications;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -713,20 +751,18 @@
dfs_posix.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
-
-
-
-
- dfs_fs.c
- 1
- ..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
-
-
-
-
- dfs.c
- 1
- ..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -734,6 +770,56 @@
dfs_file.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ dfs.c
+ 1
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ dfs_fs.c
+ 1
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -741,16 +827,16 @@
Finsh
- shell.c
+ cmd.c
1
- ..\..\..\..\components\finsh\shell.c
+ ..\..\..\..\components\finsh\cmd.c
- msh.c
+ shell.c
1
- ..\..\..\..\components\finsh\msh.c
+ ..\..\..\..\components\finsh\shell.c
@@ -762,9 +848,9 @@
- cmd.c
+ msh.c
1
- ..\..\..\..\components\finsh\cmd.c
+ ..\..\..\..\components\finsh\msh.c
@@ -815,6 +901,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -872,44 +996,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1063,6 +1149,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -1098,16 +1222,16 @@
Libraries
- gd32f4xx_syscfg.c
+ gd32f4xx_dma.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
- gd32f4xx_gpio.c
+ system_gd32f4xx.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
+ ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
@@ -1119,23 +1243,9 @@
- gd32f4xx_dma.c
+ gd32f4xx_syscfg.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c
-
-
-
-
- gd32f4xx_rcu.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
-
-
-
-
- gd32f4xx_misc.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
@@ -1147,9 +1257,23 @@
- system_gd32f4xx.c
+ gd32f4xx_misc.c
1
- ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
+
+
+
+
+ gd32f4xx_rcu.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c
+
+
+
+
+ gd32f4xx_gpio.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
diff --git a/bsp/gd32/arm/gd32470z-lckfb/project.uvprojx b/bsp/gd32/arm/gd32470z-lckfb/project.uvprojx
index aa9874df06..3dd08b8aae 100644
--- a/bsp/gd32/arm/gd32470z-lckfb/project.uvprojx
+++ b/bsp/gd32/arm/gd32470z-lckfb/project.uvprojx
@@ -333,9 +333,9 @@
0
- __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, GD32F470, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, USE_STDPERIPH_DRIVER, RT_USING_LIBC, GD32F470, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\include;board;..\..\..\..\components\libc\posix\io\eventfd;.;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\dfs\dfs_v1\include;..\..\..\..\components\libc\posix\ipc
+ ..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\posix\io\poll;..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Include;..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Include;..\..\..\..\components\drivers\include;.;board\ports;..\libraries\gd32_drivers;..\..\..\..\components\finsh;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\phy;board;..\libraries\GD32F4xx_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\include;applications;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\include;..\..\..\..\components\drivers\smp_call;..\..\..\..\libcpu\arm\common;..\..\..\..\components\dfs\dfs_v1\include
@@ -468,9 +468,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -601,9 +639,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -620,9 +658,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -673,16 +711,40 @@
Filesystem
- dfs_posix.c
+ dfs_fs.c
1
- ..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
- dfs_fs.c
+ dfs_posix.c
1
- ..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -690,6 +752,18 @@
dfs.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -697,6 +771,18 @@
dfs_file.c
1
..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
@@ -711,16 +797,9 @@
- msh.c
+ msh_file.c
1
- ..\..\..\..\components\finsh\msh.c
-
-
-
-
- msh_parse.c
- 1
- ..\..\..\..\components\finsh\msh_parse.c
+ ..\..\..\..\components\finsh\msh_file.c
@@ -732,9 +811,16 @@
- msh_file.c
+ msh_parse.c
1
- ..\..\..\..\components\finsh\msh_file.c
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
@@ -778,6 +864,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -835,44 +959,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1026,6 +1112,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1059,20 +1183,6 @@
Libraries
-
-
- gd32f4xx_syscfg.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
-
-
-
-
- gd32f4xx_gpio.c
- 1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
-
-
gd32f4xx_exti.c
@@ -1096,9 +1206,23 @@
- gd32f4xx_misc.c
+ system_gd32f4xx.c
1
- ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
+ ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+
+
+
+
+ gd32f4xx_gpio.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c
+
+
+
+
+ gd32f4xx_syscfg.c
+ 1
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c
@@ -1110,9 +1234,9 @@
- system_gd32f4xx.c
+ gd32f4xx_misc.c
1
- ..\libraries\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c
+ ..\libraries\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c
diff --git a/bsp/gd32/arm/gd32e503v-eval/project.ewp b/bsp/gd32/arm/gd32e503v-eval/project.ewp
index 31412725f7..fa5e5f5481 100644
--- a/bsp/gd32/arm/gd32e503v-eval/project.ewp
+++ b/bsp/gd32/arm/gd32e503v-eval/project.ewp
@@ -170,7 +170,8 @@
RT_USING_DLIBC
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
- GD32F30X_HD
+ GD32E50X
+ GD32E50X_HD
__RTTHREAD__
USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
@@ -303,25 +304,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Include
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\CMSIS
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -1139,7 +1142,8 @@
RT_USING_DLIBC
RT_USING_LIBC
_DLIB_ADD_EXTRA_SYMBOLS=0
- GD32F30X_HD
+ GD32E50X
+ GD32E50X_HD
__RTTHREAD__
USE_STDPERIPH_DRIVER
__RT_IPC_SOURCE__
@@ -1273,25 +1277,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\gd32_drivers
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include
- $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\..\include
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS
- $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Include
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\CMSIS
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\gd32_drivers
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
CCStdIncCheck
@@ -1998,7 +2004,13 @@
$PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2019,10 +2031,10 @@
$PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
@@ -2031,7 +2043,7 @@
$PROJ_DIR$\board\board.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\IAR\startup_gd32f30x_hd.s
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\IAR\startup_gd32e50x_hd.s
$PROJ_DIR$\..\libraries\gd32_drivers\drv_gpio.c
@@ -2042,15 +2054,15 @@
Finsh
-
- $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
-
$PROJ_DIR$\..\..\..\..\components\finsh\msh.c
$PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
+
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
+
$PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
@@ -2063,6 +2075,12 @@
$PROJ_DIR$\..\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\..\src\idle.c
@@ -2072,12 +2090,6 @@
$PROJ_DIR$\..\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\..\src\kservice.c
@@ -2103,6 +2115,24 @@
$PROJ_DIR$\..\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
libcpu
@@ -2121,25 +2151,28 @@
Libraries
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_usart.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_gpio.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\system_gd32e50x.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_exti.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_rcu.c
- $PROJ_DIR$\..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+ $PROJ_DIR$\..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_misc.c
POSIX
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32e503v-eval/project.uvoptx b/bsp/gd32/arm/gd32e503v-eval/project.uvoptx
index ce7360f081..9fdf76faf3 100644
--- a/bsp/gd32/arm/gd32e503v-eval/project.uvoptx
+++ b/bsp/gd32/arm/gd32e503v-eval/project.uvoptx
@@ -174,754 +174,6 @@
-
- Applications
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Compiler
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- ..\..\..\..\components\libc\compilers\armlibc\syscall_mem.c
- syscall_mem.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- ..\..\..\..\components\libc\compilers\armlibc\syscalls.c
- syscalls.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- ..\..\..\..\components\libc\compilers\common\cctype.c
- cctype.c
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\..\..\..\components\libc\compilers\common\cstdlib.c
- cstdlib.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\..\..\..\components\libc\compilers\common\cstring.c
- cstring.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\..\..\..\components\libc\compilers\common\ctime.c
- ctime.c
- 0
- 0
-
-
- 2
- 8
- 1
- 0
- 0
- 0
- ..\..\..\..\components\libc\compilers\common\cunistd.c
- cunistd.c
- 0
- 0
-
-
- 2
- 9
- 1
- 0
- 0
- 0
- ..\..\..\..\components\libc\compilers\common\cwchar.c
- cwchar.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\core\device.c
- device.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\completion_comm.c
- completion_comm.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\completion_up.c
- completion_up.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\condvar.c
- condvar.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\pipe.c
- pipe.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\ipc\workqueue.c
- workqueue.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\pin\dev_pin.c
- dev_pin.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\..\..\..\components\drivers\serial\dev_serial.c
- dev_serial.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 4
- 23
- 2
- 0
- 0
- 0
- ..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\ARM\startup_gd32e50x_hd.s
- startup_gd32e50x_hd.s
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\libraries\gd32_drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\libraries\gd32_drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
-
-
- Finsh
- 0
- 0
- 0
- 0
-
- 5
- 26
- 1
- 0
- 0
- 0
- ..\..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 5
- 27
- 1
- 0
- 0
- 0
- ..\..\..\..\components\finsh\msh_parse.c
- msh_parse.c
- 0
- 0
-
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 6
- 30
- 1
- 0
- 0
- 0
- ..\..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 6
- 31
- 1
- 0
- 0
- 0
- ..\..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 6
- 32
- 1
- 0
- 0
- 0
- ..\..\..\..\src\cpu_up.c
- cpu_up.c
- 0
- 0
-
-
- 6
- 33
- 1
- 0
- 0
- 0
- ..\..\..\..\src\defunct.c
- defunct.c
- 0
- 0
-
-
- 6
- 34
- 1
- 0
- 0
- 0
- ..\..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- ..\..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\..\src\klibc\kerrno.c
- kerrno.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\..\src\klibc\kstdio.c
- kstdio.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\..\src\klibc\kstring.c
- kstring.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 6
- 43
- 1
- 0
- 0
- 0
- ..\..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 6
- 44
- 1
- 0
- 0
- 0
- ..\..\..\..\src\scheduler_comm.c
- scheduler_comm.c
- 0
- 0
-
-
- 6
- 45
- 1
- 0
- 0
- 0
- ..\..\..\..\src\scheduler_up.c
- scheduler_up.c
- 0
- 0
-
-
- 6
- 46
- 1
- 0
- 0
- 0
- ..\..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 6
- 47
- 1
- 0
- 0
- 0
- ..\..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- libcpu
- 0
- 0
- 0
- 0
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 7
- 50
- 2
- 0
- 0
- 0
- ..\..\..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
- 0
- 0
-
-
-
-
- Libraries
- 0
- 0
- 0
- 0
-
- 8
- 52
- 1
- 0
- 0
- 0
- ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_usart.c
- gd32e50x_usart.c
- 0
- 0
-
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_rcu.c
- gd32e50x_rcu.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_misc.c
- gd32e50x_misc.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_exti.c
- gd32e50x_exti.c
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_gpio.c
- gd32e50x_gpio.c
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\system_gd32e50x.c
- system_gd32e50x.c
- 0
- 0
-
-
-
::CMSIS
0
diff --git a/bsp/gd32/arm/gd32e503v-eval/project.uvproj b/bsp/gd32/arm/gd32e503v-eval/project.uvproj
index 3b8c5fb429..60c539e746 100644
--- a/bsp/gd32/arm/gd32e503v-eval/project.uvproj
+++ b/bsp/gd32/arm/gd32e503v-eval/project.uvproj
@@ -370,9 +370,9 @@
0
- GD32F30X_HD, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ GD32E50X, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, RT_USING_LIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, GD32E50X_HD
- ..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\libraries\gd32_drivers;..\libraries\GD32F30x_Firmware_Library\CMSIS;..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Include;..\..\..\..\components\drivers\include;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;.;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;board;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Include
+ ..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\posix\ipc;..\libraries\GD32E50x_Firmware_Library\CMSIS;..\..\..\..\components\libc\posix\io\epoll;board;..\..\..\..\components\finsh;..\..\..\..\libcpu\arm\cortex-m4;..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\phy;.;..\..\..\..\libcpu\arm\common;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\smp_call;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Include;..\..\..\..\components\drivers\include;..\libraries\gd32_drivers;applications;..\..\..\..\include
@@ -505,9 +505,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
@@ -638,9 +676,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\..\components\drivers\pin\pin.c
+ ..\..\..\..\components\drivers\pin\dev_pin.c
@@ -657,9 +695,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\serial\dev_serial.c
@@ -686,9 +724,9 @@
- startup_gd32f30x_hd.s
+ startup_gd32e50x_hd.s
2
- ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\ARM\startup_gd32f30x_hd.s
+ ..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\ARM\startup_gd32e50x_hd.s
@@ -708,6 +746,13 @@
Finsh
+
+
+ cmd.c
+ 1
+ ..\..\..\..\components\finsh\cmd.c
+
+
shell.c
@@ -729,13 +774,6 @@
..\..\..\..\components\finsh\msh_parse.c
-
-
- cmd.c
- 1
- ..\..\..\..\components\finsh\cmd.c
-
-
Kernel
@@ -777,6 +815,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -834,44 +910,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1025,6 +1063,44 @@
+
+ klibc
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
libcpu
@@ -1060,44 +1136,44 @@
Libraries
- system_gd32f30x.c
+ gd32e50x_rcu.c
1
- ..\libraries\GD32F30x_Firmware_Library\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c
+ ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_rcu.c
- gd32f30x_rcu.c
+ system_gd32e50x.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c
+ ..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\system_gd32e50x.c
- gd32f30x_usart.c
+ gd32e50x_gpio.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c
+ ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_gpio.c
- gd32f30x_exti.c
+ gd32e50x_misc.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c
+ ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_misc.c
- gd32f30x_gpio.c
+ gd32e50x_usart.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c
+ ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_usart.c
- gd32f30x_misc.c
+ gd32e50x_exti.c
1
- ..\libraries\GD32F30x_Firmware_Library\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c
+ ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_exti.c
diff --git a/bsp/gd32/arm/gd32e503v-eval/project.uvprojx b/bsp/gd32/arm/gd32e503v-eval/project.uvprojx
index a64020b950..8f17261be8 100644
--- a/bsp/gd32/arm/gd32e503v-eval/project.uvprojx
+++ b/bsp/gd32/arm/gd32e503v-eval/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -19,28 +16,28 @@
GigaDevice.GD32E50x_DFP.1.5.0
https://gd32mcu.com/data/documents/pack/
IRAM(0x20000000,0x20000) IROM(0x08000000,0x080000) CPUTYPE("Cortex-M33") FPU3(SFPU) DSP CLOCK(12000000) ELITTLE
-
-
+
+
UL2V8M(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0GD32E50x_512 -FS08000000 -FL080000 -FP0($$Device:GD32E503VE$Flash\GD32E50x_512.FLM))
0
$$Device:GD32E503VE$Device\Include\gd32e50x.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:GD32E503VE$SVD\GD32E50x_HD.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,15 +101,15 @@
0
0
3
-
-
+
+
1
-
-
-
-
+
+
+
+
SARMV8M.DLL
-MPU
TCM.DLL
@@ -138,11 +135,11 @@
1
BIN\UL2V8M.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M33"
-
+
0
0
0
@@ -310,7 +307,7 @@
0x0
-
+
1
@@ -337,10 +334,10 @@
0
0
-
- __CLK_TCK=RT_TICK_PER_SECOND, GD32E50X, __RTTHREAD__, RT_USING_LIBC, USE_STDPERIPH_DRIVER, GD32E50X_HD, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC
-
- applications;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\libc\compilers\common\include;..\libraries\GD32E50x_Firmware_Library\CMSIS;..\..\..\..\components\drivers\include;..\..\..\..\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\extension;board;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\drivers\smp;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Include;..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Include;..\..\..\..\libcpu\arm\cortex-m4;.;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\libcpu\arm\common;..\libraries\gd32_drivers;..\..\..\..\components\finsh;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include
+
+ __RTTHREAD__, GD32E50X, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, __STDC_LIMIT_MACROS, GD32E50X_HD, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC
+
+ ..\libraries\GD32E50x_Firmware_Library\CMSIS;..\..\..\..\libcpu\arm\common;..\libraries\gd32_drivers;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;.;applications;..\..\..\..\components\finsh;..\..\..\..\components\drivers\smp_call;..\..\..\..\libcpu\arm\cortex-m4;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\phy;board;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\epoll;..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Include;..\..\..\..\include;..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Include;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\drivers\include
@@ -355,10 +352,10 @@
0
4
-
-
-
-
+
+
+
+
@@ -370,13 +367,13 @@
0
0x08000000
0x20000000
-
+
.\gd32_rom.ld
-
-
-
-
-
+
+
+
+
+
@@ -399,36 +396,50 @@
1
..\..\..\..\components\libc\compilers\armlibc\syscall_mem.c
+
+
syscalls.c
1
..\..\..\..\components\libc\compilers\armlibc\syscalls.c
+
+
cctype.c
1
..\..\..\..\components\libc\compilers\common\cctype.c
+
+
cstdlib.c
1
..\..\..\..\components\libc\compilers\common\cstdlib.c
+
+
cstring.c
1
..\..\..\..\components\libc\compilers\common\cstring.c
+
+
ctime.c
1
..\..\..\..\components\libc\compilers\common\ctime.c
+
+
cunistd.c
1
..\..\..\..\components\libc\compilers\common\cunistd.c
+
+
cwchar.c
1
@@ -444,47 +455,8 @@
1
..\..\..\..\components\drivers\core\device.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -495,52 +467,15 @@
+
+
completion_comm.c
1
..\..\..\..\components\drivers\ipc\completion_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -551,52 +486,15 @@
+
+
completion_up.c
1
..\..\..\..\components\drivers\ipc\completion_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -607,52 +505,15 @@
+
+
condvar.c
1
..\..\..\..\components\drivers\ipc\condvar.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -663,52 +524,15 @@
+
+
dataqueue.c
1
..\..\..\..\components\drivers\ipc\dataqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -719,52 +543,15 @@
+
+
pipe.c
1
..\..\..\..\components\drivers\ipc\pipe.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -775,52 +562,15 @@
+
+
ringblk_buf.c
1
..\..\..\..\components\drivers\ipc\ringblk_buf.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -831,52 +581,15 @@
+
+
ringbuffer.c
1
..\..\..\..\components\drivers\ipc\ringbuffer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -887,52 +600,15 @@
+
+
waitqueue.c
1
..\..\..\..\components\drivers\ipc\waitqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -943,52 +619,15 @@
+
+
workqueue.c
1
..\..\..\..\components\drivers\ipc\workqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -999,52 +638,15 @@
+
+
dev_pin.c
1
..\..\..\..\components\drivers\pin\dev_pin.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -1055,52 +657,15 @@
+
+
dev_serial.c
1
..\..\..\..\components\drivers\serial\dev_serial.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -1121,16 +686,22 @@
1
board\board.c
+
+
startup_gd32e50x_hd.s
2
..\libraries\GD32E50x_Firmware_Library\CMSIS\GD\GD32E50x\Source\ARM\startup_gd32e50x_hd.s
+
+
drv_gpio.c
1
..\libraries\gd32_drivers\drv_gpio.c
+
+
drv_usart.c
1
@@ -1146,21 +717,27 @@
1
..\..\..\..\components\finsh\shell.c
+
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
+
msh_parse.c
1
..\..\..\..\components\finsh\msh_parse.c
+
+
cmd.c
1
..\..\..\..\components\finsh\cmd.c
-
- msh.c
- 1
- ..\..\..\..\components\finsh\msh.c
-
@@ -1171,47 +748,8 @@
1
..\..\..\..\src\clock.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1222,52 +760,15 @@
+
+
components.c
1
..\..\..\..\src\components.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1278,52 +779,15 @@
+
+
cpu_up.c
1
..\..\..\..\src\cpu_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1334,52 +798,15 @@
+
+
defunct.c
1
..\..\..\..\src\defunct.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1390,52 +817,15 @@
+
+
idle.c
1
..\..\..\..\src\idle.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1446,52 +836,15 @@
+
+
ipc.c
1
..\..\..\..\src\ipc.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1502,220 +855,15 @@
+
+
irq.c
1
..\..\..\..\src\irq.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
- kerrno.c
- 1
- ..\..\..\..\src\klibc\kerrno.c
-
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
-
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
- kstdio.c
- 1
- ..\..\..\..\src\klibc\kstdio.c
-
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
-
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\..\src\klibc\kstring.c
-
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
-
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1726,52 +874,15 @@
+
+
kservice.c
1
..\..\..\..\src\kservice.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1782,52 +893,15 @@
+
+
mem.c
1
..\..\..\..\src\mem.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1838,52 +912,15 @@
+
+
mempool.c
1
..\..\..\..\src\mempool.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1894,52 +931,15 @@
+
+
object.c
1
..\..\..\..\src\object.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1950,52 +950,15 @@
+
+
scheduler_comm.c
1
..\..\..\..\src\scheduler_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -2006,52 +969,15 @@
+
+
scheduler_up.c
1
..\..\..\..\src\scheduler_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -2062,52 +988,15 @@
+
+
thread.c
1
..\..\..\..\src\thread.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -2118,52 +1007,15 @@
+
+
timer.c
1
..\..\..\..\src\timer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -2176,6 +1028,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
libcpu
@@ -2184,16 +1074,22 @@
1
..\..\..\..\libcpu\arm\common\div0.c
+
+
showmem.c
1
..\..\..\..\libcpu\arm\common\showmem.c
+
+
context_rvds.S
2
..\..\..\..\libcpu\arm\cortex-m4\context_rvds.S
+
+
cpuport.c
1
@@ -2209,26 +1105,36 @@
1
..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_usart.c
-
- gd32e50x_rcu.c
- 1
- ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_rcu.c
-
-
- gd32e50x_misc.c
- 1
- ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_misc.c
-
-
- gd32e50x_exti.c
- 1
- ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_exti.c
-
+
+
gd32e50x_gpio.c
1
..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_gpio.c
+
+
+
+ gd32e50x_rcu.c
+ 1
+ ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_rcu.c
+
+
+
+
+ gd32e50x_exti.c
+ 1
+ ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_exti.c
+
+
+
+
+ gd32e50x_misc.c
+ 1
+ ..\libraries\GD32E50x_Firmware_Library\GD32E50x_standard_peripheral\Source\gd32e50x_misc.c
+
+
+
system_gd32e50x.c
1
@@ -2236,26 +1142,21 @@
-
- ::CMSIS
-
-
-
+
-
+
-
+
-
+
-
@@ -2265,5 +1166,4 @@
-
diff --git a/bsp/gd32/arm/gd32h759i-start/project.ewp b/bsp/gd32/arm/gd32h759i-start/project.ewp
index 23b4cb3f20..d244ce09c7 100644
--- a/bsp/gd32/arm/gd32h759i-start/project.ewp
+++ b/bsp/gd32/arm/gd32h759i-start/project.ewp
@@ -1,7 +1,7 @@
3
- rt-thread
+ rtthread
ARM
@@ -10,7 +10,7 @@
General
3
- 29
+ 31
1
1
@@ -65,7 +65,7 @@
OGLastSavedByProductVersion
- 8.11.3.13977
+ 8.40.1.21529
GeneralEnableMisra
@@ -77,7 +77,7 @@
OGChipSelectEditMenu
- STM32F407ZG ST STM32F407ZG
+ STM32H743II ST STM32H743II
GenLowLevelInterface
@@ -111,12 +111,12 @@
RTConfigPath2
- $TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h
+ $TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h
GBECoreSlave
- 25
- 39
+ 27
+ 41
OGUseCmsis
@@ -132,22 +132,22 @@
CoreVariant
- 25
- 39
+ 27
+ 41
GFPUDeviceSlave
- STM32F407ZG ST STM32F407ZG
+ STM32H743II ST STM32H743II
FPU2
0
- 4
+ 0
NrRegs
0
- 1
+ 0
NEON
@@ -155,8 +155,8 @@
GFPUCoreSlave2
- 25
- 39
+ 27
+ 41
OGCMSISPackSelectDevice
@@ -199,13 +199,22 @@
DSPExtension
1
+
+ TrustZone
+ 0
+
+
+ TrustZoneModes
+ 0
+ 0
+
ICCARM
2
- 34
+ 35
1
1
@@ -215,8 +224,16 @@
CCDefines
- STM32H743xx
- USE_HAL_DRIVER
+ CLOCKS_PER_SEC=RT_TICK_PER_SECOND
+ RT_USING_DLIBC
+ RT_USING_LIBC
+ _DLIB_ADD_EXTRA_SYMBOLS=0
+ _DLIB_FILE_DESCRIPTOR
+ GD32H7XX
+ __RTTHREAD__
+ USE_STDPERIPH_DRIVER
+ __RT_IPC_SOURCE__
+ __RT_KERNEL_SOURCE__
CCPreprocFile
@@ -342,20 +359,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc
- $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\CMSIS\GD\GD32H7xx\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\HAL_Drivers\config
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\CMSIS
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m7
$PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Include
- $PROJ_DIR$\board\CubeMX_Config\Inc
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\HAL_Drivers
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\..\libraries\gd32_drivers
CCStdIncCheck
@@ -469,6 +495,10 @@
IccRTTI2
0
+
+ OICompilerExtraOption
+ 1
+
@@ -689,7 +719,7 @@
ILINK
0
- 20
+ 23
1
1
@@ -1001,6 +1031,30 @@
IlinkLocaleSelect
1
+
+ IlinkTrustzoneImportLibraryOut
+ ###Unitialized###
+
+
+ OILinkExtraOption
+ 1
+
+
+ IlinkRawBinaryFile2
+
+
+
+ IlinkRawBinarySymbol2
+
+
+
+ IlinkRawBinarySegment2
+
+
+
+ IlinkRawBinaryAlign2
+
+
@@ -1040,7 +1094,7 @@
General
3
- 29
+ 31
1
0
@@ -1145,7 +1199,7 @@
GBECoreSlave
- 25
+ 27
1
@@ -1162,7 +1216,7 @@
CoreVariant
- 25
+ 27
0
@@ -1185,7 +1239,7 @@
GFPUCoreSlave2
- 25
+ 27
0
@@ -1229,13 +1283,22 @@
DSPExtension
0
+
+ TrustZone
+ 0
+
+
+ TrustZoneModes
+ 0
+ 0
+
ICCARM
2
- 34
+ 35
1
0
@@ -1244,8 +1307,17 @@
CCDefines
- STM32H743xx
- USE_HAL_DRIVER
+
+ CLOCKS_PER_SEC=RT_TICK_PER_SECOND
+ RT_USING_DLIBC
+ RT_USING_LIBC
+ _DLIB_ADD_EXTRA_SYMBOLS=0
+ _DLIB_FILE_DESCRIPTOR
+ GD32H7XX
+ __RTTHREAD__
+ USE_STDPERIPH_DRIVER
+ __RT_IPC_SOURCE__
+ __RT_KERNEL_SOURCE__
CCPreprocFile
@@ -1371,20 +1443,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc
- $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\..\include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\CMSIS\GD\GD32H7xx\Include
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\applications
- $PROJ_DIR$\..\libraries\HAL_Drivers\config
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs
+ $PROJ_DIR$\..\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\CMSIS
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m7
$PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Include
- $PROJ_DIR$\board\CubeMX_Config\Inc
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\HAL_Drivers
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Include
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\include
+ $PROJ_DIR$\..\libraries\gd32_drivers
CCStdIncCheck
@@ -1498,6 +1579,10 @@
IccRTTI2
0
+
+ OICompilerExtraOption
+ 1
+
@@ -1718,7 +1803,7 @@
ILINK
0
- 20
+ 23
1
0
@@ -2030,6 +2115,30 @@
IlinkLocaleSelect
1
+
+ IlinkTrustzoneImportLibraryOut
+ ###Unitialized###
+
+
+ OILinkExtraOption
+ 1
+
+
+ IlinkRawBinaryFile2
+
+
+
+ IlinkRawBinarySymbol2
+
+
+
+ IlinkRawBinarySegment2
+
+
+
+ IlinkRawBinaryAlign2
+
+
@@ -2059,214 +2168,265 @@
-
- Kernel
-
- $PROJ_DIR$\..\..\..\src\clock.c
-
-
- $PROJ_DIR$\..\..\..\src\components.c
-
-
- $PROJ_DIR$\..\..\..\src\cpu.c
-
-
- $PROJ_DIR$\..\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\..\src\idle.c
-
-
- $PROJ_DIR$\..\..\..\src\ipc.c
-
-
- $PROJ_DIR$\..\..\..\src\irq.c
-
-
- $PROJ_DIR$\..\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\..\src\mempool.c
-
-
- $PROJ_DIR$\..\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\..\src\scheduler.c
-
-
- $PROJ_DIR$\..\..\..\src\signal.c
-
-
- $PROJ_DIR$\..\..\..\src\thread.c
-
-
- $PROJ_DIR$\..\..\..\src\timer.c
-
-
Applications
$PROJ_DIR$\applications\main.c
+
+ Compiler
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\cctype.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\cstdlib.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\cstring.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\ctime.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\cunistd.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\common\cwchar.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\environ.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\syscall_close.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\syscall_lseek.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\syscall_mem.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\syscall_open.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\syscall_read.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\syscall_remove.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\syscall_write.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\libc\compilers\dlib\syscalls.c
+
+
+
+ DeviceDrivers
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\core\device.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\condvar.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\dataqueue.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\pipe.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\ringblk_buf.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\ringbuffer.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\ipc\workqueue.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\pin\dev_pin.c
+
+
+ $PROJ_DIR$\..\..\..\..\components\drivers\serial\dev_serial.c
+
+
Drivers
$PROJ_DIR$\board\board.c
- $PROJ_DIR$\board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\CMSIS\GD\GD32H7xx\Source\IAR\startup_gd32h7xx.s
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h743xx.s
+ $PROJ_DIR$\..\libraries\gd32_drivers\drv_gpio.c
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c
-
-
- $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c
+ $PROJ_DIR$\..\libraries\gd32_drivers\drv_usart.c
- cpu
+ Filesystem
- $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs.c
- $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S
+ $PROJ_DIR$\..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
- DeviceDrivers
+ Finsh
- $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_file.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh_parse.c
- $PROJ_DIR$\..\..\..\components\drivers\src\completion.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c
-
-
- $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c
+ $PROJ_DIR$\..\..\..\..\components\finsh\cmd.c
- finsh
+ Kernel
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\..\src\clock.c
- $PROJ_DIR$\..\..\..\components\finsh\symbol.c
+ $PROJ_DIR$\..\..\..\..\src\components.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\..\src\cpu_up.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\..\src\defunct.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_cmd.c
+ $PROJ_DIR$\..\..\..\..\src\idle.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_file.c
+ $PROJ_DIR$\..\..\..\..\src\ipc.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\irq.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\object.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\scheduler_comm.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\scheduler_up.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\thread.c
+
+
+ $PROJ_DIR$\..\..\..\..\src\timer.c
- STM32_HAL
+ klibc
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsscanf.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstring.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c
+ $PROJ_DIR$\..\..\..\..\src\klibc\kerrno.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c
+ $PROJ_DIR$\..\..\..\..\src\klibc\kstdio.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c
+ $PROJ_DIR$\..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+ libcpu
+
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common\div0.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m7\context_iar.S
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c
+ $PROJ_DIR$\..\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+
+
+
+ Libraries
+
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_exti.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_rcu.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\CMSIS\GD\GD32H7xx\Source\system_gd32h7xx.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_misc.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_gpio.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_pmu.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_usart.c
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c
-
-
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c
-
-
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c
-
-
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c
-
-
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c
-
-
- $PROJ_DIR$\..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart_ex.c
+ $PROJ_DIR$\..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_syscfg.c
+
+ POSIX
+
+
+ utestcases
+
diff --git a/bsp/gd32/arm/gd32h759i-start/project.uvoptx b/bsp/gd32/arm/gd32h759i-start/project.uvoptx
index 9db1b37b97..b727aa8c58 100644
--- a/bsp/gd32/arm/gd32h759i-start/project.uvoptx
+++ b/bsp/gd32/arm/gd32h759i-start/project.uvoptx
@@ -22,7 +22,7 @@
- rtthread
+ rt-thread
0x4
ARM-ADS
@@ -73,7 +73,7 @@
0
- 1
+ 0
0
1
@@ -174,815 +174,11 @@
- Kernel
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 1
- 2
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu.c
- cpu.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 15
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 0
- 0
- 0
- 0
-
- 2
- 16
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 3
- 17
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
- stm32h7xx_hal_msp.c
- 0
- 0
-
-
- 3
- 19
- 2
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s
- startup_stm32h743xx.s
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
- 3
- 22
- 1
- 0
- 0
- 0
- ..\libraries\HAL_Drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
-
-
- cpu
- 1
- 0
- 0
- 0
-
- 4
- 23
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\backtrace.c
- backtrace.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
- cpuport.c
- 0
- 0
-
-
- 4
- 27
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\misc\pin.c
- pin.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\serial.c
- serial.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\completion.c
- completion.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 5
- 32
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\pipe.c
- pipe.c
- 0
- 0
-
-
- 5
- 33
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 5
- 34
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 5
- 35
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 5
- 36
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\src\workqueue.c
- workqueue.c
- 0
- 0
-
-
-
-
- finsh
- 0
- 0
- 0
- 0
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\symbol.c
- symbol.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_cmd.c
- msh_cmd.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_file.c
- msh_file.c
- 0
- 0
-
-
-
-
- STM32_HAL
- 0
- 0
- 0
- 0
-
- 7
- 43
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
- system_stm32h7xx.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c
- stm32h7xx_hal.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c
- stm32h7xx_hal_cec.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c
- stm32h7xx_hal_cortex.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c
- stm32h7xx_hal_comp.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c
- stm32h7xx_hal_crc.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c
- stm32h7xx_hal_crc_ex.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c
- stm32h7xx_hal_cryp.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c
- stm32h7xx_hal_cryp_ex.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c
- stm32h7xx_hal_dma.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c
- stm32h7xx_hal_dma_ex.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c
- stm32h7xx_hal_pwr.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c
- stm32h7xx_hal_pwr_ex.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c
- stm32h7xx_hal_rcc.c
- 0
- 0
-
-
- 7
- 57
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c
- stm32h7xx_hal_rcc_ex.c
- 0
- 0
-
-
- 7
- 58
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c
- stm32h7xx_hal_rng.c
- 0
- 0
-
-
- 7
- 59
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c
- stm32h7xx_hal_sram.c
- 0
- 0
-
-
- 7
- 60
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c
- stm32h7xx_hal_gpio.c
- 0
- 0
-
-
- 7
- 61
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c
- stm32h7xx_hal_uart.c
- 0
- 0
-
-
- 7
- 62
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c
- stm32h7xx_hal_usart.c
- 0
- 0
-
-
- 7
- 63
- 1
- 0
- 0
- 0
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart_ex.c
- stm32h7xx_hal_uart_ex.c
- 0
- 0
-
diff --git a/bsp/gd32/arm/gd32h759i-start/project.uvprojx b/bsp/gd32/arm/gd32h759i-start/project.uvprojx
index f338c20a77..8fd8fb2fbb 100644
--- a/bsp/gd32/arm/gd32h759i-start/project.uvprojx
+++ b/bsp/gd32/arm/gd32h759i-start/project.uvprojx
@@ -1,16 +1,13 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rtthread
0x4
ARM-ADS
- 5060528::V5.06 update 5 (build 528)::ARMCC
+ 5060750::V5.06 update 6 (build 750)::ARMCC
0
@@ -19,28 +16,28 @@
Keil.STM32H7xx_DFP.2.1.0
http://www.keil.com/pack
IRAM(0x20000000,0x00020000) IRAM2(0x24000000,0x00080000) IROM(0x08000000,0x00200000) CPUTYPE("Cortex-M7") FPU3(DFPU) CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32H7x_2048 -FS08000000 -FL0200000 -FP0($$Device:STM32H743IITx$CMSIS\Flash\STM32H7x_2048.FLM))
0
$$Device:STM32H743IITx$Drivers\CMSIS\Device\ST\STM32H7xx\Include\stm32h7xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:STM32H743IITx$CMSIS\SVD\STM32H7x3.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -49,7 +46,7 @@
1
.\build\keil\Obj\
- rtthread
+ rt-thread
1
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -138,11 +135,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M7"
-
+
0
0
0
@@ -307,7 +304,7 @@
0x80000
-
+
1
@@ -333,10 +330,10 @@
0
0
-
- USE_HAL_DRIVER, STM32H743xx
-
- .;..\..\..\include;applications;.;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include
+
+ __CLK_TCK=RT_TICK_PER_SECOND, GD32H7XX, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __RTTHREAD__, RT_USING_LIBC, USE_STDPERIPH_DRIVER
+
+ ..\..\..\..\libcpu\arm\cortex-m7;..\..\..\..\components\drivers\include;..\..\..\..\components\drivers\phy;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension\fcntl\octal;.;..\..\..\..\components\libc\posix\ipc;..\..\..\..\components\libc\posix\io\epoll;..\..\..\..\include;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\compilers\common\extension;..\..\..\..\components\drivers\include;..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Include;board;..\libraries\GD32H7xx_Firmware_Library\CMSIS\GD\GD32H7xx\Include;..\libraries\GD32H7xx_Firmware_Library\CMSIS;..\..\..\..\components\libc\posix\io\poll;..\..\..\..\libcpu\arm\common;..\..\..\..\components\dfs\dfs_v1\include;..\libraries\gd32_drivers;applications;..\..\..\..\components\finsh;..\..\..\..\components\libc\compilers\common\include;..\..\..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\..\..\components\drivers\include;..\..\..\..\components\libc\posix\io\eventfd;..\..\..\..\components\drivers\smp_call
@@ -351,10 +348,10 @@
0
0
-
-
-
-
+
+
+
+
@@ -366,97 +363,17 @@
0
0x08000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
- --keep *.o(.rti_fn.*) --keep *.o(FSymTab)
-
-
+
+
+
+
+
-
- Kernel
-
-
- clock.c
- 1
- ..\..\..\src\clock.c
-
-
- components.c
- 1
- ..\..\..\src\components.c
-
-
- cpu.c
- 1
- ..\..\..\src\cpu.c
-
-
- device.c
- 1
- ..\..\..\src\device.c
-
-
- idle.c
- 1
- ..\..\..\src\idle.c
-
-
- ipc.c
- 1
- ..\..\..\src\ipc.c
-
-
- irq.c
- 1
- ..\..\..\src\irq.c
-
-
- kservice.c
- 1
- ..\..\..\src\kservice.c
-
-
- mem.c
- 1
- ..\..\..\src\mem.c
-
-
- mempool.c
- 1
- ..\..\..\src\mempool.c
-
-
- object.c
- 1
- ..\..\..\src\object.c
-
-
- scheduler.c
- 1
- ..\..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\..\src\timer.c
-
-
-
Applications
@@ -468,67 +385,61 @@
- Drivers
+ Compiler
- board.c
+ syscall_mem.c
1
- board\board.c
-
-
- stm32h7xx_hal_msp.c
- 1
- board\CubeMX_Config\Src\stm32h7xx_hal_msp.c
-
-
- startup_stm32h743xx.s
- 2
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s
-
-
- drv_gpio.c
- 1
- ..\libraries\HAL_Drivers\drv_gpio.c
-
-
- drv_usart.c
- 1
- ..\libraries\HAL_Drivers\drv_usart.c
-
-
- drv_common.c
- 1
- ..\libraries\HAL_Drivers\drv_common.c
+ ..\..\..\..\components\libc\compilers\armlibc\syscall_mem.c
-
-
- cpu
- backtrace.c
+ syscalls.c
1
- ..\..\..\libcpu\arm\common\backtrace.c
+ ..\..\..\..\components\libc\compilers\armlibc\syscalls.c
+
+
- div0.c
+ cctype.c
1
- ..\..\..\libcpu\arm\common\div0.c
+ ..\..\..\..\components\libc\compilers\common\cctype.c
+
+
- showmem.c
+ cstdlib.c
1
- ..\..\..\libcpu\arm\common\showmem.c
+ ..\..\..\..\components\libc\compilers\common\cstdlib.c
+
+
- cpuport.c
+ cstring.c
1
- ..\..\..\libcpu\arm\cortex-m7\cpuport.c
+ ..\..\..\..\components\libc\compilers\common\cstring.c
+
+
- context_rvds.S
- 2
- ..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+ ctime.c
+ 1
+ ..\..\..\..\components\libc\compilers\common\ctime.c
+
+
+
+
+ cunistd.c
+ 1
+ ..\..\..\..\components\libc\compilers\common\cunistd.c
+
+
+
+
+ cwchar.c
+ 1
+ ..\..\..\..\components\libc\compilers\common\cwchar.c
@@ -536,205 +447,829 @@
DeviceDrivers
- pin.c
+ device.c
1
- ..\..\..\components\drivers\misc\pin.c
+ ..\..\..\..\components\drivers\core\device.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
- serial.c
+ completion_comm.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
- completion.c
+ completion_up.c
1
- ..\..\..\components\drivers\src\completion.c
+ ..\..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\..\components\drivers\ipc\condvar.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
dataqueue.c
1
- ..\..\..\components\drivers\src\dataqueue.c
+ ..\..\..\..\components\drivers\ipc\dataqueue.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
pipe.c
1
- ..\..\..\components\drivers\src\pipe.c
+ ..\..\..\..\components\drivers\ipc\pipe.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
ringblk_buf.c
1
- ..\..\..\components\drivers\src\ringblk_buf.c
+ ..\..\..\..\components\drivers\ipc\ringblk_buf.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
ringbuffer.c
1
- ..\..\..\components\drivers\src\ringbuffer.c
+ ..\..\..\..\components\drivers\ipc\ringbuffer.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
waitqueue.c
1
- ..\..\..\components\drivers\src\waitqueue.c
+ ..\..\..\..\components\drivers\ipc\waitqueue.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
workqueue.c
1
- ..\..\..\components\drivers\src\workqueue.c
+ ..\..\..\..\components\drivers\ipc\workqueue.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ dev_pin.c
+ 1
+ ..\..\..\..\components\drivers\pin\dev_pin.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ dev_serial.c
+ 1
+ ..\..\..\..\components\drivers\serial\dev_serial.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
- finsh
+ Drivers
+
+
+ board.c
+ 1
+ board\board.c
+
+
+
+
+ startup_gd32h7xx.s
+ 2
+ ..\libraries\GD32H7xx_Firmware_Library\CMSIS\GD\GD32H7xx\Source\ARM\startup_gd32h7xx.s
+
+
+
+
+ drv_gpio.c
+ 1
+ ..\libraries\gd32_drivers\drv_gpio.c
+
+
+
+
+ drv_usart.c
+ 1
+ ..\libraries\gd32_drivers\drv_usart.c
+
+
+
+
+ Filesystem
+
+
+ devfs.c
+ 1
+ ..\..\..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ dfs.c
+ 1
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ dfs_file.c
+ 1
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs_file.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ dfs_fs.c
+ 1
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs_fs.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ dfs_posix.c
+ 1
+ ..\..\..\..\components\dfs\dfs_v1\src\dfs_posix.c
+
+
+
+
+ --c99
+
+
+
+
+
+
+
+
+
+
+
+ Finsh
+
+
+ msh_file.c
+ 1
+ ..\..\..\..\components\finsh\msh_file.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\..\components\finsh\cmd.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\..\components\finsh\msh.c
+
+
+
+
+ msh_parse.c
+ 1
+ ..\..\..\..\components\finsh\msh_parse.c
+
+
shell.c
1
- ..\..\..\components\finsh\shell.c
-
-
- symbol.c
- 1
- ..\..\..\components\finsh\symbol.c
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
- msh_cmd.c
- 1
- ..\..\..\components\finsh\msh_cmd.c
-
-
- msh_file.c
- 1
- ..\..\..\components\finsh\msh_file.c
+ ..\..\..\..\components\finsh\shell.c
- STM32_HAL
+ Kernel
- system_stm32h7xx.c
+ clock.c
1
- ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\system_stm32h7xx.c
+ ..\..\..\..\src\clock.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal.c
+ components.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal.c
+ ..\..\..\..\src\components.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_cec.c
+ cpu_up.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cec.c
+ ..\..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_cortex.c
+ defunct.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cortex.c
+ ..\..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_comp.c
+ idle.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_comp.c
+ ..\..\..\..\src\idle.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_crc.c
+ ipc.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc.c
+ ..\..\..\..\src\ipc.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_crc_ex.c
+ irq.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_crc_ex.c
+ ..\..\..\..\src\irq.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_cryp.c
+ kservice.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp.c
+ ..\..\..\..\src\kservice.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_cryp_ex.c
+ mem.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_cryp_ex.c
+ ..\..\..\..\src\mem.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_dma.c
+ mempool.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma.c
+ ..\..\..\..\src\mempool.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_dma_ex.c
+ object.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_dma_ex.c
+ ..\..\..\..\src\object.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_pwr.c
+ scheduler_comm.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr.c
+ ..\..\..\..\src\scheduler_comm.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_pwr_ex.c
+ scheduler_up.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_pwr_ex.c
+ ..\..\..\..\src\scheduler_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_rcc.c
+ thread.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc.c
+ ..\..\..\..\src\thread.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
- stm32h7xx_hal_rcc_ex.c
+ timer.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rcc_ex.c
+ ..\..\..\..\src\timer.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+ klibc
+
- stm32h7xx_hal_rng.c
+ rt_vsnprintf_tiny.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_rng.c
+ ..\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
- stm32h7xx_hal_sram.c
+ kstdio.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_sram.c
+ ..\..\..\..\src\klibc\kstdio.c
+
+
- stm32h7xx_hal_gpio.c
+ rt_vsscanf.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_gpio.c
+ ..\..\..\..\src\klibc\rt_vsscanf.c
+
+
- stm32h7xx_hal_uart.c
+ kstring.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart.c
+ ..\..\..\..\src\klibc\kstring.c
+
+
- stm32h7xx_hal_usart.c
+ kerrno.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_usart.c
+ ..\..\..\..\src\klibc\kerrno.c
+
+
+
+ libcpu
+
- stm32h7xx_hal_uart_ex.c
+ div0.c
1
- ..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Src\stm32h7xx_hal_uart_ex.c
+ ..\..\..\..\libcpu\arm\common\div0.c
+
+
+
+
+ showmem.c
+ 1
+ ..\..\..\..\libcpu\arm\common\showmem.c
+
+
+
+
+ context_rvds.S
+ 2
+ ..\..\..\..\libcpu\arm\cortex-m7\context_rvds.S
+
+
+
+
+ cpu_cache.c
+ 1
+ ..\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c
+
+
+
+
+ cpuport.c
+ 1
+ ..\..\..\..\libcpu\arm\cortex-m7\cpuport.c
+
+
+
+
+ Libraries
+
+
+ gd32h7xx_syscfg.c
+ 1
+ ..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_syscfg.c
+
+
+
+
+ gd32h7xx_gpio.c
+ 1
+ ..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_gpio.c
+
+
+
+
+ gd32h7xx_exti.c
+ 1
+ ..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_exti.c
+
+
+
+
+ gd32h7xx_pmu.c
+ 1
+ ..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_pmu.c
+
+
+
+
+ gd32h7xx_usart.c
+ 1
+ ..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_usart.c
+
+
+
+
+ gd32h7xx_rcu.c
+ 1
+ ..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_rcu.c
+
+
+
+
+ gd32h7xx_misc.c
+ 1
+ ..\libraries\GD32H7xx_Firmware_Library\GD32H7xx_standard_peripheral\Source\gd32h7xx_misc.c
+
+
+
+
+ system_gd32h7xx.c
+ 1
+ ..\libraries\GD32H7xx_Firmware_Library\CMSIS\GD\GD32H7xx\Source\system_gd32h7xx.c
-
-
-
-
+
+
+
-
diff --git a/bsp/hc32/ev_hc32f448_lqfp80/project.ewp b/bsp/hc32/ev_hc32f448_lqfp80/project.ewp
index 2e59b4639d..c97dbf58c5 100644
--- a/bsp/hc32/ev_hc32f448_lqfp80/project.ewp
+++ b/bsp/hc32/ev_hc32f448_lqfp80/project.ewp
@@ -319,31 +319,31 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\tests
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Include
+ $PROJ_DIR$\..\libraries\hc32_drivers
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\platform\tca9539
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\inc
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Include
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\inc
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\.
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
CCStdIncCheck
@@ -1314,31 +1314,31 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
$PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\tests
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Include
+ $PROJ_DIR$\..\libraries\hc32_drivers
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\platform\tca9539
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\inc
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Include
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\inc
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\.
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
CCStdIncCheck
@@ -2128,13 +2128,13 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
$PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2191,19 +2191,19 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
@@ -2227,49 +2227,25 @@
Libraries
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_dma.c
$PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_clk.c
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_icg.c
-
-
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
-
-
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_sram.c
-
-
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
-
-
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll.c
-
-
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
-
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f448.c
$PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_aos.c
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_icg.c
- $PROJ_DIR$\..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f448.c
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_sram.c
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_fcm.c
-
-
- $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
$PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_usart.c
@@ -2277,9 +2253,33 @@
$PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
+
$PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
+
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_fcm.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_efm.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll.c
+
Platform
@@ -2290,22 +2290,19 @@
POSIX
-
- smp
-
Tests
$PROJ_DIR$\..\tests\test_soft_i2c.c
- $PROJ_DIR$\..\tests\test_i2c.c
+ $PROJ_DIR$\..\tests\test_gpio.c
$PROJ_DIR$\..\tests\test_uart_v1.c
- $PROJ_DIR$\..\tests\test_gpio.c
+ $PROJ_DIR$\..\tests\test_i2c.c
diff --git a/bsp/hc32/ev_hc32f448_lqfp80/project.uvprojx b/bsp/hc32/ev_hc32f448_lqfp80/project.uvprojx
index 8d915db392..be28d0dff8 100644
--- a/bsp/hc32/ev_hc32f448_lqfp80/project.uvprojx
+++ b/bsp/hc32/ev_hc32f448_lqfp80/project.uvprojx
@@ -334,9 +334,9 @@
0
- __STDC_LIMIT_MACROS, USE_DDL_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, RT_USING_ARMLIBC, __DEBUG, __RTTHREAD__, HC32F448
+ __RTTHREAD__, HC32F448, USE_DDL_DRIVER, __DEBUG, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS
- applications;.;..\..\..\components\libc\posix\io\poll;..\..\..\include;..\libraries\hc32f448_ddl\cmsis\Include;..\libraries\hc32f448_ddl\hc32_ll_driver\inc;..\..\..\libcpu\arm\common;board;..\libraries\hc32_drivers;..\tests;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;board\ports;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\finsh;..\platform\tca9539;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension;..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Include;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;board\config
+ ..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\drivers\include;..\libraries\hc32f448_ddl\hc32_ll_driver\inc;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\eventfd;applications;..\..\..\components\drivers\include;board\ports;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;board\config;..\..\..\libcpu\arm\common;..\tests;..\libraries\hc32f448_ddl\cmsis\Include;..\..\..\include;..\platform\tca9539;board;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;.;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\smp_call;..\libraries\hc32_drivers;..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Include
@@ -381,16 +381,16 @@
Applications
- xtal32_fcm.c
+ main.c
1
- applications\xtal32_fcm.c
+ applications\main.c
- main.c
+ xtal32_fcm.c
1
- applications\main.c
+ applications\xtal32_fcm.c
@@ -809,20 +809,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- cmd.c
- 1
- ..\..\..\components\finsh\cmd.c
-
-
msh.c
@@ -830,6 +816,13 @@
..\..\..\components\finsh\msh.c
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
msh_parse.c
@@ -837,6 +830,13 @@
..\..\..\components\finsh\msh_parse.c
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
+
+
Kernel
@@ -1130,16 +1130,16 @@
klibc
- rt_vsscanf.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kstdio.c
- kstring.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kerrno.c
@@ -1151,16 +1151,16 @@
- kstdio.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\rt_vsscanf.c
- kerrno.c
+ kstring.c
1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\kstring.c
@@ -1204,6 +1204,34 @@
Libraries
+
+
+ system_hc32f448.c
+ 1
+ ..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f448.c
+
+
+
+
+ hc32_ll_efm.c
+ 1
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_efm.c
+
+
+
+
+ hc32_ll_icg.c
+ 1
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_icg.c
+
+
+
+
+ hc32_ll_utility.c
+ 1
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+
+
hc32_ll_clk.c
@@ -1211,6 +1239,27 @@
..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_clk.c
+
+
+ hc32_ll_fcg.c
+ 1
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+
+
+
+
+ hc32_ll_usart.c
+ 1
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+
+
+
+
+ hc32_ll_interrupts.c
+ 1
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
+
+
hc32_ll_pwc.c
@@ -1220,9 +1269,16 @@
- hc32_ll_sram.c
+ hc32_ll_gpio.c
1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_sram.c
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+
+
+
+
+ hc32_ll_rmu.c
+ 1
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
@@ -1241,16 +1297,9 @@
- hc32_ll_interrupts.c
+ hc32_ll_fcm.c
1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
-
-
-
-
- hc32_ll_usart.c
- 1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_fcm.c
@@ -1262,9 +1311,16 @@
- hc32_ll_fcm.c
+ hc32_ll_dma.c
1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_fcm.c
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_dma.c
+
+
+
+
+ hc32_ll_sram.c
+ 1
+ ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_sram.c
@@ -1274,62 +1330,6 @@
..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_aos.c
-
-
- hc32_ll_efm.c
- 1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
-
-
-
- system_hc32f448.c
- 1
- ..\libraries\hc32f448_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f448.c
-
-
-
-
- hc32_ll_fcg.c
- 1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
-
-
-
-
- hc32_ll_gpio.c
- 1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
-
-
-
-
- hc32_ll_icg.c
- 1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_icg.c
-
-
-
-
- hc32_ll_rmu.c
- 1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
-
-
-
-
- hc32_ll_utility.c
- 1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_utility.c
-
-
-
-
- hc32_ll_dma.c
- 1
- ..\libraries\hc32f448_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
Platform
@@ -1343,13 +1343,6 @@
Tests
-
-
- test_gpio.c
- 1
- ..\tests\test_gpio.c
-
-
test_uart_v1.c
@@ -1359,9 +1352,9 @@
- test_soft_i2c.c
+ test_gpio.c
1
- ..\tests\test_soft_i2c.c
+ ..\tests\test_gpio.c
@@ -1371,6 +1364,13 @@
..\tests\test_i2c.c
+
+
+ test_soft_i2c.c
+ 1
+ ..\tests\test_soft_i2c.c
+
+
diff --git a/bsp/hc32/ev_hc32f460_lqfp100_v2/project.ewp b/bsp/hc32/ev_hc32f460_lqfp100_v2/project.ewp
index 5858ffe274..54fa3c2236 100644
--- a/bsp/hc32/ev_hc32f460_lqfp100_v2/project.ewp
+++ b/bsp/hc32/ev_hc32f460_lqfp100_v2/project.ewp
@@ -319,29 +319,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\board\config\usb_config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\inc
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Include
$PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Include
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\.
$PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board\config\usb_config
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\tests
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
@@ -1314,29 +1314,29 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\board\config\usb_config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\inc
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Include
$PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Include
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Include
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\.
$PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board\config\usb_config
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\..\..\include
$PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\inc
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\tests
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
@@ -2128,13 +2128,13 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
@@ -2190,20 +2190,20 @@
klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
$PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
@@ -2227,107 +2227,104 @@
Libraries
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_emb.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_ots.c
$PROJ_DIR$\..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f460.c
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_sram.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dbgc.c
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
$PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_cmp.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_usart.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_i2s.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_mpu.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_ots.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_event_port.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_keyscan.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_icg.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32f460_ll_interrupts_share.c
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
$PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dcu.c
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_clk.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
-
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_cmp.c
$PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
- $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_efm.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_mpu.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_clk.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_icg.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32f460_ll_interrupts_share.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_sram.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_event_port.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_keyscan.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dbgc.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_i2s.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dma.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_emb.c
POSIX
-
- smp
-
Tests
-
- $PROJ_DIR$\..\tests\test_uart_v1.c
-
-
- $PROJ_DIR$\..\tests\test_gpio.c
-
$PROJ_DIR$\..\tests\test_soft_i2c.c
+
+ $PROJ_DIR$\..\tests\test_uart_v1.c
+
$PROJ_DIR$\..\tests\test_i2c.c
+
+ $PROJ_DIR$\..\tests\test_gpio.c
+
utestcases
diff --git a/bsp/hc32/ev_hc32f460_lqfp100_v2/project.uvprojx b/bsp/hc32/ev_hc32f460_lqfp100_v2/project.uvprojx
index fdda1aa743..740b987d07 100644
--- a/bsp/hc32/ev_hc32f460_lqfp100_v2/project.uvprojx
+++ b/bsp/hc32/ev_hc32f460_lqfp100_v2/project.uvprojx
@@ -334,9 +334,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, __STDC_LIMIT_MACROS, HC32F460, __DEBUG, USE_DDL_DRIVER, RT_USING_LIBC, RT_USING_ARMLIBC
+ RT_USING_ARMLIBC, USE_DDL_DRIVER, __STDC_LIMIT_MACROS, HC32F460, __RTTHREAD__, RT_USING_LIBC, __DEBUG, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\..\components\finsh;.;applications;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\include;board\config;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\extension;..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Include;board\config\usb_config;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\libraries\hc32f460_ddl\cmsis\Include;..\..\..\components\drivers\include;board;..\tests;..\..\..\components\libc\posix\io\poll;board\ports;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\libraries\hc32_drivers;..\..\..\components\drivers\include;..\libraries\hc32f460_ddl\hc32_ll_driver\inc;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\phy;..\..\..\components\drivers\include
+ ..\..\..\components\drivers\include;applications;board;..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Include;..\..\..\components\finsh;board\config;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\epoll;.;..\tests;board\config\usb_config;..\libraries\hc32f460_ddl\cmsis\Include;..\..\..\components\drivers\smp_call;..\libraries\hc32f460_ddl\hc32_ll_driver\inc;board\ports;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\include;..\..\..\components\drivers\include;..\libraries\hc32_drivers;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\common
@@ -381,16 +381,16 @@
Applications
- xtal32_fcm.c
+ main.c
1
- applications\xtal32_fcm.c
+ applications\main.c
- main.c
+ xtal32_fcm.c
1
- applications\main.c
+ applications\xtal32_fcm.c
@@ -811,16 +811,9 @@
Finsh
- cmd.c
+ msh.c
1
- ..\..\..\components\finsh\cmd.c
-
-
-
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\msh.c
@@ -832,9 +825,16 @@
- msh.c
+ msh_parse.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
+
+
+
+
+ cmd.c
+ 1
+ ..\..\..\components\finsh\cmd.c
@@ -1130,16 +1130,16 @@
klibc
- kstring.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
- rt_vsnprintf_tiny.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1151,9 +1151,9 @@
- kstdio.c
+ kstring.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\kstring.c
@@ -1204,41 +1204,6 @@
Libraries
-
-
- hc32_ll_cmp.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_cmp.c
-
-
-
-
- hc32_ll_i2s.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_i2s.c
-
-
-
-
- hc32_ll_mpu.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_mpu.c
-
-
-
-
- hc32_ll_interrupts.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
-
-
-
-
- hc32_ll_usart.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_usart.c
-
-
hc32_ll_keyscan.c
@@ -1246,125 +1211,6 @@
..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_keyscan.c
-
-
- hc32_ll_sram.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_sram.c
-
-
-
-
- hc32_ll_fcg.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
-
-
-
-
- hc32_ll_emb.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_emb.c
-
-
-
-
- system_hc32f460.c
- 1
- ..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f460.c
-
-
-
-
- hc32f460_ll_interrupts_share.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32f460_ll_interrupts_share.c
-
-
-
-
- hc32_ll_icg.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_icg.c
-
-
-
-
- hc32_ll_tmr0.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
-
-
-
-
- hc32_ll_i2c.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
-
-
-
-
- hc32_ll_aos.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_aos.c
-
-
-
-
- hc32_ll_utility.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_utility.c
-
-
-
-
- hc32_ll_dbgc.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dbgc.c
-
-
-
-
- hc32_ll.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll.c
-
-
-
-
- hc32_ll_clk.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_clk.c
-
-
-
-
- hc32_ll_dcu.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dcu.c
-
-
-
-
- hc32_ll_rmu.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
-
-
-
-
- hc32_ll_efm.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
-
-
-
- hc32_ll_dma.c
- 1
- ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
hc32_ll_ots.c
@@ -1372,6 +1218,27 @@
..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_ots.c
+
+
+ hc32_ll_efm.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_efm.c
+
+
+
+
+ hc32_ll_dbgc.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dbgc.c
+
+
+
+
+ hc32_ll_clk.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_clk.c
+
+
hc32_ll_event_port.c
@@ -1379,6 +1246,48 @@
..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_event_port.c
+
+
+ hc32_ll_interrupts.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
+
+
+
+
+ hc32_ll_sram.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_sram.c
+
+
+
+
+ hc32_ll_mpu.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_mpu.c
+
+
+
+
+ hc32_ll_tmr0.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
+
+
+
+
+ hc32_ll_rmu.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+
+
+
+
+ system_hc32f460.c
+ 1
+ ..\libraries\hc32f460_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f460.c
+
+
hc32_ll_pwc.c
@@ -1386,6 +1295,83 @@
..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+
+
+ hc32_ll_emb.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_emb.c
+
+
+
+
+ hc32_ll_fcg.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+
+
+
+
+ hc32_ll_dcu.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dcu.c
+
+
+
+
+ hc32f460_ll_interrupts_share.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32f460_ll_interrupts_share.c
+
+
+
+
+ hc32_ll_dma.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_dma.c
+
+
+
+
+ hc32_ll_i2c.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
+
+
+
+
+ hc32_ll_i2s.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_i2s.c
+
+
+
+
+ hc32_ll.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll.c
+
+
+
+
+ hc32_ll_usart.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+
+
+
+
+ hc32_ll_icg.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_icg.c
+
+
+
+
+ hc32_ll_aos.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+
+
hc32_ll_gpio.c
@@ -1393,6 +1379,20 @@
..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+
+
+ hc32_ll_utility.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+
+
+
+
+ hc32_ll_cmp.c
+ 1
+ ..\libraries\hc32f460_ddl\hc32_ll_driver\src\hc32_ll_cmp.c
+
+
Tests
@@ -1405,9 +1405,9 @@
- test_gpio.c
+ test_soft_i2c.c
1
- ..\tests\test_gpio.c
+ ..\tests\test_soft_i2c.c
@@ -1419,9 +1419,9 @@
- test_soft_i2c.c
+ test_gpio.c
1
- ..\tests\test_soft_i2c.c
+ ..\tests\test_gpio.c
diff --git a/bsp/hc32/ev_hc32f472_lqfp100/project.ewp b/bsp/hc32/ev_hc32f472_lqfp100/project.ewp
index 2c29f9e953..1186b31bf9 100644
--- a/bsp/hc32/ev_hc32f472_lqfp100/project.ewp
+++ b/bsp/hc32/ev_hc32f472_lqfp100/project.ewp
@@ -319,32 +319,32 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\applications
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\tests
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\board
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\board\config\usb_config
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\hc32_drivers
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Include
$PROJ_DIR$\..\platform\tca9539
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\inc
$PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\board\config\usb_config
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\include
CCStdIncCheck
@@ -1315,32 +1315,32 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\applications
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\tests
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\board
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\board\config\usb_config
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\libraries\hc32_drivers
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Include
$PROJ_DIR$\..\platform\tca9539
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
$PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\inc
$PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\board\config\usb_config
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\board\ports
+ $PROJ_DIR$\..\..\..\include
CCStdIncCheck
@@ -1995,10 +1995,10 @@
Applications
- $PROJ_DIR$\applications\xtal32_fcm.c
+ $PROJ_DIR$\applications\main.c
- $PROJ_DIR$\applications\main.c
+ $PROJ_DIR$\applications\xtal32_fcm.c
@@ -2129,18 +2129,18 @@
Finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
-
-
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
-
$PROJ_DIR$\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+
+
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+
Kernel
@@ -2193,19 +2193,19 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
@@ -2228,38 +2228,17 @@
Libraries
-
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
-
-
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
-
$PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_fcm.c
-
-
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_clk.c
-
-
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
-
$PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
-
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
-
$PROJ_DIR$\..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f472.c
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_fcm.c
$PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll.c
@@ -2268,17 +2247,38 @@
$PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_usart.c
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_dma.c
- $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
$PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_icg.c
+
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
+
$PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_clk.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+
Platform
@@ -2289,22 +2289,19 @@
POSIX
-
- smp
-
Tests
- $PROJ_DIR$\..\tests\test_uart_v1.c
+ $PROJ_DIR$\..\tests\test_soft_i2c.c
- $PROJ_DIR$\..\tests\test_gpio.c
+ $PROJ_DIR$\..\tests\test_uart_v1.c
$PROJ_DIR$\..\tests\test_i2c.c
- $PROJ_DIR$\..\tests\test_soft_i2c.c
+ $PROJ_DIR$\..\tests\test_gpio.c
diff --git a/bsp/hc32/ev_hc32f472_lqfp100/project.uvprojx b/bsp/hc32/ev_hc32f472_lqfp100/project.uvprojx
index 456b798891..9fde09cfd0 100644
--- a/bsp/hc32/ev_hc32f472_lqfp100/project.uvprojx
+++ b/bsp/hc32/ev_hc32f472_lqfp100/project.uvprojx
@@ -334,9 +334,9 @@
0
- RT_USING_LIBC, __RTTHREAD__, USE_DDL_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, __DEBUG, __STDC_LIMIT_MACROS, HC32F472, RT_USING_ARMLIBC
+ __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, HC32F472, __RTTHREAD__, __DEBUG, USE_DDL_DRIVER, RT_USING_LIBC, RT_USING_ARMLIBC
- ..\..\..\components\drivers\include;..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Include;..\..\..\components\libc\compilers\common\include;..\libraries\hc32_drivers;..\..\..\components\drivers\include;..\libraries\hc32f472_ddl\cmsis\Include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\finsh;.;..\libraries\hc32f472_ddl\hc32_ll_driver\inc;applications;..\tests;board;board\ports;..\platform\tca9539;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\epoll;board\config;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;board\config\usb_config;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\poll
+ ..\platform\tca9539;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\libraries\hc32f472_ddl\cmsis\Include;..\libraries\hc32_drivers;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;board;..\..\..\libcpu\arm\cortex-m4;board\config\usb_config;..\..\..\include;.;..\..\..\components\drivers\include;..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Include;applications;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;board\config;..\libraries\hc32f472_ddl\hc32_ll_driver\inc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;board\ports;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;..\tests;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\finsh
@@ -811,16 +811,9 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\msh_parse.c
@@ -832,9 +825,16 @@
- msh_parse.c
+ msh.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\msh.c
+
+
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
@@ -1137,9 +1137,9 @@
- rt_vsnprintf_tiny.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1151,16 +1151,16 @@
- kstdio.c
+ kstring.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\kstring.c
- kstring.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1206,72 +1206,9 @@
Libraries
- hc32_ll_aos.c
+ hc32_ll_efm.c
1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_aos.c
-
-
-
-
- hc32_ll_gpio.c
- 1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
-
-
-
-
- hc32_ll_icg.c
- 1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_icg.c
-
-
-
-
- hc32_ll_rmu.c
- 1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
-
-
-
-
- hc32_ll_fcm.c
- 1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_fcm.c
-
-
-
-
- hc32_ll_i2c.c
- 1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
-
-
-
-
- hc32_ll_dma.c
- 1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
-
-
- hc32_ll_fcg.c
- 1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
-
-
-
-
- hc32_ll_usart.c
- 1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_usart.c
-
-
-
-
- system_hc32f472.c
- 1
- ..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f472.c
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_efm.c
@@ -1281,6 +1218,13 @@
..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
+
+
+ hc32_ll_gpio.c
+ 1
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+
+
hc32_ll_clk.c
@@ -1290,9 +1234,51 @@
- hc32_ll_utility.c
+ hc32_ll_dma.c
1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_dma.c
+
+
+
+
+ hc32_ll_icg.c
+ 1
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_icg.c
+
+
+
+
+ hc32_ll_pwc.c
+ 1
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+
+
+
+
+ hc32_ll_rmu.c
+ 1
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+
+
+
+
+ hc32_ll_i2c.c
+ 1
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
+
+
+
+
+ hc32_ll_usart.c
+ 1
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+
+
+
+
+ hc32_ll_fcm.c
+ 1
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_fcm.c
@@ -1304,16 +1290,30 @@
- hc32_ll_efm.c
+ hc32_ll_utility.c
1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_efm.c
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_utility.c
- hc32_ll_pwc.c
+ hc32_ll_fcg.c
1
- ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+
+
+
+
+ hc32_ll_aos.c
+ 1
+ ..\libraries\hc32f472_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+
+
+
+
+ system_hc32f472.c
+ 1
+ ..\libraries\hc32f472_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f472.c
@@ -1345,9 +1345,9 @@
- test_soft_i2c.c
+ test_i2c.c
1
- ..\tests\test_soft_i2c.c
+ ..\tests\test_i2c.c
@@ -1359,9 +1359,9 @@
- test_i2c.c
+ test_soft_i2c.c
1
- ..\tests\test_i2c.c
+ ..\tests\test_soft_i2c.c
diff --git a/bsp/hc32/ev_hc32f4a0_lqfp176/project.ewp b/bsp/hc32/ev_hc32f4a0_lqfp176/project.ewp
index cb963d749f..72da680f0e 100644
--- a/bsp/hc32/ev_hc32f4a0_lqfp176/project.ewp
+++ b/bsp/hc32/ev_hc32f4a0_lqfp176/project.ewp
@@ -319,32 +319,32 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\applications
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\..\platform\tca9539
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\board\config\usb_config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\tests
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\board
- $PROJ_DIR$\board\ports
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\hc32_drivers
+ $PROJ_DIR$\..\platform\tca9539
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Include
+ $PROJ_DIR$\board\config\usb_config
+ $PROJ_DIR$\..\tests
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
CCStdIncCheck
@@ -1315,32 +1315,32 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\applications
- $PROJ_DIR$\.
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\..\platform\tca9539
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\drivers\include
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\board\config\usb_config
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\tests
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\board
- $PROJ_DIR$\board\ports
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\.
+ $PROJ_DIR$\board\ports
$PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\hc32_drivers
+ $PROJ_DIR$\..\platform\tca9539
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Include
+ $PROJ_DIR$\board\config\usb_config
+ $PROJ_DIR$\..\tests
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
CCStdIncCheck
@@ -2129,9 +2129,6 @@
Finsh
-
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
-
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2141,6 +2138,9 @@
$PROJ_DIR$\..\..\..\components\finsh\msh.c
+
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+
Kernel
@@ -2192,6 +2192,12 @@
klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
@@ -2201,12 +2207,6 @@
$PROJ_DIR$\..\..\..\src\klibc\kerrno.c
-
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
libcpu
@@ -2229,16 +2229,46 @@
Libraries
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_dma.c
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_clk.c
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_icg.c
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f4a0.c
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_icg.c
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_sram.c
@@ -2246,41 +2276,11 @@
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32f4a0_ll_interrupts_share.c
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_aos.c
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f4a0.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_efm.c
@@ -2292,14 +2292,8 @@
POSIX
-
- smp
-
Tests
-
- $PROJ_DIR$\..\tests\test_i2c.c
-
$PROJ_DIR$\..\tests\test_uart_v1.c
@@ -2309,6 +2303,9 @@
$PROJ_DIR$\..\tests\test_gpio.c
+
+ $PROJ_DIR$\..\tests\test_i2c.c
+
utestcases
diff --git a/bsp/hc32/ev_hc32f4a0_lqfp176/project.uvprojx b/bsp/hc32/ev_hc32f4a0_lqfp176/project.uvprojx
index 9213b2bf5b..ca0d0b052c 100644
--- a/bsp/hc32/ev_hc32f4a0_lqfp176/project.uvprojx
+++ b/bsp/hc32/ev_hc32f4a0_lqfp176/project.uvprojx
@@ -333,9 +333,9 @@
0
- __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, __DEBUG, __RTTHREAD__, RT_USING_ARMLIBC, HC32F4A0, USE_DDL_DRIVER, RT_USING_LIBC
+ __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, USE_DDL_DRIVER, HC32F4A0, __DEBUG, RT_USING_LIBC, __RTTHREAD__
- ..\..\..\components\libc\posix\io\poll;..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\libraries\hc32_drivers;..\platform\tca9539;..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc;..\..\..\components\drivers\include;.;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\ipc;applications;..\..\..\components\finsh;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\smp_call;..\libraries\hc32f4a0_ddl\cmsis\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;board\ports;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension;board;..\..\..\include;board\config;board\config\usb_config;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\tests
+ ..\..\..\components\libc\posix\io\eventfd;..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include;board\ports;..\..\..\components\drivers\phy;..\libraries\hc32f4a0_ddl\cmsis\Include;..\..\..\components\drivers\include;board;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc;..\libraries\hc32_drivers;applications;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\include;.;board\config\usb_config;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\finsh;..\platform\tca9539;..\..\..\components\drivers\include;board\config;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension;..\tests
@@ -380,16 +380,16 @@
Applications
- main.c
+ xtal32_fcm.c
1
- applications\main.c
+ applications\xtal32_fcm.c
- xtal32_fcm.c
+ main.c
1
- applications\xtal32_fcm.c
+ applications\main.c
@@ -808,20 +808,6 @@
Finsh
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
-
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
-
-
shell.c
@@ -829,6 +815,13 @@
..\..\..\components\finsh\shell.c
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
cmd.c
@@ -836,6 +829,13 @@
..\..\..\components\finsh\cmd.c
+
+
+ msh_parse.c
+ 1
+ ..\..\..\components\finsh\msh_parse.c
+
+
Kernel
@@ -1143,16 +1143,16 @@
- kerrno.c
+ kstring.c
1
- ..\..\..\src\klibc\kerrno.c
+ ..\..\..\src\klibc\kstring.c
- kstring.c
+ kerrno.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kerrno.c
@@ -1205,51 +1205,16 @@
Libraries
- hc32_ll_fcg.c
+ hc32_ll_usart.c
1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_usart.c
- hc32f4a0_ll_interrupts_share.c
+ hc32_ll_i2c.c
1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32f4a0_ll_interrupts_share.c
-
-
-
-
- hc32_ll_rmu.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
-
-
-
-
- hc32_ll_gpio.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
-
-
-
-
- hc32_ll.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll.c
-
-
-
-
- hc32_ll_utility.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_utility.c
-
-
-
-
- hc32_ll_pwc.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
@@ -1259,20 +1224,6 @@
..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
- system_hc32f4a0.c
- 1
- ..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f4a0.c
-
-
-
-
- hc32_ll_icg.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_icg.c
-
-
hc32_ll_interrupts.c
@@ -1280,34 +1231,6 @@
..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
-
-
- hc32_ll_sram.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_sram.c
-
-
-
-
- hc32_ll_efm.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
-
-
-
- hc32_ll_aos.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_aos.c
-
-
-
-
- hc32_ll_usart.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_usart.c
-
-
hc32_ll_clk.c
@@ -1315,6 +1238,41 @@
..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_clk.c
+
+
+ hc32_ll_gpio.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
+
+
+
+
+ hc32_ll_icg.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_icg.c
+
+
+
+
+ hc32_ll_fcg.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+
+
+
+
+ hc32_ll_sram.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_sram.c
+
+
+
+
+ hc32_ll_aos.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+
+
hc32_ll_tmr0.c
@@ -1324,9 +1282,51 @@
- hc32_ll_i2c.c
+ hc32_ll_rmu.c
1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+
+
+
+
+ hc32_ll_utility.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+
+
+
+
+ hc32f4a0_ll_interrupts_share.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32f4a0_ll_interrupts_share.c
+
+
+
+
+ hc32_ll.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll.c
+
+
+
+
+ hc32_ll_efm.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_efm.c
+
+
+
+
+ hc32_ll_pwc.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+
+
+
+
+ system_hc32f4a0.c
+ 1
+ ..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f4a0.c
@@ -1351,9 +1351,9 @@
- test_gpio.c
+ test_i2c.c
1
- ..\tests\test_gpio.c
+ ..\tests\test_i2c.c
@@ -1365,9 +1365,9 @@
- test_i2c.c
+ test_gpio.c
1
- ..\tests\test_i2c.c
+ ..\tests\test_gpio.c
diff --git a/bsp/hc32/lckfb-hc32f4a0-lqfp100/project.ewp b/bsp/hc32/lckfb-hc32f4a0-lqfp100/project.ewp
index fa367449ec..144bad7093 100644
--- a/bsp/hc32/lckfb-hc32f4a0-lqfp100/project.ewp
+++ b/bsp/hc32/lckfb-hc32f4a0-lqfp100/project.ewp
@@ -319,32 +319,32 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\board\config\usb_config
- $PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\board
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\platform\tca9539
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\tests
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc
+ $PROJ_DIR$\board
+ $PROJ_DIR$\board\config\usb_config
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\tests
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\..\platform\tca9539
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\hc32_drivers
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board\ports
CCStdIncCheck
@@ -1315,32 +1315,32 @@
CCIncludePath2
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc
- $PROJ_DIR$\..\..\..\components\drivers\smp_call
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\components\finsh
- $PROJ_DIR$\board\config\usb_config
- $PROJ_DIR$\..\libraries\hc32_drivers
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
- $PROJ_DIR$\board\ports
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include
- $PROJ_DIR$\board
- $PROJ_DIR$\board\config
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\..\components\drivers\phy
- $PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\platform\tca9539
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\tests
$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc
+ $PROJ_DIR$\board
+ $PROJ_DIR$\board\config\usb_config
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Include
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\tests
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\board\config
+ $PROJ_DIR$\..\platform\tca9539
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\libraries\hc32_drivers
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\board\ports
CCStdIncCheck
@@ -2130,7 +2130,7 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh.c
$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
@@ -2139,7 +2139,7 @@
$PROJ_DIR$\..\..\..\components\finsh\shell.c
- $PROJ_DIR$\..\..\..\components\finsh\msh.c
+ $PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2193,19 +2193,19 @@
klibc
- $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
$PROJ_DIR$\..\..\..\src\klibc\kstring.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
- $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
@@ -2231,6 +2231,21 @@
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_clk.c
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_efm.c
+
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
@@ -2241,47 +2256,32 @@
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_usart.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll.c
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_utility.c
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_aos.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_sram.c
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Source\system_hc32f4a0.c
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_dma.c
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32f4a0_ll_interrupts_share.c
+
+ $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll.c
+
$PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
-
-
- $PROJ_DIR$\..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_sram.c
-
Platform
@@ -2292,16 +2292,13 @@
POSIX
-
- smp
-
Tests
- $PROJ_DIR$\..\tests\test_uart_v1.c
+ $PROJ_DIR$\..\tests\test_i2c.c
- $PROJ_DIR$\..\tests\test_i2c.c
+ $PROJ_DIR$\..\tests\test_uart_v1.c
$PROJ_DIR$\..\tests\test_soft_i2c.c
diff --git a/bsp/hc32/lckfb-hc32f4a0-lqfp100/project.uvprojx b/bsp/hc32/lckfb-hc32f4a0-lqfp100/project.uvprojx
index a153407ff8..fddea40193 100644
--- a/bsp/hc32/lckfb-hc32f4a0-lqfp100/project.uvprojx
+++ b/bsp/hc32/lckfb-hc32f4a0-lqfp100/project.uvprojx
@@ -335,9 +335,9 @@
0
- RT_USING_LIBC, __DEBUG, USE_DDL_DRIVER, __RTTHREAD__, RT_USING_ARMLIBC, HC32F4A0, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS
+ __DEBUG, USE_DDL_DRIVER, HC32F4A0, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
- board;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension;..\libraries\hc32_drivers;..\..\..\libcpu\arm\common;..\platform\tca9539;..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include;.;applications;..\..\..\components\drivers\include;..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\finsh;..\..\..\components\drivers\smp_call;..\tests;..\..\..\components\drivers\include;board\config\usb_config;..\..\..\components\drivers\include;..\libraries\hc32f4a0_ddl\cmsis\Include;board\config;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board\ports;..\..\..\components\libc\posix\io\eventfd;..\..\..\include;..\..\..\components\libc\posix\io\poll
+ board\ports;..\..\..\components\libc\posix\ipc;applications;..\platform\tca9539;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\tests;..\..\..\components\drivers\include;board\config;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\include;..\libraries\hc32f4a0_ddl\hc32_ll_driver\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\libraries\hc32f4a0_ddl\cmsis\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\finsh;..\libraries\hc32_drivers;..\..\..\include;..\libraries\hc32f4a0_ddl\cmsis\Device\HDSC\hc32f4xx\Include;..\..\..\components\drivers\include;.;board;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;board\config\usb_config;..\..\..\components\drivers\smp_call
@@ -810,20 +810,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -831,6 +817,13 @@
..\..\..\components\finsh\msh_parse.c
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
cmd.c
@@ -838,6 +831,13 @@
..\..\..\components\finsh\cmd.c
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -1131,16 +1131,9 @@
klibc
- rt_vsnprintf_tiny.c
+ kstdio.c
1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\kstdio.c
@@ -1152,16 +1145,23 @@
- kstdio.c
+ rt_vsscanf.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\klibc\rt_vsscanf.c
- rt_vsscanf.c
+ kstring.c
1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
@@ -1205,76 +1205,6 @@
Libraries
-
-
- hc32_ll_icg.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_icg.c
-
-
-
-
- hc32_ll_fcg.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
-
-
-
-
- hc32_ll_pwc.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
-
-
-
-
- hc32f4a0_ll_interrupts_share.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32f4a0_ll_interrupts_share.c
-
-
-
-
- hc32_ll.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll.c
-
-
-
-
- hc32_ll_i2c.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
-
-
-
-
- hc32_ll_clk.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_clk.c
-
-
-
-
- hc32_ll_interrupts.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
-
-
-
-
- hc32_ll_dma.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_dma.c
-
-
-
-
- hc32_ll_aos.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_aos.c
-
-
hc32_ll_gpio.c
@@ -1282,13 +1212,6 @@
..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_gpio.c
-
-
- hc32_ll_efm.c
- 1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_efm.c
-
-
hc32_ll_rmu.c
@@ -1296,6 +1219,13 @@
..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_rmu.c
+
+
+ hc32_ll_utility.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+
+
system_hc32f4a0.c
@@ -1305,9 +1235,37 @@
- hc32_ll_utility.c
+ hc32_ll_fcg.c
1
- ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_utility.c
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_fcg.c
+
+
+
+
+ hc32f4a0_ll_interrupts_share.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32f4a0_ll_interrupts_share.c
+
+
+
+
+ hc32_ll_efm.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_efm.c
+
+
+
+
+ hc32_ll_i2c.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_i2c.c
+
+
+
+
+ hc32_ll.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll.c
@@ -1317,6 +1275,13 @@
..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_tmr0.c
+
+
+ hc32_ll_pwc.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_pwc.c
+
+
hc32_ll_sram.c
@@ -1324,6 +1289,13 @@
..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_sram.c
+
+
+ hc32_ll_icg.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_icg.c
+
+
hc32_ll_usart.c
@@ -1331,6 +1303,34 @@
..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_usart.c
+
+
+ hc32_ll_clk.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_clk.c
+
+
+
+
+ hc32_ll_dma.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_dma.c
+
+
+
+
+ hc32_ll_interrupts.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_interrupts.c
+
+
+
+
+ hc32_ll_aos.c
+ 1
+ ..\libraries\hc32f4a0_ddl\hc32_ll_driver\src\hc32_ll_aos.c
+
+
Platform
@@ -1344,13 +1344,6 @@
Tests
-
-
- test_uart_v1.c
- 1
- ..\tests\test_uart_v1.c
-
-
test_gpio.c
@@ -1372,6 +1365,13 @@
..\tests\test_soft_i2c.c
+
+
+ test_uart_v1.c
+ 1
+ ..\tests\test_uart_v1.c
+
+
diff --git a/bsp/hc32l136/project.ewp b/bsp/hc32l136/project.ewp
index 33143a4d89..effdcc578f 100644
--- a/bsp/hc32l136/project.ewp
+++ b/bsp/hc32l136/project.ewp
@@ -319,25 +319,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\Libraries\CMSIS\Include
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\include
- $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Include
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\inc
$PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\..\..\components\finsh
$PROJ_DIR$\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Include
+ $PROJ_DIR$\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\..\..\components\drivers\include
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\inc
+ $PROJ_DIR$\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\Libraries\CMSIS\Include
CCStdIncCheck
@@ -1311,25 +1313,27 @@
CCIncludePath2
- $PROJ_DIR$\..\..\components\libc\posix\ipc
$PROJ_DIR$\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\Libraries\CMSIS\Include
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\include
- $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Include
- $PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\inc
$PROJ_DIR$\.
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\..\..\components\finsh
$PROJ_DIR$\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Include
+ $PROJ_DIR$\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\..\..\components\drivers\include
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\inc
+ $PROJ_DIR$\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\Libraries\CMSIS\Include
CCStdIncCheck
@@ -2044,7 +2048,13 @@
$PROJ_DIR$\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\components\drivers\ipc\dataqueue.c
@@ -2065,10 +2075,10 @@
$PROJ_DIR$\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\components\drivers\serial\dev_serial.c
@@ -2086,59 +2096,59 @@
Finsh
- $PROJ_DIR$\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\components\finsh\cmd.c
- $PROJ_DIR$\..\..\components\finsh\cmd.c
+ $PROJ_DIR$\..\..\components\finsh\shell.c
HC32_StdPeriph
-
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\trim.c
-
-
- $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Source\system_hc32l13x.c
-
-
- $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Source\interrupts_hc32l136.c
-
-
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\uart.c
-
$PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\sysctrl.c
-
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\gpio.c
-
-
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\ddl.c
-
$PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\timer3.c
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\flash.c
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\ddl.c
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\lpuart.c
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\trim.c
- $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\rtc.c
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\gpio.c
$PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\adc.c
+
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\flash.c
+
+
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\uart.c
+
+
+ $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Source\interrupts_hc32l136.c
+
+
+ $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Source\system_hc32l13x.c
+
+
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\lpuart.c
+
$PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L136\Source\IAR\startup_hc32l136.s
+
+ $PROJ_DIR$\Libraries\HC32L136_StdPeriph_Driver\src\rtc.c
+
Kernel
@@ -2148,6 +2158,12 @@
$PROJ_DIR$\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\src\idle.c
@@ -2157,12 +2173,6 @@
$PROJ_DIR$\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\src\kservice.c
@@ -2188,6 +2198,24 @@
$PROJ_DIR$\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kstdio.c
+
+
libcpu
@@ -2206,4 +2234,7 @@
POSIX
+
+ utestcases
+
diff --git a/bsp/hc32l136/project.uvoptx b/bsp/hc32l136/project.uvoptx
index ba8019a613..53cd00988b 100644
--- a/bsp/hc32l136/project.uvoptx
+++ b/bsp/hc32l136/project.uvoptx
@@ -181,812 +181,4 @@
-
- Applications
- 0
- 0
- 0
- 0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Compiler
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- ..\..\components\libc\compilers\armlibc\syscall_mem.c
- syscall_mem.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- ..\..\components\libc\compilers\armlibc\syscalls.c
- syscalls.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- ..\..\components\libc\compilers\common\cctype.c
- cctype.c
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\..\components\libc\compilers\common\cstdlib.c
- cstdlib.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\..\components\libc\compilers\common\cstring.c
- cstring.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\..\components\libc\compilers\common\ctime.c
- ctime.c
- 0
- 0
-
-
- 2
- 8
- 1
- 0
- 0
- 0
- ..\..\components\libc\compilers\common\cunistd.c
- cunistd.c
- 0
- 0
-
-
- 2
- 9
- 1
- 0
- 0
- 0
- ..\..\components\libc\compilers\common\cwchar.c
- cwchar.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\components\drivers\core\device.c
- device.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\completion_comm.c
- completion_comm.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\completion_up.c
- completion_up.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\condvar.c
- condvar.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\pipe.c
- pipe.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\..\components\drivers\ipc\workqueue.c
- workqueue.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\..\components\drivers\pin\dev_pin.c
- dev_pin.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\..\components\drivers\serial\dev_serial.c
- dev_serial.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- board\board.c
- board.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 4
- 24
- 1
- 0
- 0
- 0
- drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
-
-
- Finsh
- 0
- 0
- 0
- 0
-
- 5
- 25
- 1
- 0
- 0
- 0
- ..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 5
- 26
- 1
- 0
- 0
- 0
- ..\..\components\finsh\msh_parse.c
- msh_parse.c
- 0
- 0
-
-
- 5
- 27
- 1
- 0
- 0
- 0
- ..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
-
-
- HC32_StdPeriph
- 0
- 0
- 0
- 0
-
- 6
- 29
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\uart.c
- uart.c
- 0
- 0
-
-
- 6
- 30
- 1
- 0
- 0
- 0
- Libraries\CMSIS\Device\HDSC\HC32L136\Source\system_hc32l13x.c
- system_hc32l13x.c
- 0
- 0
-
-
- 6
- 31
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\flash.c
- flash.c
- 0
- 0
-
-
- 6
- 32
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\lpuart.c
- lpuart.c
- 0
- 0
-
-
- 6
- 33
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\rtc.c
- rtc.c
- 0
- 0
-
-
- 6
- 34
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\ddl.c
- ddl.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\trim.c
- trim.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- Libraries\CMSIS\Device\HDSC\HC32L136\Source\interrupts_hc32l136.c
- interrupts_hc32l136.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\adc.c
- adc.c
- 0
- 0
-
-
- 6
- 38
- 2
- 0
- 0
- 0
- Libraries\CMSIS\Device\HDSC\HC32L136\Source\ARM\startup_hc32l136.s
- startup_hc32l136.s
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\sysctrl.c
- sysctrl.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\timer3.c
- timer3.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- Libraries\HC32L136_StdPeriph_Driver\src\gpio.c
- gpio.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 7
- 42
- 1
- 0
- 0
- 0
- ..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 7
- 43
- 1
- 0
- 0
- 0
- ..\..\src\components.c
- components.c
- 0
- 0
-
-
- 7
- 44
- 1
- 0
- 0
- 0
- ..\..\src\cpu_up.c
- cpu_up.c
- 0
- 0
-
-
- 7
- 45
- 1
- 0
- 0
- 0
- ..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 7
- 46
- 1
- 0
- 0
- 0
- ..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 7
- 47
- 1
- 0
- 0
- 0
- ..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\..\src\klibc\kerrno.c
- kerrno.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\..\src\klibc\kstdio.c
- kstdio.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\..\src\klibc\kstring.c
- kstring.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 7
- 53
- 1
- 0
- 0
- 0
- ..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 7
- 54
- 1
- 0
- 0
- 0
- ..\..\src\object.c
- object.c
- 0
- 0
-
-
- 7
- 55
- 1
- 0
- 0
- 0
- ..\..\src\scheduler_comm.c
- scheduler_comm.c
- 0
- 0
-
-
- 7
- 56
- 1
- 0
- 0
- 0
- ..\..\src\scheduler_up.c
- scheduler_up.c
- 0
- 0
-
-
- 7
- 57
- 1
- 0
- 0
- 0
- ..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 7
- 58
- 1
- 0
- 0
- 0
- ..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- libcpu
- 0
- 0
- 0
- 0
-
- 8
- 59
- 1
- 0
- 0
- 0
- ..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 8
- 60
- 1
- 0
- 0
- 0
- ..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 8
- 61
- 2
- 0
- 0
- 0
- ..\..\libcpu\arm\cortex-m0\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 8
- 62
- 1
- 0
- 0
- 0
- ..\..\libcpu\arm\cortex-m0\cpuport.c
- cpuport.c
- 0
- 0
-
-
-
diff --git a/bsp/hc32l136/project.uvprojx b/bsp/hc32l136/project.uvprojx
index ed28611822..64059dc7f4 100644
--- a/bsp/hc32l136/project.uvprojx
+++ b/bsp/hc32l136/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -16,31 +13,31 @@
HC32L136K8TA
HDSC
- HDSC.HC32L136.1.0.1
+ HDSC.HC32L136.1.0.0
https://raw.githubusercontent.com/hdscmcu/pack/master/
IRAM(0x20000000,0x2000) IROM(0x00000000,0x10000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0FlashHC32L136_64K -FS00 -FL010000 -FP0($$Device:HC32L136K8TA$Flash\FlashHC32L136_64K.FLM))
0
$$Device:HC32L136K8TA$Device\Include\HC32L136K8TA.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:HC32L136K8TA$SVD\HC32L136K8TA.sfr
1
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -62,8 +59,8 @@
0
0
-
-
+
+
0
0
0
@@ -72,8 +69,8 @@
0
0
-
-
+
+
0
0
0
@@ -83,14 +80,14 @@
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
0
0
0
-
+
0
@@ -104,8 +101,8 @@
0
0
3
-
-
+
+
1
@@ -139,10 +136,10 @@
1
BIN\UL2CM3.DLL
"" ()
-
-
-
-
+
+
+
+
0
@@ -175,7 +172,7 @@
0
0
"Cortex-M0+"
-
+
0
0
0
@@ -186,7 +183,6 @@
0
0
0
- 0
0
0
8
@@ -310,7 +306,7 @@
0x0
-
+
1
@@ -338,9 +334,9 @@
0
--diag_suppress=186,66
- RT_USING_LIBC, USE_DDL_DRIVER, __RTTHREAD__, __DEBUG, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, HC32L136
-
- ..\..\components\drivers\include;..\..\components\drivers\include;Libraries\CMSIS\Include;Libraries\CMSIS\Device\HDSC\HC32L136\Include;..\..\components\drivers\include;..\..\libcpu\arm\cortex-m0;..\..\components\libc\posix\ipc;..\..\components\libc\compilers\common\include;..\..\components\libc\posix\io\eventfd;..\..\components\drivers\smp;Libraries\HC32L136_StdPeriph_Driver\inc;..\..\components\libc\posix\io\epoll;..\..\components\libc\posix\io\poll;..\..\components\libc\compilers\common\extension;..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\components\finsh;..\..\include;.;applications;drivers;board;..\..\components\drivers\include;..\..\libcpu\arm\common
+ __DEBUG, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, __STDC_LIMIT_MACROS, USE_DDL_DRIVER, RT_USING_ARMLIBC, HC32L136
+
+ ..\..\components\libc\compilers\common\include;..\..\components\drivers\include;Libraries\HC32L136_StdPeriph_Driver\inc;Libraries\CMSIS\Device\HDSC\HC32L136\Include;..\..\components\libc\posix\io\epoll;..\..\components\libc\posix\io\poll;drivers;..\..\components\libc\posix\io\eventfd;..\..\components\drivers\include;..\..\components\libc\posix\ipc;..\..\components\libc\compilers\common\extension\fcntl\octal;.;..\..\components\drivers\include;..\..\libcpu\arm\common;..\..\components\libc\compilers\common\extension;board;..\..\components\finsh;..\..\components\drivers\include;..\..\libcpu\arm\cortex-m0;..\..\components\drivers\include;applications;..\..\components\drivers\smp_call;..\..\components\drivers\phy;..\..\include;Libraries\CMSIS\Include
@@ -355,10 +351,10 @@
0
1
-
-
-
-
+
+
+
+
@@ -370,13 +366,13 @@
0
0x00000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
@@ -399,36 +395,50 @@
1
..\..\components\libc\compilers\armlibc\syscall_mem.c
+
+
syscalls.c
1
..\..\components\libc\compilers\armlibc\syscalls.c
+
+
cctype.c
1
..\..\components\libc\compilers\common\cctype.c
+
+
cstdlib.c
1
..\..\components\libc\compilers\common\cstdlib.c
+
+
cstring.c
1
..\..\components\libc\compilers\common\cstring.c
+
+
ctime.c
1
..\..\components\libc\compilers\common\ctime.c
+
+
cunistd.c
1
..\..\components\libc\compilers\common\cunistd.c
+
+
cwchar.c
1
@@ -444,47 +454,8 @@
1
..\..\components\drivers\core\device.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -495,52 +466,15 @@
+
+
completion_comm.c
1
..\..\components\drivers\ipc\completion_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -551,52 +485,15 @@
+
+
completion_up.c
1
..\..\components\drivers\ipc\completion_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -607,52 +504,15 @@
+
+
condvar.c
1
..\..\components\drivers\ipc\condvar.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -663,52 +523,15 @@
+
+
dataqueue.c
1
..\..\components\drivers\ipc\dataqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -719,52 +542,15 @@
+
+
pipe.c
1
..\..\components\drivers\ipc\pipe.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -775,52 +561,15 @@
+
+
ringblk_buf.c
1
..\..\components\drivers\ipc\ringblk_buf.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -831,52 +580,15 @@
+
+
ringbuffer.c
1
..\..\components\drivers\ipc\ringbuffer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -887,52 +599,15 @@
+
+
waitqueue.c
1
..\..\components\drivers\ipc\waitqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -943,52 +618,15 @@
+
+
workqueue.c
1
..\..\components\drivers\ipc\workqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -999,52 +637,15 @@
+
+
dev_pin.c
1
..\..\components\drivers\pin\dev_pin.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -1055,52 +656,15 @@
+
+
dev_serial.c
1
..\..\components\drivers\serial\dev_serial.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
@@ -1121,11 +685,15 @@
1
board\board.c
+
+
drv_gpio.c
1
drivers\drv_gpio.c
+
+
drv_usart.c
1
@@ -1141,16 +709,22 @@
1
..\..\components\finsh\msh.c
+
+
msh_parse.c
1
..\..\components\finsh\msh_parse.c
+
+
shell.c
1
..\..\components\finsh\shell.c
+
+
cmd.c
1
@@ -1162,65 +736,89 @@
HC32_StdPeriph
- uart.c
+ timer3.c
1
- Libraries\HC32L136_StdPeriph_Driver\src\uart.c
-
-
- system_hc32l13x.c
- 1
- Libraries\CMSIS\Device\HDSC\HC32L136\Source\system_hc32l13x.c
-
-
- flash.c
- 1
- Libraries\HC32L136_StdPeriph_Driver\src\flash.c
-
-
- lpuart.c
- 1
- Libraries\HC32L136_StdPeriph_Driver\src\lpuart.c
-
-
- rtc.c
- 1
- Libraries\HC32L136_StdPeriph_Driver\src\rtc.c
-
-
- ddl.c
- 1
- Libraries\HC32L136_StdPeriph_Driver\src\ddl.c
-
-
- trim.c
- 1
- Libraries\HC32L136_StdPeriph_Driver\src\trim.c
+ Libraries\HC32L136_StdPeriph_Driver\src\timer3.c
+
+
interrupts_hc32l136.c
1
Libraries\CMSIS\Device\HDSC\HC32L136\Source\interrupts_hc32l136.c
+
+
- adc.c
+ lpuart.c
1
- Libraries\HC32L136_StdPeriph_Driver\src\adc.c
+ Libraries\HC32L136_StdPeriph_Driver\src\lpuart.c
+
+
+
+ ddl.c
+ 1
+ Libraries\HC32L136_StdPeriph_Driver\src\ddl.c
+
+
+
+
+ system_hc32l13x.c
+ 1
+ Libraries\CMSIS\Device\HDSC\HC32L136\Source\system_hc32l13x.c
+
+
+
+
+ trim.c
+ 1
+ Libraries\HC32L136_StdPeriph_Driver\src\trim.c
+
+
+
+
+ flash.c
+ 1
+ Libraries\HC32L136_StdPeriph_Driver\src\flash.c
+
+
+
+
+ rtc.c
+ 1
+ Libraries\HC32L136_StdPeriph_Driver\src\rtc.c
+
+
+
+
+ uart.c
+ 1
+ Libraries\HC32L136_StdPeriph_Driver\src\uart.c
+
+
+
startup_hc32l136.s
2
Libraries\CMSIS\Device\HDSC\HC32L136\Source\ARM\startup_hc32l136.s
+
+
sysctrl.c
1
Libraries\HC32L136_StdPeriph_Driver\src\sysctrl.c
+
+
- timer3.c
+ adc.c
1
- Libraries\HC32L136_StdPeriph_Driver\src\timer3.c
+ Libraries\HC32L136_StdPeriph_Driver\src\adc.c
+
+
gpio.c
1
@@ -1236,47 +834,8 @@
1
..\..\src\clock.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1287,52 +846,15 @@
+
+
components.c
1
..\..\src\components.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1343,52 +865,15 @@
+
+
cpu_up.c
1
..\..\src\cpu_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1399,52 +884,34 @@
+
+
+
+ defunct.c
+ 1
+ ..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
idle.c
1
..\..\src\idle.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1455,52 +922,15 @@
+
+
ipc.c
1
..\..\src\ipc.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1511,220 +941,15 @@
+
+
irq.c
1
..\..\src\irq.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
- kerrno.c
- 1
- ..\..\src\klibc\kerrno.c
-
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
-
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
- kstdio.c
- 1
- ..\..\src\klibc\kstdio.c
-
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
-
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\src\klibc\kstring.c
-
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
-
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1735,52 +960,15 @@
+
+
kservice.c
1
..\..\src\kservice.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1791,52 +979,15 @@
+
+
mem.c
1
..\..\src\mem.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1847,52 +998,15 @@
+
+
mempool.c
1
..\..\src\mempool.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1903,52 +1017,15 @@
+
+
object.c
1
..\..\src\object.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -1959,52 +1036,15 @@
+
+
scheduler_comm.c
1
..\..\src\scheduler_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -2015,52 +1055,15 @@
+
+
scheduler_up.c
1
..\..\src\scheduler_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -2071,52 +1074,15 @@
+
+
thread.c
1
..\..\src\thread.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -2127,52 +1093,15 @@
+
+
timer.c
1
..\..\src\timer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
@@ -2185,6 +1114,44 @@
+
+ klibc
+
+
+ kerrno.c
+ 1
+ ..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\src\klibc\kstring.c
+
+
+
libcpu
@@ -2193,16 +1160,22 @@
1
..\..\libcpu\arm\common\div0.c
+
+
showmem.c
1
..\..\libcpu\arm\common\showmem.c
+
+
context_rvds.S
2
..\..\libcpu\arm\cortex-m0\context_rvds.S
+
+
cpuport.c
1
@@ -2213,11 +1186,9 @@
-
-
-
-
+
+
+
-
diff --git a/bsp/hc32l196/project.ewp b/bsp/hc32l196/project.ewp
index 4f14110ab6..83e768a456 100644
--- a/bsp/hc32l196/project.ewp
+++ b/bsp/hc32l196/project.ewp
@@ -316,28 +316,27 @@
CCIncludePath2
- $PROJ_DIR$\packages\SEGGER_RTT-latest\RTT
- $PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\components\libc\posix\ipc
- $PROJ_DIR$\drivers
- $PROJ_DIR$\.
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\Libraries\CMSIS\Include
- $PROJ_DIR$\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\components\drivers\spi
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\components\finsh
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\inc
- $PROJ_DIR$\packages\SEGGER_RTT-latest
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L196\Include
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\Libraries\CMSIS\Include
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\libcpu\arm\cortex-m0
CCStdIncCheck
@@ -1309,28 +1308,27 @@
CCIncludePath2
- $PROJ_DIR$\packages\SEGGER_RTT-latest\RTT
- $PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\..\..\libcpu\arm\common
- $PROJ_DIR$\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\..\..\components\libc\posix\ipc
- $PROJ_DIR$\drivers
- $PROJ_DIR$\.
- $PROJ_DIR$\board
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\Libraries\CMSIS\Include
- $PROJ_DIR$\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\components\drivers\spi
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\..\components\finsh
- $PROJ_DIR$\..\..\components\libc\compilers\common\extension
- $PROJ_DIR$\..\..\components\libc\posix\io\epoll
$PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\inc
- $PROJ_DIR$\packages\SEGGER_RTT-latest
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\..\components\drivers\phy
+ $PROJ_DIR$\..\..\components\finsh
+ $PROJ_DIR$\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L196\Include
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\components\drivers\smp_call
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\..\..\components\libc\compilers\common\include
+ $PROJ_DIR$\Libraries\CMSIS\Include
+ $PROJ_DIR$\drivers
+ $PROJ_DIR$\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\include
+ $PROJ_DIR$\applications
+ $PROJ_DIR$\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\libcpu\arm\cortex-m0
CCStdIncCheck
@@ -2073,19 +2071,10 @@
$PROJ_DIR$\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\components\drivers\serial\serial.c
-
-
- $PROJ_DIR$\..\..\components\drivers\spi\spi-bit-ops.c
-
-
- $PROJ_DIR$\..\..\components\drivers\spi\spi_core.c
-
-
- $PROJ_DIR$\..\..\components\drivers\spi\spi_dev.c
+ $PROJ_DIR$\..\..\components\drivers\serial\dev_serial.c
@@ -2108,41 +2097,41 @@
$PROJ_DIR$\..\..\components\finsh\shell.c
-
- $PROJ_DIR$\..\..\components\finsh\msh.c
-
$PROJ_DIR$\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\components\finsh\cmd.c
+
+ $PROJ_DIR$\..\..\components\finsh\msh.c
+
HC32_StdPeriph
- $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L196\Source\IAR\startup_hc32l19x.s
-
-
- $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L196\Source\system_hc32l19x.c
-
-
- $PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_uart.c
-
-
- $PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_flash.c
+ $PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_sysctrl.c
$PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L196\Source\interrupts_hc32l19x.c
+
+ $PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_gpio.c
+
+
+ $PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_uart.c
+
+
+ $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L196\Source\IAR\startup_hc32l19x.s
+
+
+ $PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_flash.c
+
$PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_ddl.c
- $PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_sysctrl.c
-
-
- $PROJ_DIR$\Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_gpio.c
+ $PROJ_DIR$\Libraries\CMSIS\Device\HDSC\HC32L196\Source\system_hc32l19x.c
@@ -2156,6 +2145,9 @@
$PROJ_DIR$\..\..\src\cpu_up.c
+
+ $PROJ_DIR$\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\src\idle.c
@@ -2165,12 +2157,6 @@
$PROJ_DIR$\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\src\kservice.c
@@ -2196,6 +2182,24 @@
$PROJ_DIR$\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\src\klibc\kstring.c
+
+
libcpu
@@ -2215,6 +2219,6 @@
POSIX
- SEGGER_RTT
+ utestcases
diff --git a/bsp/hc32l196/project.uvprojx b/bsp/hc32l196/project.uvprojx
index 12374cae69..e91f107b6f 100644
--- a/bsp/hc32l196/project.uvprojx
+++ b/bsp/hc32l196/project.uvprojx
@@ -327,9 +327,9 @@
0
- RT_USING_LIBC, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
+ __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC, RT_USING_LIBC, __STDC_LIMIT_MACROS
- .;..\..\libcpu\arm\cortex-m0;applications;board;Libraries\CMSIS\Device\HDSC\HC32L196\Include;..\..\components\libc\compilers\common\extension\fcntl\octal;Libraries\HC32L196_StdPeriph_Driver\inc;..\..\components\libc\compilers\common\include;..\..\components\finsh;..\..\components\drivers\include;..\..\libcpu\arm\common;drivers;..\..\components\drivers\include;..\..\include;..\..\components\libc\posix\io\eventfd;..\..\components\libc\posix\io\poll;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension;..\..\components\drivers\include;..\..\components\libc\posix\io\epoll;..\..\components\libc\posix\ipc;Libraries\CMSIS\Include
+ ..\..\libcpu\arm\common;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension;..\..\components\libc\compilers\common\include;..\..\components\libc\posix\io\epoll;..\..\components\finsh;.;..\..\include;..\..\components\libc\posix\io\poll;Libraries\HC32L196_StdPeriph_Driver\inc;..\..\components\drivers\phy;..\..\components\libc\posix\ipc;applications;board;Libraries\CMSIS\Device\HDSC\HC32L196\Include;..\..\components\drivers\include;..\..\components\libc\posix\io\eventfd;..\..\components\drivers\smp_call;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension\fcntl\octal;drivers;..\..\components\drivers\include;..\..\components\drivers\include;..\..\libcpu\arm\cortex-m0;Libraries\CMSIS\Include
@@ -461,9 +461,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\components\drivers\ipc\completion.c
+ ..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\components\drivers\ipc\condvar.c
@@ -594,9 +632,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\components\drivers\pin\pin.c
+ ..\..\components\drivers\pin\dev_pin.c
@@ -613,9 +651,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\components\drivers\serial\serial.c
+ ..\..\components\drivers\serial\dev_serial.c
@@ -664,13 +702,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\components\finsh\shell.c
-
-
msh.c
@@ -678,13 +709,6 @@
..\..\components\finsh\msh.c
-
-
- msh_parse.c
- 1
- ..\..\components\finsh\msh_parse.c
-
-
cmd.c
@@ -692,21 +716,28 @@
..\..\components\finsh\cmd.c
+
+
+ shell.c
+ 1
+ ..\..\components\finsh\shell.c
+
+
+
+
+ msh_parse.c
+ 1
+ ..\..\components\finsh\msh_parse.c
+
+
HC32_StdPeriph
- startup_hc32l19x.s
- 2
- Libraries\CMSIS\Device\HDSC\HC32L196\Source\ARM\startup_hc32l19x.s
-
-
-
-
- system_hc32l19x.c
+ hc32l196_sysctrl.c
1
- Libraries\CMSIS\Device\HDSC\HC32L196\Source\system_hc32l19x.c
+ Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_sysctrl.c
@@ -723,13 +754,6 @@
Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_flash.c
-
-
- interrupts_hc32l19x.c
- 1
- Libraries\CMSIS\Device\HDSC\HC32L196\Source\interrupts_hc32l19x.c
-
-
hc32l196_ddl.c
@@ -739,16 +763,30 @@
- hc32l196_sysctrl.c
+ hc32l196_gpio.c
1
- Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_sysctrl.c
+ Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_gpio.c
- hc32l196_gpio.c
+ startup_hc32l19x.s
+ 2
+ Libraries\CMSIS\Device\HDSC\HC32L196\Source\ARM\startup_hc32l19x.s
+
+
+
+
+ interrupts_hc32l19x.c
1
- Libraries\HC32L196_StdPeriph_Driver\src\hc32l196_gpio.c
+ Libraries\CMSIS\Device\HDSC\HC32L196\Source\interrupts_hc32l19x.c
+
+
+
+
+ system_hc32l19x.c
+ 1
+ Libraries\CMSIS\Device\HDSC\HC32L196\Source\system_hc32l19x.c
@@ -792,6 +830,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -849,44 +925,6 @@
-
-
- kstdio.c
- 1
- ..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1040,6 +1078,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\src\klibc\kstring.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\src\klibc\kerrno.c
+
+
+
libcpu
diff --git a/bsp/hk32/hk32f030c8-mini/project.ewp b/bsp/hk32/hk32f030c8-mini/project.ewp
index 0c21e7abba..a5eddb1243 100644
--- a/bsp/hk32/hk32f030c8-mini/project.ewp
+++ b/bsp/hk32/hk32f030c8-mini/project.ewp
@@ -353,26 +353,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\inc
- $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board\msp
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core
+ $PROJ_DIR$\board\msp
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
CCStdIncCheck
@@ -1400,26 +1402,28 @@
CCIncludePath2
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\inc
- $PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\components\libc\compilers\common\include
- $PROJ_DIR$\..\..\..\components\libc\posix\ipc
- $PROJ_DIR$\board\msp
- $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
- $PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
- $PROJ_DIR$\..\libraries\rt_drivers
- $PROJ_DIR$\.
- $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
- $PROJ_DIR$\applications
- $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
- $PROJ_DIR$\board
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include
- $PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core
+ $PROJ_DIR$\board\msp
+ $PROJ_DIR$\..\..\..\libcpu\arm\common
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\inc
+ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0
+ $PROJ_DIR$\..\..\..\components\finsh
+ $PROJ_DIR$\..\..\..\components\drivers\include
+ $PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd
$PROJ_DIR$\..\..\..\include
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal
+ $PROJ_DIR$\applications
$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
+ $PROJ_DIR$\..\..\..\components\drivers\phy
+ $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\epoll
+ $PROJ_DIR$\.
+ $PROJ_DIR$\..\libraries\rt_drivers
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include
+ $PROJ_DIR$\..\..\..\components\drivers\smp_call
CCStdIncCheck
@@ -2154,16 +2158,22 @@
$PROJ_DIR$\..\..\..\components\drivers\core\device.c
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_core.c
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\dev_i2c_core.c
- $PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_dev.c
+ $PROJ_DIR$\..\..\..\components\drivers\i2c\dev_i2c_dev.c
- $PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_comm.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\completion_up.c
+
+
+ $PROJ_DIR$\..\..\..\components\drivers\ipc\condvar.c
$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c
@@ -2184,10 +2194,10 @@
$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c
- $PROJ_DIR$\..\..\..\components\drivers\pin\pin.c
+ $PROJ_DIR$\..\..\..\components\drivers\pin\dev_pin.c
- $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c
+ $PROJ_DIR$\..\..\..\components\drivers\serial\dev_serial.c
@@ -2217,13 +2227,13 @@
Finsh
- $PROJ_DIR$\..\..\..\components\finsh\shell.c
+ $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
$PROJ_DIR$\..\..\..\components\finsh\msh.c
- $PROJ_DIR$\..\..\..\components\finsh\msh_parse.c
+ $PROJ_DIR$\..\..\..\components\finsh\shell.c
$PROJ_DIR$\..\..\..\components\finsh\cmd.c
@@ -2237,6 +2247,12 @@
$PROJ_DIR$\..\..\..\src\components.c
+
+ $PROJ_DIR$\..\..\..\src\cpu_up.c
+
+
+ $PROJ_DIR$\..\..\..\src\defunct.c
+
$PROJ_DIR$\..\..\..\src\idle.c
@@ -2246,12 +2262,6 @@
$PROJ_DIR$\..\..\..\src\irq.c
-
- $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
-
-
- $PROJ_DIR$\..\..\..\src\klibc\kstring.c
-
$PROJ_DIR$\..\..\..\src\kservice.c
@@ -2274,6 +2284,24 @@
$PROJ_DIR$\..\..\..\src\timer.c
+
+ klibc
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstdio.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kstring.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\kerrno.c
+
+
+ $PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
libcpu
@@ -2292,19 +2320,10 @@
Libraries
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c
$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c
@@ -2312,44 +2331,56 @@
$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dbgmcu.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c
+
$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_usart.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_spi.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c
+
+
+ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_adc.c
+
$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c
$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_spi.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dbgmcu.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_usart.c
-
-
- $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_adc.c
-
POSIX
+
+ utestcases
+
diff --git a/bsp/hk32/hk32f030c8-mini/project.uvproj b/bsp/hk32/hk32f030c8-mini/project.uvproj
index e4d6eba262..e0f0a1a97a 100644
--- a/bsp/hk32/hk32f030c8-mini/project.uvproj
+++ b/bsp/hk32/hk32f030c8-mini/project.uvproj
@@ -357,9 +357,9 @@
0
- HK32F030x8, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__, HK32F030x8, __CLK_TCK=RT_TICK_PER_SECOND
- board;..\..\..\libcpu\arm\cortex-m0;..\libraries\HK32F0xx_StdPeriph_Driver\inc;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include;board\msp;..\libraries\rt_drivers;applications;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;.
+ ..\..\..\components\libc\compilers\common\extension;board\msp;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\finsh;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core;.;..\libraries\rt_drivers;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\eventfd;board;..\..\..\libcpu\arm\common;..\libraries\HK32F0xx_StdPeriph_Driver\inc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;applications;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\drivers\include
@@ -491,9 +491,9 @@
- i2c-bit-ops.c
+ dev_i2c_bit_ops.c
1
- ..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ ..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
@@ -510,9 +510,9 @@
- i2c_core.c
+ dev_i2c_core.c
1
- ..\..\..\components\drivers\i2c\i2c_core.c
+ ..\..\..\components\drivers\i2c\dev_i2c_core.c
@@ -529,9 +529,9 @@
- i2c_dev.c
+ dev_i2c_dev.c
1
- ..\..\..\components\drivers\i2c\i2c_dev.c
+ ..\..\..\components\drivers\i2c\dev_i2c_dev.c
@@ -548,9 +548,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -681,9 +719,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -700,9 +738,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -772,20 +810,6 @@
Finsh
-
-
- shell.c
- 1
- ..\..\..\components\finsh\shell.c
-
-
-
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
-
msh_parse.c
@@ -800,6 +824,20 @@
..\..\..\components\finsh\cmd.c
+
+
+ shell.c
+ 1
+ ..\..\..\components\finsh\shell.c
+
+
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
Kernel
@@ -841,6 +879,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -898,44 +974,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1070,6 +1108,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1103,27 +1179,6 @@
Libraries
-
-
- hk32f0xx_rtc.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c
-
-
-
-
- hk32f0xx_syscfg.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c
-
-
-
-
- hk32f0xx_exti.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c
-
-
hk32f0xx_wwdg.c
@@ -1131,55 +1186,6 @@
..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c
-
-
- hk32f0xx_misc.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c
-
-
-
-
- hk32f0xx_i2c.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c
-
-
-
-
- hk32f0xx_iwdg.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c
-
-
-
-
- hk32f0xx_flash.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c
-
-
-
-
- hk32f0xx_divsqrt.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c
-
-
-
-
- hk32f0xx_gpio.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c
-
-
-
-
- hk32f0xx_crc.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c
-
-
hk32f0xx_spi.c
@@ -1189,16 +1195,9 @@
- hk32f0xx_pwr.c
+ hk32f0xx_rcc.c
1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c
-
-
-
-
- hk32f0xx_dma.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c
@@ -1210,16 +1209,51 @@
- hk32f0xx_rcc.c
+ hk32f0xx_dma.c
1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c
- hk32f0xx_tim.c
+ hk32f0xx_rtc.c
1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c
+
+
+
+
+ hk32f0xx_iwdg.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c
+
+
+
+
+ hk32f0xx_pwr.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c
+
+
+
+
+ hk32f0xx_misc.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c
+
+
+
+
+ hk32f0xx_syscfg.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c
+
+
+
+
+ hk32f0xx_divsqrt.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c
@@ -1229,6 +1263,27 @@
..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_usart.c
+
+
+ hk32f0xx_exti.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c
+
+
+
+
+ hk32f0xx_gpio.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c
+
+
+
+
+ hk32f0xx_flash.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c
+
+
hk32f0xx_adc.c
@@ -1236,6 +1291,27 @@
..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_adc.c
+
+
+ hk32f0xx_i2c.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c
+
+
+
+
+ hk32f0xx_tim.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c
+
+
+
+
+ hk32f0xx_crc.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c
+
+
diff --git a/bsp/hk32/hk32f030c8-mini/project.uvprojx b/bsp/hk32/hk32f030c8-mini/project.uvprojx
index 1191fed602..32336fdbed 100644
--- a/bsp/hk32/hk32f030c8-mini/project.uvprojx
+++ b/bsp/hk32/hk32f030c8-mini/project.uvprojx
@@ -334,9 +334,9 @@
0
- HK32F030x8, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ USE_STDPERIPH_DRIVER, HK32F030x8, RT_USING_LIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC
- board;..\..\..\libcpu\arm\cortex-m0;..\libraries\HK32F0xx_StdPeriph_Driver\inc;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include;board\msp;..\libraries\rt_drivers;applications;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;.
+ ..\..\..\components\finsh;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\libraries\HK32F0xx_StdPeriph_Driver\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core;..\..\..\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;.;..\..\..\components\drivers\phy;..\libraries\rt_drivers;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension;board\msp;applications;board
@@ -469,9 +469,9 @@
- i2c-bit-ops.c
+ dev_i2c_bit_ops.c
1
- ..\..\..\components\drivers\i2c\i2c-bit-ops.c
+ ..\..\..\components\drivers\i2c\dev_i2c_bit_ops.c
@@ -488,9 +488,9 @@
- i2c_core.c
+ dev_i2c_core.c
1
- ..\..\..\components\drivers\i2c\i2c_core.c
+ ..\..\..\components\drivers\i2c\dev_i2c_core.c
@@ -507,9 +507,9 @@
- i2c_dev.c
+ dev_i2c_dev.c
1
- ..\..\..\components\drivers\i2c\i2c_dev.c
+ ..\..\..\components\drivers\i2c\dev_i2c_dev.c
@@ -526,9 +526,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -659,9 +697,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -678,9 +716,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -752,16 +790,16 @@
Finsh
- shell.c
+ msh.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh.c
- msh.c
+ cmd.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\cmd.c
@@ -773,9 +811,9 @@
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -819,6 +857,44 @@
+
+
+ cpu_up.c
+ 1
+ ..\..\..\src\cpu_up.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ defunct.c
+ 1
+ ..\..\..\src\defunct.c
+
+
+
+
+
+ __RT_KERNEL_SOURCE__
+
+
+
+
+
+
+
+
idle.c
@@ -876,44 +952,6 @@
-
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
-
-
- kstring.c
- 1
- ..\..\..\src\klibc\kstring.c
-
-
-
-
-
- __RT_KERNEL_SOURCE__
-
-
-
-
-
-
-
-
kservice.c
@@ -1048,6 +1086,44 @@
+
+ klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
libcpu
@@ -1081,34 +1157,6 @@
Libraries
-
-
- hk32f0xx_rtc.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c
-
-
-
-
- hk32f0xx_syscfg.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c
-
-
-
-
- hk32f0xx_exti.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c
-
-
-
-
- hk32f0xx_wwdg.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c
-
-
hk32f0xx_misc.c
@@ -1116,90 +1164,6 @@
..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c
-
-
- hk32f0xx_i2c.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c
-
-
-
-
- hk32f0xx_iwdg.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c
-
-
-
-
- hk32f0xx_flash.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c
-
-
-
-
- hk32f0xx_divsqrt.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c
-
-
-
-
- hk32f0xx_gpio.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c
-
-
-
-
- hk32f0xx_crc.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c
-
-
-
-
- hk32f0xx_spi.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_spi.c
-
-
-
-
- hk32f0xx_pwr.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c
-
-
-
-
- hk32f0xx_dma.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c
-
-
-
-
- hk32f0xx_dbgmcu.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dbgmcu.c
-
-
-
-
- hk32f0xx_rcc.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c
-
-
-
-
- hk32f0xx_tim.c
- 1
- ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c
-
-
hk32f0xx_usart.c
@@ -1207,6 +1171,97 @@
..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_usart.c
+
+
+ hk32f0xx_gpio.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c
+
+
+
+
+ hk32f0xx_syscfg.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c
+
+
+
+
+ hk32f0xx_i2c.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c
+
+
+
+
+ hk32f0xx_spi.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_spi.c
+
+
+
+
+ hk32f0xx_rtc.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c
+
+
+
+
+ hk32f0xx_dma.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c
+
+
+
+
+ hk32f0xx_crc.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c
+
+
+
+
+ hk32f0xx_exti.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c
+
+
+
+
+ hk32f0xx_dbgmcu.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dbgmcu.c
+
+
+
+
+ hk32f0xx_divsqrt.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c
+
+
+
+
+ hk32f0xx_pwr.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c
+
+
+
+
+ hk32f0xx_wwdg.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c
+
+
+
+
+ hk32f0xx_tim.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c
+
+
hk32f0xx_adc.c
@@ -1214,6 +1269,27 @@
..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_adc.c
+
+
+ hk32f0xx_rcc.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c
+
+
+
+
+ hk32f0xx_flash.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c
+
+
+
+
+ hk32f0xx_iwdg.c
+ 1
+ ..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c
+
+
diff --git a/bsp/ht32/ht32f12366/project.uvoptx b/bsp/ht32/ht32f12366/project.uvoptx
index 06f3300cfb..bca728b9ba 100644
--- a/bsp/ht32/ht32f12366/project.uvoptx
+++ b/bsp/ht32/ht32f12366/project.uvoptx
@@ -169,1083 +169,11 @@
- Applications
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Compiler
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\syscall_mem.c
- syscall_mem.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\syscalls.c
- syscalls.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cctype.c
- cctype.c
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cstdlib.c
- cstdlib.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cstring.c
- cstring.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\ctime.c
- ctime.c
- 0
- 0
-
-
- 2
- 8
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cunistd.c
- cunistd.c
- 0
- 0
-
-
- 2
- 9
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cwchar.c
- cwchar.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\core\device.c
- device.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\completion_comm.c
- completion_comm.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\completion_up.c
- completion_up.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\condvar.c
- condvar.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\pipe.c
- pipe.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\workqueue.c
- workqueue.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\pin\dev_pin.c
- dev_pin.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\dev_serial.c
- dev_serial.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- board\src\board.c
- board.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- board\src\ht32_msp.c
- ht32_msp.c
- 0
- 0
-
-
- 4
- 24
- 2
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Source\ARM\startup_ht32f1xxxx_01.s
- startup_ht32f1xxxx_01.s
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
-
-
- Finsh
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_parse.c
- msh_parse.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 6
- 32
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 6
- 33
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 6
- 34
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu_up.c
- cpu_up.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- ..\..\..\src\defunct.c
- defunct.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\src\memheap.c
- memheap.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 6
- 43
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 6
- 44
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler_comm.c
- scheduler_comm.c
- 0
- 0
-
-
- 6
- 45
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler_up.c
- scheduler_up.c
- 0
- 0
-
-
- 6
- 46
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 6
- 47
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- klibc
- 0
- 0
- 0
- 0
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kstdio.c
- kstdio.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kerrno.c
- kerrno.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
- rt_vsnprintf_tiny.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kstring.c
- kstring.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\rt_vsscanf.c
- rt_vsscanf.c
- 0
- 0
-
-
-
-
- libcpu
- 0
- 0
- 0
- 0
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\atomic_arm.c
- atomic_arm.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 8
- 55
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 8
- 56
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m3\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 8
- 57
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m3\cpuport.c
- cpuport.c
- 0
- 0
-
-
-
-
- Libraries
- 0
- 0
- 0
- 0
-
- 9
- 58
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_i2s.c
- ht32f1xxxx_i2s.c
- 0
- 0
-
-
- 9
- 59
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_mctm.c
- ht32f1xxxx_mctm.c
- 0
- 0
-
-
- 9
- 60
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_bftm.c
- ht32f1xxxx_bftm.c
- 0
- 0
-
-
- 9
- 61
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_flash.c
- ht32f1xxxx_flash.c
- 0
- 0
-
-
- 9
- 62
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_tm.c
- ht32f1xxxx_tm.c
- 0
- 0
-
-
- 9
- 63
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_usbd.c
- ht32f1xxxx_usbd.c
- 0
- 0
-
-
- 9
- 64
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_ebi.c
- ht32f1xxxx_ebi.c
- 0
- 0
-
-
- 9
- 65
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_exti.c
- ht32f1xxxx_exti.c
- 0
- 0
-
-
- 9
- 66
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_crc.c
- ht32f1xxxx_crc.c
- 0
- 0
-
-
- 9
- 67
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_rtc.c
- ht32f1xxxx_rtc.c
- 0
- 0
-
-
- 9
- 68
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_rstcu.c
- ht32f1xxxx_rstcu.c
- 0
- 0
-
-
- 9
- 69
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_aes.c
- ht32f1xxxx_aes.c
- 0
- 0
-
-
- 9
- 70
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Source\system_ht32f1xxxx_02.c
- system_ht32f1xxxx_02.c
- 0
- 0
-
-
- 9
- 71
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_cmp.c
- ht32f1xxxx_cmp.c
- 0
- 0
-
-
- 9
- 72
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32_cm3_misc.c
- ht32_cm3_misc.c
- 0
- 0
-
-
- 9
- 73
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_sci.c
- ht32f1xxxx_sci.c
- 0
- 0
-
-
- 9
- 74
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_pwrcu.c
- ht32f1xxxx_pwrcu.c
- 0
- 0
-
-
- 9
- 75
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_spi.c
- ht32f1xxxx_spi.c
- 0
- 0
-
-
- 9
- 76
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_adc.c
- ht32f1xxxx_adc.c
- 0
- 0
-
-
- 9
- 77
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_sdio.c
- ht32f1xxxx_sdio.c
- 0
- 0
-
-
- 9
- 78
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_usart.c
- ht32f1xxxx_usart.c
- 0
- 0
-
-
- 9
- 79
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_ckcu.c
- ht32f1xxxx_ckcu.c
- 0
- 0
-
-
- 9
- 80
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_gpio.c
- ht32f1xxxx_gpio.c
- 0
- 0
-
-
- 9
- 81
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_pdma.c
- ht32f1xxxx_pdma.c
- 0
- 0
-
-
- 9
- 82
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f2xxxx_csif.c
- ht32f2xxxx_csif.c
- 0
- 0
-
-
- 9
- 83
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_wdt.c
- ht32f1xxxx_wdt.c
- 0
- 0
-
-
- 9
- 84
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_i2c.c
- ht32f1xxxx_i2c.c
- 0
- 0
-
diff --git a/bsp/ht32/ht32f12366/project.uvprojx b/bsp/ht32/ht32f12366/project.uvprojx
index 578dcd6fca..b2e3893930 100644
--- a/bsp/ht32/ht32f12366/project.uvprojx
+++ b/bsp/ht32/ht32f12366/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -18,28 +15,28 @@
Holtek.HT32_DFP.1.0.55
https://mcu.holtek.com.tw/pack
IRAM(0x20000000,0x20000) IROM(0x00000000,0x3FC00) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN2 -FF0HT32F -FS00 -FL0100000 -FF1HT32F_OPT -FS11FF00000 -FL11000 -FP0($$Device:HT32F12366$ARM\Flash\HT32F.FLM) -FP1($$Device:HT32F12366$ARM\Flash\HT32F_OPT.FLM))
0
$$Device:HT32F12366$ARM\INC\Holtek\HT32F1xxxx\ht32f1xxxx_01.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:HT32F12366$SVD\HT32F12365_66.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -61,8 +58,8 @@
0
0
-
-
+
+
0
0
0
@@ -71,8 +68,8 @@
0
0
-
-
+
+
0
0
0
@@ -81,15 +78,15 @@
0
0
-
-
+
+
0
0
0
0
0
-
+
0
@@ -103,8 +100,8 @@
0
0
3
-
-
+
+
1
@@ -113,7 +110,7 @@
DCM.DLL
-pCM3
SARMCM3.DLL
-
+
TCM.DLL
-pCM3
@@ -138,10 +135,10 @@
1
BIN\UL2CM3.DLL
"" ()
-
-
-
-
+
+
+
+
0
@@ -174,7 +171,7 @@
0
0
"Cortex-M3"
-
+
0
0
0
@@ -306,7 +303,7 @@
0x0
-
+
1
@@ -333,9 +330,9 @@
0
--gnu
- __CLK_TCK=RT_TICK_PER_SECOND, USE_HT32_DRIVER, USE_HT32F12366_SK, USE_HT32F12365_66, USE_MEM_HT32F12366, __RTTHREAD__, __STDC_LIMIT_MACROS, RT_USING_LIBC, RT_USING_ARMLIBC
-
- ..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\eventfd;board\inc;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\finsh;..\..\..\components\libc\posix\ipc;..\libraries\usbd_library\inc;..\libraries\ht32_drivers;applications;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\include;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\inc;.;..\libraries\HT32_STD_1xxxx_FWLib\library\CMSIS\Include;..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\drivers\include
+ __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_HT32_DRIVER, RT_USING_LIBC, USE_HT32F12366_SK, USE_HT32F12365_66, USE_MEM_HT32F12366, __RTTHREAD__
+
+ ..\..\..\components\drivers\smp_call;..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\finsh;..\libraries\ht32_drivers;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Include;..\..\..\components\drivers\include;..\..\..\include;.;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\poll;applications;..\..\..\components\libc\posix\io\epoll;..\libraries\HT32_STD_1xxxx_FWLib\library\CMSIS\Include;..\libraries\usbd_library\inc;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\ipc;board\inc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\phy
@@ -350,10 +347,10 @@
0
0
-
+
USE_HT32_CHIP=2
-
-
+
+
@@ -365,13 +362,13 @@
0
0x00000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
@@ -394,36 +391,50 @@
1
..\..\..\components\libc\compilers\armlibc\syscall_mem.c
+
+
syscalls.c
1
..\..\..\components\libc\compilers\armlibc\syscalls.c
+
+
cctype.c
1
..\..\..\components\libc\compilers\common\cctype.c
+
+
cstdlib.c
1
..\..\..\components\libc\compilers\common\cstdlib.c
+
+
cstring.c
1
..\..\..\components\libc\compilers\common\cstring.c
+
+
ctime.c
1
..\..\..\components\libc\compilers\common\ctime.c
+
+
cunistd.c
1
..\..\..\components\libc\compilers\common\cunistd.c
+
+
cwchar.c
1
@@ -439,656 +450,222 @@
1
..\..\..\components\drivers\core\device.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
completion_comm.c
1
..\..\..\components\drivers\ipc\completion_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
completion_up.c
1
..\..\..\components\drivers\ipc\completion_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
condvar.c
1
..\..\..\components\drivers\ipc\condvar.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dataqueue.c
1
..\..\..\components\drivers\ipc\dataqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
pipe.c
1
..\..\..\components\drivers\ipc\pipe.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
ringblk_buf.c
1
..\..\..\components\drivers\ipc\ringblk_buf.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
ringbuffer.c
1
..\..\..\components\drivers\ipc\ringbuffer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
waitqueue.c
1
..\..\..\components\drivers\ipc\waitqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
workqueue.c
1
..\..\..\components\drivers\ipc\workqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dev_pin.c
1
..\..\..\components\drivers\pin\dev_pin.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dev_serial.c
1
..\..\..\components\drivers\serial\dev_serial.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
@@ -1104,26 +681,36 @@
1
board\src\board.c
+
+
ht32_msp.c
1
board\src\ht32_msp.c
+
+
startup_ht32f1xxxx_01.s
2
..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Source\ARM\startup_ht32f1xxxx_01.s
+
+
drv_common.c
1
..\libraries\ht32_drivers\drv_common.c
+
+
drv_gpio.c
1
..\libraries\ht32_drivers\drv_gpio.c
+
+
drv_usart.c
1
@@ -1133,27 +720,33 @@
Finsh
+
+
+ msh.c
+ 1
+ ..\..\..\components\finsh\msh.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
shell.c
1
..\..\..\components\finsh\shell.c
+
+
msh_parse.c
1
..\..\..\components\finsh\msh_parse.c
-
- msh.c
- 1
- ..\..\..\components\finsh\msh.c
-
@@ -1164,876 +757,298 @@
1
..\..\..\src\clock.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
components.c
1
..\..\..\src\components.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
cpu_up.c
1
..\..\..\src\cpu_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
defunct.c
1
..\..\..\src\defunct.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
idle.c
1
..\..\..\src\idle.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
ipc.c
1
..\..\..\src\ipc.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
irq.c
1
..\..\..\src\irq.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
kservice.c
1
..\..\..\src\kservice.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
mem.c
1
..\..\..\src\mem.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
memheap.c
1
..\..\..\src\memheap.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
mempool.c
1
..\..\..\src\mempool.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
object.c
1
..\..\..\src\object.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
scheduler_comm.c
1
..\..\..\src\scheduler_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
scheduler_up.c
1
..\..\..\src\scheduler_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
thread.c
1
..\..\..\src\thread.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
timer.c
1
..\..\..\src\timer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
@@ -2043,32 +1058,40 @@
klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
kstdio.c
1
..\..\..\src\klibc\kstdio.c
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
kerrno.c
1
..\..\..\src\klibc\kerrno.c
-
- rt_vsnprintf_tiny.c
- 1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
+
+
kstring.c
1
..\..\..\src\klibc\kstring.c
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
-
@@ -2079,21 +1102,29 @@
1
..\..\..\libcpu\arm\common\atomic_arm.c
+
+
div0.c
1
..\..\..\libcpu\arm\common\div0.c
+
+
showmem.c
1
..\..\..\libcpu\arm\common\showmem.c
+
+
context_rvds.S
2
..\..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
cpuport.c
1
@@ -2105,150 +1136,200 @@
Libraries
- ht32f1xxxx_i2s.c
+ ht32f1xxxx_i2c.c
1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_i2s.c
-
-
- ht32f1xxxx_mctm.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_mctm.c
-
-
- ht32f1xxxx_bftm.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_bftm.c
-
-
- ht32f1xxxx_flash.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_flash.c
-
-
- ht32f1xxxx_tm.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_tm.c
-
-
- ht32f1xxxx_usbd.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_usbd.c
-
-
- ht32f1xxxx_ebi.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_ebi.c
-
-
- ht32f1xxxx_exti.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_exti.c
-
-
- ht32f1xxxx_crc.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_crc.c
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_i2c.c
+
+
ht32f1xxxx_rtc.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_rtc.c
+
+
- ht32f1xxxx_rstcu.c
+ ht32f1xxxx_usbd.c
1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_rstcu.c
-
-
- ht32f1xxxx_aes.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_aes.c
-
-
- system_ht32f1xxxx_02.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Source\system_ht32f1xxxx_02.c
-
-
- ht32f1xxxx_cmp.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_cmp.c
-
-
- ht32_cm3_misc.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32_cm3_misc.c
-
-
- ht32f1xxxx_sci.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_sci.c
-
-
- ht32f1xxxx_pwrcu.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_pwrcu.c
-
-
- ht32f1xxxx_spi.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_spi.c
-
-
- ht32f1xxxx_adc.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_adc.c
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_usbd.c
+
+
ht32f1xxxx_sdio.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_sdio.c
+
+
- ht32f1xxxx_usart.c
+ ht32f1xxxx_pwrcu.c
1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_usart.c
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_pwrcu.c
+
+
- ht32f1xxxx_ckcu.c
+ ht32f1xxxx_adc.c
1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_ckcu.c
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_adc.c
+
+
- ht32f1xxxx_gpio.c
+ ht32_cm3_misc.c
1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_gpio.c
-
-
- ht32f1xxxx_pdma.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_pdma.c
-
-
- ht32f2xxxx_csif.c
- 1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f2xxxx_csif.c
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32_cm3_misc.c
+
+
ht32f1xxxx_wdt.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_wdt.c
+
+
- ht32f1xxxx_i2c.c
+ ht32f1xxxx_ebi.c
1
- ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_i2c.c
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_ebi.c
+
+
+
+
+ ht32f1xxxx_flash.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_flash.c
+
+
+
+
+ ht32f1xxxx_aes.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_aes.c
+
+
+
+
+ ht32f1xxxx_exti.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_exti.c
+
+
+
+
+ system_ht32f1xxxx_02.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Source\system_ht32f1xxxx_02.c
+
+
+
+
+ ht32f1xxxx_pdma.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_pdma.c
+
+
+
+
+ ht32f2xxxx_csif.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f2xxxx_csif.c
+
+
+
+
+ ht32f1xxxx_usart.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_usart.c
+
+
+
+
+ ht32f1xxxx_ckcu.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_ckcu.c
+
+
+
+
+ ht32f1xxxx_gpio.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_gpio.c
+
+
+
+
+ ht32f1xxxx_bftm.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_bftm.c
+
+
+
+
+ ht32f1xxxx_mctm.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_mctm.c
+
+
+
+
+ ht32f1xxxx_sci.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_sci.c
+
+
+
+
+ ht32f1xxxx_cmp.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_cmp.c
+
+
+
+
+ ht32f1xxxx_tm.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_tm.c
+
+
+
+
+ ht32f1xxxx_i2s.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_i2s.c
+
+
+
+
+ ht32f1xxxx_rstcu.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_rstcu.c
+
+
+
+
+ ht32f1xxxx_spi.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_spi.c
+
+
+
+
+ ht32f1xxxx_crc.c
+ 1
+ ..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_crc.c
-
-
-
-
+
+
+
-
diff --git a/bsp/ht32/ht32f52352/project.uvoptx b/bsp/ht32/ht32f52352/project.uvoptx
index 50637f5197..eaed3566ca 100644
--- a/bsp/ht32/ht32f52352/project.uvoptx
+++ b/bsp/ht32/ht32f52352/project.uvoptx
@@ -73,7 +73,7 @@
0
- 0
+ 1
0
1
@@ -169,1035 +169,11 @@
- Applications
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Compiler
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\syscall_mem.c
- syscall_mem.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\syscalls.c
- syscalls.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cctype.c
- cctype.c
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cstdlib.c
- cstdlib.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cstring.c
- cstring.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\ctime.c
- ctime.c
- 0
- 0
-
-
- 2
- 8
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cunistd.c
- cunistd.c
- 0
- 0
-
-
- 2
- 9
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cwchar.c
- cwchar.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\core\device.c
- device.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\completion_comm.c
- completion_comm.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\completion_up.c
- completion_up.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\condvar.c
- condvar.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\pipe.c
- pipe.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\workqueue.c
- workqueue.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\pin\dev_pin.c
- dev_pin.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\dev_serial.c
- dev_serial.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- board\src\board.c
- board.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- board\src\ht32_msp.c
- ht32_msp.c
- 0
- 0
-
-
- 4
- 24
- 2
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\ARM\startup_ht32f5xxxx_01.s
- startup_ht32f5xxxx_01.s
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
-
-
- Finsh
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_parse.c
- msh_parse.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 6
- 32
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 6
- 33
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 6
- 34
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu_up.c
- cpu_up.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- ..\..\..\src\defunct.c
- defunct.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\src\memheap.c
- memheap.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 6
- 43
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 6
- 44
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler_comm.c
- scheduler_comm.c
- 0
- 0
-
-
- 6
- 45
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler_up.c
- scheduler_up.c
- 0
- 0
-
-
- 6
- 46
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 6
- 47
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- klibc
- 0
- 0
- 0
- 0
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
- rt_vsnprintf_tiny.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kstdio.c
- kstdio.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kerrno.c
- kerrno.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kstring.c
- kstring.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\rt_vsscanf.c
- rt_vsscanf.c
- 0
- 0
-
-
-
-
- libcpu
- 0
- 0
- 0
- 0
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 8
- 55
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m0\cpuport.c
- cpuport.c
- 0
- 0
-
-
-
-
- Libraries
- 0
- 0
- 0
- 0
-
- 9
- 57
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ckcu.c
- ht32f5xxxx_ckcu.c
- 0
- 0
-
-
- 9
- 58
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pwrcu.c
- ht32f5xxxx_pwrcu.c
- 0
- 0
-
-
- 9
- 59
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_wdt.c
- ht32f5xxxx_wdt.c
- 0
- 0
-
-
- 9
- 60
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_mctm.c
- ht32f5xxxx_mctm.c
- 0
- 0
-
-
- 9
- 61
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usart.c
- ht32f5xxxx_usart.c
- 0
- 0
-
-
- 9
- 62
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ebi.c
- ht32f5xxxx_ebi.c
- 0
- 0
-
-
- 9
- 63
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_exti.c
- ht32f5xxxx_exti.c
- 0
- 0
-
-
- 9
- 64
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_crc.c
- ht32f5xxxx_crc.c
- 0
- 0
-
-
- 9
- 65
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_spi.c
- ht32f5xxxx_spi.c
- 0
- 0
-
-
- 9
- 66
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_sci.c
- ht32f5xxxx_sci.c
- 0
- 0
-
-
- 9
- 67
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2c.c
- ht32f5xxxx_i2c.c
- 0
- 0
-
-
- 9
- 68
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_tm.c
- ht32f5xxxx_tm.c
- 0
- 0
-
-
- 9
- 69
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pdma.c
- ht32f5xxxx_pdma.c
- 0
- 0
-
-
- 9
- 70
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_adc.c
- ht32f5xxxx_adc.c
- 0
- 0
-
-
- 9
- 71
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usbd.c
- ht32f5xxxx_usbd.c
- 0
- 0
-
-
- 9
- 72
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\system_ht32f5xxxx_01.c
- system_ht32f5xxxx_01.c
- 0
- 0
-
-
- 9
- 73
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rstcu.c
- ht32f5xxxx_rstcu.c
- 0
- 0
-
-
- 9
- 74
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_flash.c
- ht32f5xxxx_flash.c
- 0
- 0
-
-
- 9
- 75
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_gpio.c
- ht32f5xxxx_gpio.c
- 0
- 0
-
-
- 9
- 76
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32_cm0plus_misc.c
- ht32_cm0plus_misc.c
- 0
- 0
-
-
- 9
- 77
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_bftm.c
- ht32f5xxxx_bftm.c
- 0
- 0
-
-
- 9
- 78
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2s.c
- ht32f5xxxx_i2s.c
- 0
- 0
-
-
- 9
- 79
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rtc.c
- ht32f5xxxx_rtc.c
- 0
- 0
-
-
- 9
- 80
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_cmp.c
- ht32f5xxxx_cmp.c
- 0
- 0
-
diff --git a/bsp/ht32/ht32f52352/project.uvprojx b/bsp/ht32/ht32f52352/project.uvprojx
index 8f9e53c870..a2b79ed2cd 100644
--- a/bsp/ht32/ht32f52352/project.uvprojx
+++ b/bsp/ht32/ht32f52352/project.uvprojx
@@ -1,10 +1,7 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
@@ -18,28 +15,28 @@
Holtek.HT32_DFP.1.0.55
https://mcu.holtek.com.tw/pack
IRAM(0x20000000,0x4000) IROM(0x00000000,0x1FE00) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE
-
-
+
+
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN2 -FF0HT32F -FS00 -FL0100000 -FF1HT32F_OPT -FS11FF00000 -FL11000 -FP0($$Device:HT32F52352$ARM\Flash\HT32F.FLM) -FP1($$Device:HT32F52352$ARM\Flash\HT32F_OPT.FLM))
0
$$Device:HT32F52352$ARM\INC\Holtek\HT32F5xxxx\ht32f5xxxx_01.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
$$Device:HT32F52352$SVD\HT32F52342_52.svd
0
0
-
-
-
-
-
+
+
+
+
+
0
0
@@ -61,8 +58,8 @@
0
0
-
-
+
+
0
0
0
@@ -71,8 +68,8 @@
0
0
-
-
+
+
0
0
0
@@ -81,15 +78,15 @@
0
0
-
-
+
+
0
0
0
0
0
-
+
0
@@ -103,8 +100,8 @@
0
0
3
-
-
+
+
1
@@ -137,11 +134,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -174,7 +171,7 @@
0
0
"Cortex-M0+"
-
+
0
0
0
@@ -306,7 +303,7 @@
0x0
-
+
1
@@ -333,9 +330,9 @@
0
--gnu
- RT_USING_LIBC, RT_USING_ARMLIBC, __RTTHREAD__, USE_HT32F52352_SK, USE_HT32F52342_52, USE_MEM_HT32F52352, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS, USE_HT32_DRIVER
-
- ..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\inc;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\libc\posix\ipc;..\libraries\ht32_drivers;..\..\..\components\libc\posix\io\poll;..\libraries\usbd_library\inc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;.;..\..\..\components\drivers\phy;board\inc;..\..\..\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\finsh;applications;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\HT32_STD_5xxxx_FWLib\library\CMSIS\Include;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\io\eventfd;..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Include
+ RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, USE_HT32_DRIVER, USE_HT32F52352_SK, USE_HT32F52342_52, USE_MEM_HT32F52352, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS
+
+ applications;..\..\..\components\libc\posix\io\poll;board\inc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\smp_call;..\..\..\components\finsh;..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\inc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\epoll;..\libraries\HT32_STD_5xxxx_FWLib\library\CMSIS\Include;..\..\..\include;..\libraries\ht32_drivers;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\libc\compilers\common\include;..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;.
@@ -350,10 +347,10 @@
0
0
-
+
USE_HT32_CHIP=4
-
-
+
+
@@ -365,13 +362,13 @@
0
0x00000000
0x20000000
-
+
.\board\linker_scripts\link.sct
-
-
-
-
-
+
+
+
+
+
@@ -394,36 +391,50 @@
1
..\..\..\components\libc\compilers\armlibc\syscall_mem.c
+
+
syscalls.c
1
..\..\..\components\libc\compilers\armlibc\syscalls.c
+
+
cctype.c
1
..\..\..\components\libc\compilers\common\cctype.c
+
+
cstdlib.c
1
..\..\..\components\libc\compilers\common\cstdlib.c
+
+
cstring.c
1
..\..\..\components\libc\compilers\common\cstring.c
+
+
ctime.c
1
..\..\..\components\libc\compilers\common\ctime.c
+
+
cunistd.c
1
..\..\..\components\libc\compilers\common\cunistd.c
+
+
cwchar.c
1
@@ -439,656 +450,222 @@
1
..\..\..\components\drivers\core\device.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
completion_comm.c
1
..\..\..\components\drivers\ipc\completion_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
completion_up.c
1
..\..\..\components\drivers\ipc\completion_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
condvar.c
1
..\..\..\components\drivers\ipc\condvar.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dataqueue.c
1
..\..\..\components\drivers\ipc\dataqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
pipe.c
1
..\..\..\components\drivers\ipc\pipe.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
ringblk_buf.c
1
..\..\..\components\drivers\ipc\ringblk_buf.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
ringbuffer.c
1
..\..\..\components\drivers\ipc\ringbuffer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
waitqueue.c
1
..\..\..\components\drivers\ipc\waitqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
workqueue.c
1
..\..\..\components\drivers\ipc\workqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dev_pin.c
1
..\..\..\components\drivers\pin\dev_pin.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dev_serial.c
1
..\..\..\components\drivers\serial\dev_serial.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
@@ -1104,26 +681,36 @@
1
board\src\board.c
+
+
ht32_msp.c
1
board\src\ht32_msp.c
+
+
startup_ht32f5xxxx_01.s
2
..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\ARM\startup_ht32f5xxxx_01.s
+
+
drv_common.c
1
..\libraries\ht32_drivers\drv_common.c
+
+
drv_gpio.c
1
..\libraries\ht32_drivers\drv_gpio.c
+
+
drv_usart.c
1
@@ -1139,22 +726,28 @@
1
..\..\..\components\finsh\msh.c
+
+
cmd.c
1
..\..\..\components\finsh\cmd.c
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
-
+
+
shell.c
1
..\..\..\components\finsh\shell.c
+
+
+ msh_parse.c
+ 1
+ ..\..\..\components\finsh\msh_parse.c
+
+
Kernel
@@ -1164,876 +757,298 @@
1
..\..\..\src\clock.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
components.c
1
..\..\..\src\components.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
cpu_up.c
1
..\..\..\src\cpu_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
defunct.c
1
..\..\..\src\defunct.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
idle.c
1
..\..\..\src\idle.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
ipc.c
1
..\..\..\src\ipc.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
irq.c
1
..\..\..\src\irq.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
kservice.c
1
..\..\..\src\kservice.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
mem.c
1
..\..\..\src\mem.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
memheap.c
1
..\..\..\src\memheap.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
mempool.c
1
..\..\..\src\mempool.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
object.c
1
..\..\..\src\object.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
scheduler_comm.c
1
..\..\..\src\scheduler_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
scheduler_up.c
1
..\..\..\src\scheduler_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
thread.c
1
..\..\..\src\thread.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
timer.c
1
..\..\..\src\timer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
@@ -2043,31 +1058,39 @@
klibc
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
rt_vsnprintf_tiny.c
1
..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
- kstdio.c
- 1
- ..\..\..\src\klibc\kstdio.c
-
+
+
kerrno.c
1
..\..\..\src\klibc\kerrno.c
+
+
- kstring.c
+ kstdio.c
1
- ..\..\..\src\klibc\kstring.c
-
-
- rt_vsscanf.c
- 1
- ..\..\..\src\klibc\rt_vsscanf.c
+ ..\..\..\src\klibc\kstdio.c
@@ -2079,16 +1102,22 @@
1
..\..\..\libcpu\arm\common\div0.c
+
+
showmem.c
1
..\..\..\libcpu\arm\common\showmem.c
+
+
context_rvds.S
2
..\..\..\libcpu\arm\cortex-m0\context_rvds.S
+
+
cpuport.c
1
@@ -2100,135 +1129,179 @@
Libraries
- ht32f5xxxx_ckcu.c
+ ht32f5xxxx_usbd.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ckcu.c
-
-
- ht32f5xxxx_pwrcu.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pwrcu.c
-
-
- ht32f5xxxx_wdt.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_wdt.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usbd.c
+
+
ht32f5xxxx_mctm.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_mctm.c
+
+
- ht32f5xxxx_usart.c
+ ht32f5xxxx_wdt.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usart.c
-
-
- ht32f5xxxx_ebi.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ebi.c
-
-
- ht32f5xxxx_exti.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_exti.c
-
-
- ht32f5xxxx_crc.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_crc.c
-
-
- ht32f5xxxx_spi.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_spi.c
-
-
- ht32f5xxxx_sci.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_sci.c
-
-
- ht32f5xxxx_i2c.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2c.c
-
-
- ht32f5xxxx_tm.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_tm.c
-
-
- ht32f5xxxx_pdma.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pdma.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_wdt.c
+
+
ht32f5xxxx_adc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_adc.c
-
- ht32f5xxxx_usbd.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usbd.c
-
-
- system_ht32f5xxxx_01.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\system_ht32f5xxxx_01.c
-
+
+
ht32f5xxxx_rstcu.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rstcu.c
-
- ht32f5xxxx_flash.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_flash.c
-
+
+
ht32f5xxxx_gpio.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_gpio.c
+
+
- ht32_cm0plus_misc.c
+ ht32f5xxxx_i2c.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32_cm0plus_misc.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2c.c
+
+
- ht32f5xxxx_bftm.c
+ ht32f5xxxx_spi.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_bftm.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_spi.c
+
+
- ht32f5xxxx_i2s.c
+ ht32f5xxxx_tm.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2s.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_tm.c
+
+
+
+ ht32f5xxxx_flash.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_flash.c
+
+
+
ht32f5xxxx_rtc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rtc.c
+
+
ht32f5xxxx_cmp.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_cmp.c
+
+
+ ht32f5xxxx_pwrcu.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pwrcu.c
+
+
+
+
+ ht32f5xxxx_sci.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_sci.c
+
+
+
+
+ ht32f5xxxx_exti.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_exti.c
+
+
+
+
+ ht32f5xxxx_i2s.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2s.c
+
+
+
+
+ ht32f5xxxx_crc.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_crc.c
+
+
+
+
+ ht32f5xxxx_usart.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usart.c
+
+
+
+
+ system_ht32f5xxxx_01.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\system_ht32f5xxxx_01.c
+
+
+
+
+ ht32_cm0plus_misc.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32_cm0plus_misc.c
+
+
+
+
+ ht32f5xxxx_pdma.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pdma.c
+
+
+
+
+ ht32f5xxxx_bftm.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_bftm.c
+
+
+
+
+ ht32f5xxxx_ckcu.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ckcu.c
+
+
+
+
+ ht32f5xxxx_ebi.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ebi.c
+
+
-
-
-
-
+
+
+
-
diff --git a/bsp/ht32/ht32f53252/project.uvoptx b/bsp/ht32/ht32f53252/project.uvoptx
index 454293cb52..dd685d044b 100644
--- a/bsp/ht32/ht32f53252/project.uvoptx
+++ b/bsp/ht32/ht32f53252/project.uvoptx
@@ -73,7 +73,7 @@
0
- 0
+ 1
0
1
@@ -169,1035 +169,11 @@
- Applications
+ Source Group 1
0
0
0
0
-
- 1
- 1
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
-
-
- Compiler
- 0
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\syscall_mem.c
- syscall_mem.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\armlibc\syscalls.c
- syscalls.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cctype.c
- cctype.c
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cstdlib.c
- cstdlib.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cstring.c
- cstring.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\ctime.c
- ctime.c
- 0
- 0
-
-
- 2
- 8
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cunistd.c
- cunistd.c
- 0
- 0
-
-
- 2
- 9
- 1
- 0
- 0
- 0
- ..\..\..\components\libc\compilers\common\cwchar.c
- cwchar.c
- 0
- 0
-
-
-
-
- DeviceDrivers
- 0
- 0
- 0
- 0
-
- 3
- 10
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\core\device.c
- device.c
- 0
- 0
-
-
- 3
- 11
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\completion_comm.c
- completion_comm.c
- 0
- 0
-
-
- 3
- 12
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\completion_up.c
- completion_up.c
- 0
- 0
-
-
- 3
- 13
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\condvar.c
- condvar.c
- 0
- 0
-
-
- 3
- 14
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\dataqueue.c
- dataqueue.c
- 0
- 0
-
-
- 3
- 15
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\pipe.c
- pipe.c
- 0
- 0
-
-
- 3
- 16
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\ringblk_buf.c
- ringblk_buf.c
- 0
- 0
-
-
- 3
- 17
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\ringbuffer.c
- ringbuffer.c
- 0
- 0
-
-
- 3
- 18
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\waitqueue.c
- waitqueue.c
- 0
- 0
-
-
- 3
- 19
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\ipc\workqueue.c
- workqueue.c
- 0
- 0
-
-
- 3
- 20
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\pin\dev_pin.c
- dev_pin.c
- 0
- 0
-
-
- 3
- 21
- 1
- 0
- 0
- 0
- ..\..\..\components\drivers\serial\dev_serial.c
- dev_serial.c
- 0
- 0
-
-
-
-
- Drivers
- 0
- 0
- 0
- 0
-
- 4
- 22
- 1
- 0
- 0
- 0
- board\src\board.c
- board.c
- 0
- 0
-
-
- 4
- 23
- 1
- 0
- 0
- 0
- board\src\ht32_msp.c
- ht32_msp.c
- 0
- 0
-
-
- 4
- 24
- 2
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\ARM\startup_ht32f5xxxx_15.s
- startup_ht32f5xxxx_15.s
- 0
- 0
-
-
- 4
- 25
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_common.c
- drv_common.c
- 0
- 0
-
-
- 4
- 26
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
- 4
- 27
- 1
- 0
- 0
- 0
- ..\libraries\ht32_drivers\drv_usart.c
- drv_usart.c
- 0
- 0
-
-
-
-
- Finsh
- 0
- 0
- 0
- 0
-
- 5
- 28
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh_parse.c
- msh_parse.c
- 0
- 0
-
-
- 5
- 29
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\cmd.c
- cmd.c
- 0
- 0
-
-
- 5
- 30
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\msh.c
- msh.c
- 0
- 0
-
-
- 5
- 31
- 1
- 0
- 0
- 0
- ..\..\..\components\finsh\shell.c
- shell.c
- 0
- 0
-
-
-
-
- Kernel
- 0
- 0
- 0
- 0
-
- 6
- 32
- 1
- 0
- 0
- 0
- ..\..\..\src\clock.c
- clock.c
- 0
- 0
-
-
- 6
- 33
- 1
- 0
- 0
- 0
- ..\..\..\src\components.c
- components.c
- 0
- 0
-
-
- 6
- 34
- 1
- 0
- 0
- 0
- ..\..\..\src\cpu_up.c
- cpu_up.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- ..\..\..\src\defunct.c
- defunct.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- ..\..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 6
- 38
- 1
- 0
- 0
- 0
- ..\..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 6
- 39
- 1
- 0
- 0
- 0
- ..\..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 6
- 40
- 1
- 0
- 0
- 0
- ..\..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 6
- 41
- 1
- 0
- 0
- 0
- ..\..\..\src\memheap.c
- memheap.c
- 0
- 0
-
-
- 6
- 42
- 1
- 0
- 0
- 0
- ..\..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 6
- 43
- 1
- 0
- 0
- 0
- ..\..\..\src\object.c
- object.c
- 0
- 0
-
-
- 6
- 44
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler_comm.c
- scheduler_comm.c
- 0
- 0
-
-
- 6
- 45
- 1
- 0
- 0
- 0
- ..\..\..\src\scheduler_up.c
- scheduler_up.c
- 0
- 0
-
-
- 6
- 46
- 1
- 0
- 0
- 0
- ..\..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 6
- 47
- 1
- 0
- 0
- 0
- ..\..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- klibc
- 0
- 0
- 0
- 0
-
- 7
- 48
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kstring.c
- kstring.c
- 0
- 0
-
-
- 7
- 49
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kstdio.c
- kstdio.c
- 0
- 0
-
-
- 7
- 50
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
- rt_vsnprintf_tiny.c
- 0
- 0
-
-
- 7
- 51
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\kerrno.c
- kerrno.c
- 0
- 0
-
-
- 7
- 52
- 1
- 0
- 0
- 0
- ..\..\..\src\klibc\rt_vsscanf.c
- rt_vsscanf.c
- 0
- 0
-
-
-
-
- libcpu
- 0
- 0
- 0
- 0
-
- 8
- 53
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\div0.c
- div0.c
- 0
- 0
-
-
- 8
- 54
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\common\showmem.c
- showmem.c
- 0
- 0
-
-
- 8
- 55
- 2
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m0\context_rvds.S
- context_rvds.S
- 0
- 0
-
-
- 8
- 56
- 1
- 0
- 0
- 0
- ..\..\..\libcpu\arm\cortex-m0\cpuport.c
- cpuport.c
- 0
- 0
-
-
-
-
- Libraries
- 0
- 0
- 0
- 0
-
- 9
- 57
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_gpio.c
- ht32f5xxxx_gpio.c
- 0
- 0
-
-
- 9
- 58
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32_cm0plus_misc.c
- ht32_cm0plus_misc.c
- 0
- 0
-
-
- 9
- 59
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ledc.c
- ht32f5xxxx_ledc.c
- 0
- 0
-
-
- 9
- 60
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_tm.c
- ht32f5xxxx_tm.c
- 0
- 0
-
-
- 9
- 61
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_wdt.c
- ht32f5xxxx_wdt.c
- 0
- 0
-
-
- 9
- 62
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_bftm.c
- ht32f5xxxx_bftm.c
- 0
- 0
-
-
- 9
- 63
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usart.c
- ht32f5xxxx_usart.c
- 0
- 0
-
-
- 9
- 64
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_flash.c
- ht32f5xxxx_flash.c
- 0
- 0
-
-
- 9
- 65
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ebi.c
- ht32f5xxxx_ebi.c
- 0
- 0
-
-
- 9
- 66
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ckcu.c
- ht32f5xxxx_ckcu.c
- 0
- 0
-
-
- 9
- 67
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_div.c
- ht32f5xxxx_div.c
- 0
- 0
-
-
- 9
- 68
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pwrcu.c
- ht32f5xxxx_pwrcu.c
- 0
- 0
-
-
- 9
- 69
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2c.c
- ht32f5xxxx_i2c.c
- 0
- 0
-
-
- 9
- 70
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_cmp.c
- ht32f5xxxx_cmp.c
- 0
- 0
-
-
- 9
- 71
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pdma.c
- ht32f5xxxx_pdma.c
- 0
- 0
-
-
- 9
- 72
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_can.c
- ht32f5xxxx_can.c
- 0
- 0
-
-
- 9
- 73
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_crc.c
- ht32f5xxxx_crc.c
- 0
- 0
-
-
- 9
- 74
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rtc.c
- ht32f5xxxx_rtc.c
- 0
- 0
-
-
- 9
- 75
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_mctm.c
- ht32f5xxxx_mctm.c
- 0
- 0
-
-
- 9
- 76
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_adc.c
- ht32f5xxxx_adc.c
- 0
- 0
-
-
- 9
- 77
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\system_ht32f5xxxx_15.c
- system_ht32f5xxxx_15.c
- 0
- 0
-
-
- 9
- 78
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_exti.c
- ht32f5xxxx_exti.c
- 0
- 0
-
-
- 9
- 79
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rstcu.c
- ht32f5xxxx_rstcu.c
- 0
- 0
-
-
- 9
- 80
- 1
- 0
- 0
- 0
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_spi.c
- ht32f5xxxx_spi.c
- 0
- 0
-
diff --git a/bsp/ht32/ht32f53252/project.uvprojx b/bsp/ht32/ht32f53252/project.uvprojx
index 4f6e9268d3..a2cd1e5eb5 100644
--- a/bsp/ht32/ht32f53252/project.uvprojx
+++ b/bsp/ht32/ht32f53252/project.uvprojx
@@ -1,16 +1,12 @@
-
2.1
-
### uVision Project, (C) Keil Software
-
rt-thread
0x4
ARM-ADS
- 5060422::V5.06 update 4 (build 422)::ARMCC
HT32F53252
@@ -18,26 +14,26 @@
Holtek.HT32_DFP.1.0.55
https://mcu.holtek.com.tw/pack
IRAM(0x20000000-0x20003FFF) IROM(0x00000000-0x0001FBFF) CLOCK(8000000) CPUTYPE("Cortex-M0+")
-
+
"STARTUP\Holtek\HT32F5xxxx\startup_ht32f53242_52.s" ("Holtek HT32F5xxxx Startup Code")
UL2CM3(-O142 -S0 -C0 -FO7 -FD20000000 -FC800 -FN2 -FF0HT32F -FS00 -FL01FC00 -FF1HT32F_OPT -FS11FF00000 -FL1400)
0
HT32F5xxxx_01.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
SFD\Holtek\HT32F5xxxx\HT32F53242_52.SFR
0
0
-
-
-
+
+
+
Holtek\HT32F5xxxx\
Holtek\HT32F5xxxx\
@@ -61,8 +57,8 @@
0
0
-
-
+
+
0
0
0
@@ -71,8 +67,8 @@
0
0
-
-
+
+
0
0
0
@@ -81,15 +77,15 @@
0
0
-
-
+
+
0
0
0
0
0
-
+
0
@@ -103,17 +99,17 @@
0
0
3
-
-
+
+
1
SARMCM3.DLL
-
+
DARMCM1.DLL
-pCM0+
SARMCM3.DLL
-
+
TARMCM1.DLL
-pCM0+
@@ -137,11 +133,11 @@
1
BIN\UL2CM3.DLL
-
-
-
-
-
+
+
+
+
+
0
@@ -174,7 +170,7 @@
0
0
"Cortex-M0+"
-
+
0
0
0
@@ -306,7 +302,7 @@
0x0
-
+
1
@@ -333,9 +329,9 @@
0
--gnu
- __CLK_TCK=RT_TICK_PER_SECOND, USE_HT32_DRIVER, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, USE_HT32F53252_SK, USE_HT32F53242_52, USE_MEM_HT32F53252, __RTTHREAD__, RT_USING_LIBC
-
- ..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\HT32_STD_5xxxx_FWLib\library\CMSIS\Include;..\..\..\components\drivers\phy;..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Include;..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\finsh;board\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\libraries\ht32_drivers;applications;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\libc\compilers\common\extension;..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\inc;..\..\..\include
+ RT_USING_ARMLIBC, RT_USING_LIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, USE_HT32_DRIVER, USE_HT32F53252_SK, USE_HT32F53242_52, USE_MEM_HT32F53252
+
+ applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\phy;.;..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\inc;..\libraries\HT32_STD_5xxxx_FWLib\library\CMSIS\Include;..\..\..\components\libc\posix\io\eventfd;..\libraries\usbd_library\inc;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\include;..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Include;..\..\..\components\finsh;board\inc;..\..\..\libcpu\arm\common;..\libraries\ht32_drivers;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call
@@ -350,10 +346,10 @@
0
0
-
+
USE_HT32_CHIP=28
-
-
+
+
@@ -365,13 +361,13 @@
0
0x00000000
0x20000000
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -394,36 +390,50 @@
1
..\..\..\components\libc\compilers\armlibc\syscall_mem.c
+
+
syscalls.c
1
..\..\..\components\libc\compilers\armlibc\syscalls.c
+
+
cctype.c
1
..\..\..\components\libc\compilers\common\cctype.c
+
+
cstdlib.c
1
..\..\..\components\libc\compilers\common\cstdlib.c
+
+
cstring.c
1
..\..\..\components\libc\compilers\common\cstring.c
+
+
ctime.c
1
..\..\..\components\libc\compilers\common\ctime.c
+
+
cunistd.c
1
..\..\..\components\libc\compilers\common\cunistd.c
+
+
cwchar.c
1
@@ -439,656 +449,222 @@
1
..\..\..\components\drivers\core\device.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
completion_comm.c
1
..\..\..\components\drivers\ipc\completion_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
completion_up.c
1
..\..\..\components\drivers\ipc\completion_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
condvar.c
1
..\..\..\components\drivers\ipc\condvar.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dataqueue.c
1
..\..\..\components\drivers\ipc\dataqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
pipe.c
1
..\..\..\components\drivers\ipc\pipe.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
ringblk_buf.c
1
..\..\..\components\drivers\ipc\ringblk_buf.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
ringbuffer.c
1
..\..\..\components\drivers\ipc\ringbuffer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
waitqueue.c
1
..\..\..\components\drivers\ipc\waitqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
workqueue.c
1
..\..\..\components\drivers\ipc\workqueue.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dev_pin.c
1
..\..\..\components\drivers\pin\dev_pin.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
+
+
dev_serial.c
1
..\..\..\components\drivers\serial\dev_serial.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_IPC_SOURCE__
-
+
@@ -1104,26 +680,36 @@
1
board\src\board.c
+
+
ht32_msp.c
1
board\src\ht32_msp.c
+
+
startup_ht32f5xxxx_15.s
2
..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\ARM\startup_ht32f5xxxx_15.s
+
+
drv_common.c
1
..\libraries\ht32_drivers\drv_common.c
+
+
drv_gpio.c
1
..\libraries\ht32_drivers\drv_gpio.c
+
+
drv_usart.c
1
@@ -1134,21 +720,27 @@
Finsh
-
- msh_parse.c
- 1
- ..\..\..\components\finsh\msh_parse.c
-
cmd.c
1
..\..\..\components\finsh\cmd.c
+
+
msh.c
1
..\..\..\components\finsh\msh.c
+
+
+
+ msh_parse.c
+ 1
+ ..\..\..\components\finsh\msh_parse.c
+
+
+
shell.c
1
@@ -1164,876 +756,298 @@
1
..\..\..\src\clock.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
components.c
1
..\..\..\src\components.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
cpu_up.c
1
..\..\..\src\cpu_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
defunct.c
1
..\..\..\src\defunct.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
idle.c
1
..\..\..\src\idle.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
ipc.c
1
..\..\..\src\ipc.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
irq.c
1
..\..\..\src\irq.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
kservice.c
1
..\..\..\src\kservice.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
mem.c
1
..\..\..\src\mem.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
memheap.c
1
..\..\..\src\memheap.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
mempool.c
1
..\..\..\src\mempool.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
object.c
1
..\..\..\src\object.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
scheduler_comm.c
1
..\..\..\src\scheduler_comm.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
scheduler_up.c
1
..\..\..\src\scheduler_up.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
thread.c
1
..\..\..\src\thread.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
+
+
timer.c
1
..\..\..\src\timer.c
-
- 2
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 3
-
-
- 1
-
- 2
- 0
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 2
- 0
- 2
- 2
- 2
- 2
- 0
- 0
- 2
- 2
- 2
- 2
- 2
__RT_KERNEL_SOURCE__
-
+
@@ -2045,31 +1059,39 @@
klibc
- kstring.c
+ rt_vsnprintf_tiny.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
kstdio.c
1
..\..\..\src\klibc\kstdio.c
-
- rt_vsnprintf_tiny.c
- 1
- ..\..\..\src\klibc\rt_vsnprintf_tiny.c
-
-
- kerrno.c
- 1
- ..\..\..\src\klibc\kerrno.c
-
+
+
rt_vsscanf.c
1
..\..\..\src\klibc\rt_vsscanf.c
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
libcpu
@@ -2079,16 +1101,22 @@
1
..\..\..\libcpu\arm\common\div0.c
+
+
showmem.c
1
..\..\..\libcpu\arm\common\showmem.c
+
+
context_rvds.S
2
..\..\..\libcpu\arm\cortex-m0\context_rvds.S
+
+
cpuport.c
1
@@ -2100,135 +1128,179 @@
Libraries
- ht32f5xxxx_gpio.c
+ ht32f5xxxx_rstcu.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_gpio.c
-
-
- ht32_cm0plus_misc.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32_cm0plus_misc.c
-
-
- ht32f5xxxx_ledc.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ledc.c
-
-
- ht32f5xxxx_tm.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_tm.c
-
-
- ht32f5xxxx_wdt.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_wdt.c
-
-
- ht32f5xxxx_bftm.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_bftm.c
-
-
- ht32f5xxxx_usart.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usart.c
-
-
- ht32f5xxxx_flash.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_flash.c
-
-
- ht32f5xxxx_ebi.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ebi.c
-
-
- ht32f5xxxx_ckcu.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ckcu.c
-
-
- ht32f5xxxx_div.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_div.c
-
-
- ht32f5xxxx_pwrcu.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pwrcu.c
-
-
- ht32f5xxxx_i2c.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2c.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rstcu.c
+
+
ht32f5xxxx_cmp.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_cmp.c
+
+
- ht32f5xxxx_pdma.c
+ ht32f5xxxx_flash.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pdma.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_flash.c
+
+
- ht32f5xxxx_can.c
+ ht32_cm0plus_misc.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_can.c
-
-
- ht32f5xxxx_crc.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_crc.c
-
-
- ht32f5xxxx_rtc.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rtc.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32_cm0plus_misc.c
+
+
ht32f5xxxx_mctm.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_mctm.c
+
+
ht32f5xxxx_adc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_adc.c
+
+
- system_ht32f5xxxx_15.c
+ ht32f5xxxx_pwrcu.c
1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\system_ht32f5xxxx_15.c
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pwrcu.c
+
+
+
+ ht32f5xxxx_usart.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usart.c
+
+
+
+
+ ht32f5xxxx_gpio.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_gpio.c
+
+
+
+
+ ht32f5xxxx_wdt.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_wdt.c
+
+
+
+
+ ht32f5xxxx_rtc.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rtc.c
+
+
+
ht32f5xxxx_exti.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_exti.c
-
- ht32f5xxxx_rstcu.c
- 1
- ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rstcu.c
-
+
+
ht32f5xxxx_spi.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_spi.c
+
+
+ ht32f5xxxx_i2c.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2c.c
+
+
+
+
+ ht32f5xxxx_ledc.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ledc.c
+
+
+
+
+ ht32f5xxxx_tm.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_tm.c
+
+
+
+
+ ht32f5xxxx_div.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_div.c
+
+
+
+
+ ht32f5xxxx_ckcu.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ckcu.c
+
+
+
+
+ ht32f5xxxx_can.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_can.c
+
+
+
+
+ ht32f5xxxx_bftm.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_bftm.c
+
+
+
+
+ system_ht32f5xxxx_15.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\system_ht32f5xxxx_15.c
+
+
+
+
+ ht32f5xxxx_pdma.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pdma.c
+
+
+
+
+ ht32f5xxxx_crc.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_crc.c
+
+
+
+
+ ht32f5xxxx_ebi.c
+ 1
+ ..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ebi.c
+
+
-
-
-
-
+
+
+
-
diff --git a/bsp/lm3s8962/project.Uv2 b/bsp/lm3s8962/project.Uv2
index ac81e8bde6..e69de29bb2 100644
--- a/bsp/lm3s8962/project.Uv2
+++ b/bsp/lm3s8962/project.Uv2
@@ -1,240 +0,0 @@
-### uVision2 Project, (C) Keil Software
-### Do not modify !
-
-Target (RT-Thread-lm3s), 0x0004 // Tools: 'ARM-ADS'
-
-Group (Applications)
-Group (Compiler)
-Group (DeviceDrivers)
-Group (Drivers)
-Group (Filesystem)
-Group (Finsh)
-Group (Kernel)
-Group (libcpu)
-Group (Libraries)
-Group (lwIP)
-Group (POSIX)
-
-File 1,1,
-File 1,1,
-File 2,1,<..\..\components\libc\compilers\armlibc\syscall_mem.c>
-File 2,1,<..\..\components\libc\compilers\armlibc\syscalls.c>
-File 2,1,<..\..\components\libc\compilers\common\cctype.c>
-File 2,1,<..\..\components\libc\compilers\common\cstdlib.c>
-File 2,1,<..\..\components\libc\compilers\common\cstring.c>
-File 2,1,<..\..\components\libc\compilers\common\ctime.c>
-File 2,1,<..\..\components\libc\compilers\common\cunistd.c>
-File 2,1,<..\..\components\libc\compilers\common\cwchar.c>
-File 3,1,<..\..\components\drivers\core\device.c>
-File 3,1,<..\..\components\drivers\ipc\completion.c>
-File 3,1,<..\..\components\drivers\ipc\dataqueue.c>
-File 3,1,<..\..\components\drivers\ipc\pipe.c>
-File 3,1,<..\..\components\drivers\ipc\ringblk_buf.c>
-File 3,1,<..\..\components\drivers\ipc\ringbuffer.c>
-File 3,1,<..\..\components\drivers\ipc\waitqueue.c>
-File 3,1,<..\..\components\drivers\ipc\workqueue.c>
-File 3,1,<..\..\components\drivers\pin\pin.c>
-File 3,1,<..\..\components\drivers\serial\serial.c>
-File 4,1,
-File 4,1,
-File 4,1,
-File 4,1,
-File 5,1,<..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c>
-File 5,1,<..\..\components\dfs\dfs_v1\filesystems\elmfat\dfs_elm.c>
-File 5,1,<..\..\components\dfs\dfs_v1\filesystems\elmfat\ff.c>
-File 5,1,<..\..\components\dfs\dfs_v1\filesystems\elmfat\ffunicode.c>
-File 5,1,<..\..\components\dfs\dfs_v1\src\dfs.c>
-File 5,1,<..\..\components\dfs\dfs_v1\src\dfs_file.c>
-File 5,1,<..\..\components\dfs\dfs_v1\src\dfs_fs.c>
-File 5,1,<..\..\components\dfs\dfs_v1\src\dfs_posix.c>
-File 6,1,<..\..\components\finsh\shell.c>
-File 6,1,<..\..\components\finsh\msh.c>
-File 6,1,<..\..\components\finsh\msh_parse.c>
-File 6,1,<..\..\components\finsh\cmd.c>
-File 6,1,<..\..\components\finsh\msh_file.c>
-File 7,1,<..\..\src\clock.c>
-File 7,1,<..\..\src\components.c>
-File 7,1,<..\..\src\idle.c>
-File 7,1,<..\..\src\ipc.c>
-File 7,1,<..\..\src\irq.c>
-File 7,1,<..\..\src\klibc\kstdio.c>
-File 7,1,<..\..\src\klibc\kstring.c>
-File 7,1,<..\..\src\kservice.c>
-File 7,1,<..\..\src\mem.c>
-File 7,1,<..\..\src\mempool.c>
-File 7,1,<..\..\src\object.c>
-File 7,1,<..\..\src\scheduler_comm.c>
-File 7,1,<..\..\src\scheduler_up.c>
-File 7,1,<..\..\src\thread.c>
-File 7,1,<..\..\src\timer.c>
-File 8,1,<..\..\libcpu\arm\common\atomic_arm.c>
-File 8,1,<..\..\libcpu\arm\common\div0.c>
-File 8,1,<..\..\libcpu\arm\common\showmem.c>
-File 8,2,<..\..\libcpu\arm\cortex-m3\context_rvds.S>
-File 8,1,<..\..\libcpu\arm\cortex-m3\cpuport.c>
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,2,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\api\api_lib.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\api\api_msg.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\api\err.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\api\netbuf.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\api\netdb.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\api\netifapi.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\api\sockets.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\api\tcpip.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\apps\ping\ping.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\def.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\dhcp.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\dns.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\init.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\ipv4\autoip.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\ipv4\icmp.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\ipv4\igmp.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\ipv4\inet.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\ipv4\inet_chksum.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\ipv4\ip.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\ipv4\ip_addr.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\ipv4\ip_frag.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\memp.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\netif.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\pbuf.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\raw.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\snmp\asn1_dec.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\snmp\asn1_enc.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\snmp\mib2.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\snmp\mib_structs.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\snmp\msg_in.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\snmp\msg_out.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\stats.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\sys.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\tcp.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\tcp_in.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\tcp_out.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\timers.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\core\udp.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\netif\etharp.c>
-File 10,1,<..\..\components\net\lwip\lwip-1.4.1\src\netif\slipif.c>
-File 10,1,<..\..\components\net\lwip\port\ethernetif.c>
-File 10,1,<..\..\components\net\lwip\port\sys_arch.c>
-
-
-
-
-Options 1,0,0 // Target 'RT-Thread-lm3s'
- Device (LM3S8962)
- Vendor (Luminary Micro)
- Cpu (IRAM(0x20000000-0x2000FFFF) IROM(0-0x3FFFF) CLOCK(8000000) CPUTYPE("Cortex-M3"))
- FlashUt ()
- StupF ("STARTUP\Luminary\Startup.s" ("Luminary Startup Code"))
- FlashDR (UL2CM3(-UU0101L5E -O14 -S0 -C0 -N00("ARM Cortex-M3") -D00(1BA00477) -L00(4) -FO7 -FD20000000 -FC800 -FN1 -FF0LM3S_256 -FS00 -FL040000))
- DevID (4285)
- Rgf (LM3Sxxx.H)
- Mem ()
- C ()
- A ()
- RL ()
- OH ()
- DBC_IFX ()
- DBC_CMS ()
- DBC_AMS ()
- DBC_LMS ()
- UseEnv=0
- EnvBin ()
- EnvInc ()
- EnvLib ()
- EnvReg (Luminary\)
- OrgReg (Luminary\)
- TgStat=16
- OutDir (.\build\)
- OutName (rtthread-lm3s)
- GenApp=1
- GenLib=0
- GenHex=0
- Debug=1
- Browse=1
- LstDir (.\build\)
- HexSel=1
- MG32K=0
- TGMORE=0
- RunUsr 0 0 <>
- RunUsr 1 0 <>
- BrunUsr 0 0 <>
- BrunUsr 1 0 <>
- CrunUsr 0 0 <>
- CrunUsr 1 0 <>
- SVCSID <>
- GLFLAGS=1790
- ADSFLGA { 243,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
- ACPUTYP ("Cortex-M3")
- RVDEV ()
- ADSTFLGA { 0,12,0,0,160,0,0,66,0,0,0,0,0,0,0,0,0,0,0,0 }
- OCMADSOCM { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
- OCMADSIRAM { 0,0,0,0,32,0,0,1,0 }
- OCMADSIROM { 1,0,0,0,0,0,0,4,0 }
- OCMADSXRAM { 0,0,0,0,0,0,0,0,0 }
- OCR_RVCT { 1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,4,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,1,0,0,0,0,0,0,0,0,0,0 }
- RV_STAVEC ()
- ADSCCFLG { 5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
- ADSCMISC ()
- ADSCDEFN (__STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, PART_LM3S8962)
- ADSCUDEF ()
- ADSCINCD (..\..\components\net\lwip\lwip-1.4.1\src\include\ipv4;..\..\components\dfs\dfs_v1\include;Libraries;..\..\include;..\..\components\drivers\include;..\..\libcpu\arm\common;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;drivers;.;..\..\components\dfs\dfs_v1\filesystems\devfs;..\..\libcpu\arm\cortex-m3;..\..\components\dfs\dfs_v1\filesystems\elmfat;..\..\components\libc\posix\io\eventfd;..\..\components\net\lwip\lwip-1.4.1\src\include;..\..\components\libc\compilers\common\include;applications;..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\components\net\lwip\lwip-1.4.1\src\include\netif;..\..\components\net\lwip\port;..\..\components\finsh;..\..\components\libc\compilers\common\extension;..\..\components\libc\posix\io\epoll)
- ADSASFLG { 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
- ADSAMISC ()
- ADSADEFN ()
- ADSAUDEF ()
- ADSAINCD ()
- PropFld { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
- IncBld=1
- AlwaysBuild=0
- GenAsm=0
- AsmAsm=0
- PublicsOnly=0
- StopCode=3
- CustArgs ()
- LibMods ()
- ADSLDFG { 17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
- ADSLDTA (0x00000000)
- ADSLDDA (0x00000000)
- ADSLDSC ()
- ADSLDIB ()
- ADSLDIC ()
- ADSLDMC ()
- ADSLDIF ()
- ADSLDDW ()
- OPTDL (SARMCM3.DLL)()(DLM.DLL)(-pLM3S8962)(SARMCM3.DLL)()(TLM.DLL)(-pLM3S8962)
- OPTDBG 48118,4,()()()()()()()()()() (BIN\lmidk-agdi.dll)()()()
- FLASH1 { 1,0,0,0,1,0,0,0,3,16,0,0,0,0,0,0,0,0,0,0 }
- FLASH2 (BIN\lmidk-agdi.dll)
- FLASH3 ()
- FLASH4 ()
-EndOpt
-
diff --git a/bsp/lm3s9b9x/project.Uv2 b/bsp/lm3s9b9x/project.Uv2
index da6cced36f..e69de29bb2 100644
--- a/bsp/lm3s9b9x/project.Uv2
+++ b/bsp/lm3s9b9x/project.Uv2
@@ -1,236 +0,0 @@
-### uVision2 Project, (C) Keil Software
-### Do not modify !
-
-Target (RT-Thread-lm3s), 0x0004 // Tools: 'ARM-ADS'
-
-Group (Applications)
-Group (Compiler)
-Group (DeviceDrivers)
-Group (Drivers)
-Group (Filesystem)
-Group (Finsh)
-Group (Kernel)
-Group (libcpu)
-Group (Libraries)
-Group (lwIP)
-Group (POSIX)
-
-File 1,1,
-File 1,1,
-File 2,1,<..\..\components\libc\compilers\armlibc\syscall_mem.c>
-File 2,1,<..\..\components\libc\compilers\armlibc\syscalls.c>
-File 2,1,<..\..\components\libc\compilers\common\cctype.c>
-File 2,1,<..\..\components\libc\compilers\common\cstdlib.c>
-File 2,1,<..\..\components\libc\compilers\common\cstring.c>
-File 2,1,<..\..\components\libc\compilers\common\ctime.c>
-File 2,1,<..\..\components\libc\compilers\common\cunistd.c>
-File 2,1,<..\..\components\libc\compilers\common\cwchar.c>
-File 3,1,<..\..\components\drivers\core\device.c>
-File 3,1,<..\..\components\drivers\ipc\completion.c>
-File 3,1,<..\..\components\drivers\ipc\dataqueue.c>
-File 3,1,<..\..\components\drivers\ipc\pipe.c>
-File 3,1,<..\..\components\drivers\ipc\ringblk_buf.c>
-File 3,1,<..\..\components\drivers\ipc\ringbuffer.c>
-File 3,1,<..\..\components\drivers\ipc\waitqueue.c>
-File 3,1,<..\..\components\drivers\ipc\workqueue.c>
-File 3,1,<..\..\components\drivers\pin\pin.c>
-File 3,1,<..\..\components\drivers\serial\serial.c>
-File 4,1,
-File 4,1,
-File 4,1,
-File 4,1,
-File 4,1,
-File 5,1,<..\..\components\dfs\dfs_v1\filesystems\devfs\devfs.c>
-File 5,1,<..\..\components\dfs\dfs_v1\filesystems\elmfat\dfs_elm.c>
-File 5,1,<..\..\components\dfs\dfs_v1\filesystems\elmfat\ff.c>
-File 5,1,<..\..\components\dfs\dfs_v1\filesystems\elmfat\ffunicode.c>
-File 5,1,<..\..\components\dfs\dfs_v1\src\dfs.c>
-File 5,1,<..\..\components\dfs\dfs_v1\src\dfs_file.c>
-File 5,1,<..\..\components\dfs\dfs_v1\src\dfs_fs.c>
-File 5,1,<..\..\components\dfs\dfs_v1\src\dfs_posix.c>
-File 6,1,<..\..\components\finsh\shell.c>
-File 6,1,<..\..\components\finsh\msh.c>
-File 6,1,<..\..\components\finsh\msh_parse.c>
-File 6,1,<..\..\components\finsh\cmd.c>
-File 6,1,<..\..\components\finsh\msh_file.c>
-File 7,1,<..\..\src\clock.c>
-File 7,1,<..\..\src\components.c>
-File 7,1,<..\..\src\idle.c>
-File 7,1,<..\..\src\ipc.c>
-File 7,1,<..\..\src\irq.c>
-File 7,1,<..\..\src\klibc\kstdio.c>
-File 7,1,<..\..\src\klibc\kstring.c>
-File 7,1,<..\..\src\kservice.c>
-File 7,1,<..\..\src\mem.c>
-File 7,1,<..\..\src\mempool.c>
-File 7,1,<..\..\src\object.c>
-File 7,1,<..\..\src\scheduler_comm.c>
-File 7,1,<..\..\src\scheduler_up.c>
-File 7,1,<..\..\src\thread.c>
-File 7,1,<..\..\src\timer.c>
-File 8,1,<..\..\libcpu\arm\common\atomic_arm.c>
-File 8,1,<..\..\libcpu\arm\common\div0.c>
-File 8,1,<..\..\libcpu\arm\common\showmem.c>
-File 8,2,<..\..\libcpu\arm\cortex-m3\context_rvds.S>
-File 8,1,<..\..\libcpu\arm\cortex-m3\cpuport.c>
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,
-File 9,1,