update files for test use

This commit is contained in:
LuChiChick 2025-08-12 15:23:12 +08:00
parent 8abd1f3cff
commit d737e2986e
4 changed files with 54 additions and 0 deletions

6
Test/Minimal_A2L.a2l Normal file
View File

@ -0,0 +1,6 @@
/begin PROJECT Minimal_A2L "Minimal_A2L"
/begin MODULE TestECU ""
/end MODULE
/end PROJECT

18
Test/source_code.c Normal file
View File

@ -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*/

21
Test/test_map.map Normal file
View File

@ -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

9
Test/typedef.h Normal file
View File

@ -0,0 +1,9 @@
// .\Test\typedef.h
#include "stdint.h"
typedef struct
{
uint8_t a;
double b;
int8_t c;
} Test_Struct;