From 84e18bb2d55a1722bcd63e3edb2d02b23ca00e34 Mon Sep 17 00:00:00 2001
From: stevetong459 <53069552+stevetong459@users.noreply.github.com>
Date: Mon, 28 Mar 2022 16:50:01 +0800
Subject: [PATCH] fix the startup files of apm32f1 (#5725)
* fix the startup files of apm32f1
* delete ARM folder for apm32f1
---
bsp/apm32/apm32f103xe-minibroard/project.ewp | 117 +-
.../apm32f103xe-minibroard/project.uvoptx | 626 +--------
.../apm32f103xe-minibroard/project.uvprojx | 227 ++-
.../Source/ARM/startup_apm32f10x_hd.s | 465 -------
.../Source/ARM/startup_apm32f10x_md.s | 394 ------
.../Source/arm/startup_apm32f10x_hd.s | 368 +++++
.../Source/arm/startup_apm32f10x_md.s | 315 +++++
.../Source/iar/startup_apm32f10x_hd.s | 1239 +++++++----------
.../Source/iar/startup_apm32f10x_md.s | 850 ++++-------
bsp/apm32/libraries/Drivers/drv_common.c | 2 +-
bsp/apm32/tools/sdk_dist.py | 22 +
11 files changed, 1646 insertions(+), 2979 deletions(-)
delete mode 100644 bsp/apm32/libraries/APM32F10x_Library/Device/Geehy/APM32F10x/Source/ARM/startup_apm32f10x_hd.s
delete mode 100644 bsp/apm32/libraries/APM32F10x_Library/Device/Geehy/APM32F10x/Source/ARM/startup_apm32f10x_md.s
create mode 100644 bsp/apm32/libraries/APM32F10x_Library/Device/Geehy/APM32F10x/Source/arm/startup_apm32f10x_hd.s
create mode 100644 bsp/apm32/libraries/APM32F10x_Library/Device/Geehy/APM32F10x/Source/arm/startup_apm32f10x_md.s
create mode 100644 bsp/apm32/tools/sdk_dist.py
diff --git a/bsp/apm32/apm32f103xe-minibroard/project.ewp b/bsp/apm32/apm32f103xe-minibroard/project.ewp
index 7d5c9b980f..563c9198a3 100644
--- a/bsp/apm32/apm32f103xe-minibroard/project.ewp
+++ b/bsp/apm32/apm32f103xe-minibroard/project.ewp
@@ -353,20 +353,20 @@
$PROJ_DIR$\..\..\..\components\finsh
$PROJ_DIR$\..\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\..\components\libc\posix\ipc
+ $PROJ_DIR$\..\..\..\components\libc\posix\io\stdio
$PROJ_DIR$\..\libraries\Drivers
$PROJ_DIR$\..\libraries\Drivers\config
$PROJ_DIR$\..\..\..\components\drivers\include
- $PROJ_DIR$\..\..\..\examples\utest\testcases\kernel
$PROJ_DIR$\.
$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include
$PROJ_DIR$\applications
$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc
- $PROJ_DIR$\board
+ $PROJ_DIR$\..\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\..\components\libc\compilers\common
$PROJ_DIR$\..\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include
$PROJ_DIR$\..\..\..\include
- $PROJ_DIR$\..\..\..\components\libc\compilers\common\nogcc
+ $PROJ_DIR$\board