From d737e2986e70053a047d5fbe0de99246c2046ff0 Mon Sep 17 00:00:00 2001 From: LuChiChick <1084116302@qq.com> Date: Tue, 12 Aug 2025 15:23:12 +0800 Subject: [PATCH] update files for test use --- Test/Minimal_A2L.a2l | 6 ++++++ Test/source_code.c | 18 ++++++++++++++++++ Test/test_map.map | 21 +++++++++++++++++++++ Test/typedef.h | 9 +++++++++ 4 files changed, 54 insertions(+) create mode 100644 Test/Minimal_A2L.a2l create mode 100644 Test/source_code.c create mode 100644 Test/test_map.map create mode 100644 Test/typedef.h diff --git a/Test/Minimal_A2L.a2l b/Test/Minimal_A2L.a2l new file mode 100644 index 0000000..1205c13 --- /dev/null +++ b/Test/Minimal_A2L.a2l @@ -0,0 +1,6 @@ +/begin PROJECT Minimal_A2L "Minimal_A2L" + /begin MODULE TestECU "" + + + /end MODULE +/end PROJECT \ No newline at end of file diff --git a/Test/source_code.c b/Test/source_code.c new file mode 100644 index 0000000..4a27f04 --- /dev/null +++ b/Test/source_code.c @@ -0,0 +1,18 @@ +// .\Test\source_code.c +#include "stdint.h" +#include "typedef.h" + +#define VALUE_S 2 + +/*start_of_calibrations*/ +uint8_t c_u8; +uint16_t c_u16; +const volatile float c_float; +/*end_of_calibrations*/ + +/*start_of_measurements*/ +double m_double = 1.23; +uint16_t m_u16[2]; + +Test_Struct S[VALUE_S]; +/*end_of_measurements*/ \ No newline at end of file diff --git a/Test/test_map.map b/Test/test_map.map new file mode 100644 index 0000000..4f86ca1 --- /dev/null +++ b/Test/test_map.map @@ -0,0 +1,21 @@ +Host OS: Windows +ELXR: Copyright (C) 1983-2021 Green Hills Software. All Rights Reserved. +Release: Compiler v2021.1.5 +Build Directory: [Directory] runecraft1:/export/build_2021_1_bto/2021-04-25.1900-2021_1_bto/win64-cross-linux86-comp +Revision: [VCInfo] http://toolsvc/branches/release-branch-2021-1-bto/src@696881 (built by build) +Revision Date: Mon Apr 26 11:01:28 2021 + +Release Date: Mon Apr 26 12:58:24 2021 + + + + +Load Map Thu May 15 13:39:19 2025 +Global Symbols (sorted numerically) + + .ds0_custom 00e21864+000001 _c_u8 + .ds0_custom 00e21865+000002 _c_u16 + .ds0_custom 00e21867+000004 _c_float + .ds0_custom 00e2186B+000008 _m_double + .ds0_custom 00e21873+000004 _m_u16 + .ds0_custom 00e21877+000020 _S diff --git a/Test/typedef.h b/Test/typedef.h new file mode 100644 index 0000000..1949246 --- /dev/null +++ b/Test/typedef.h @@ -0,0 +1,9 @@ +// .\Test\typedef.h +#include "stdint.h" + +typedef struct +{ + uint8_t a; + double b; + int8_t c; +} Test_Struct; \ No newline at end of file