From 48cabaa46a4bfba33a0307abcfd50bf81a63ab12 Mon Sep 17 00:00:00 2001 From: HEYAHONG <2229388563@qq.com> Date: Sat, 15 Jun 2024 21:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=BB=E6=A4=8D=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FW/Core/.gitignore | 1 + FW/Core/001-base_rt/applications/main.c | 3 ++- FW/Core/001-base_rt/project.uvoptx | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/FW/Core/.gitignore b/FW/Core/.gitignore index f748ec5..d451fb7 100644 --- a/FW/Core/.gitignore +++ b/FW/Core/.gitignore @@ -53,3 +53,4 @@ cmake-build-debug *.mk *.uvguix* *.scvd +config.log diff --git a/FW/Core/001-base_rt/applications/main.c b/FW/Core/001-base_rt/applications/main.c index 3c4380a..27ee885 100644 --- a/FW/Core/001-base_rt/applications/main.c +++ b/FW/Core/001-base_rt/applications/main.c @@ -26,8 +26,9 @@ int main(void) } } - +#if defined(__ARMCC_VERSION) //HBoxÒÆÖ² typedef void(*ctors_func)(); ctors_func *__init_array_start=NULL; ctors_func *__init_array_end=NULL; +#endif diff --git a/FW/Core/001-base_rt/project.uvoptx b/FW/Core/001-base_rt/project.uvoptx index 6f83bfe..930b945 100644 --- a/FW/Core/001-base_rt/project.uvoptx +++ b/FW/Core/001-base_rt/project.uvoptx @@ -348,7 +348,7 @@ CPP - 0 + 1 0 0 0