Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
le21_Fuel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
le21_Fuel
Commits
b9220491
Commit
b9220491
authored
Apr 26, 2023
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改prm文件
parent
d654fcef
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1407 additions
and
2277 deletions
+1407
-2277
GUI_Display.c
le21_fuel/Sources/Part_4/GUI_Display.c
+1396
-2268
Popups.c
le21_fuel/Sources/Part_5/Popups.c
+2
-0
Popups.h
le21_fuel/Sources/Part_5/Popups.h
+2
-0
Project.prm
le21_fuel/prm/Project.prm
+7
-9
No files found.
le21_fuel/Sources/Part_4/GUI_Display.c
View file @
b9220491
This source diff could not be displayed because it is too large. You can
view the blob
instead.
le21_fuel/Sources/Part_5/Popups.c
View file @
b9220491
...
...
@@ -393,6 +393,7 @@ void Popups_ChargeStatus(void)
}
}
}
#pragma CODE_SEG __FAR_SEG MYCODE1
void
Popups_Polling
(
void
)
{
...
...
@@ -3156,3 +3157,4 @@ void Popups_Polling(void)
}
#pragma CODE_SEG DEFAULT
le21_fuel/Sources/Part_5/Popups.h
View file @
b9220491
...
...
@@ -162,7 +162,9 @@ extern _Popup_OnFlag_Struct Popup_OnFlag ;
void
Popups_DoorOpen
(
void
);
#pragma CODE_SEG __FAR_SEG MYCODE1
void
Popups_Polling
(
void
);
#pragma CODE_SEG DEFAULT
void
Popups_IG_On_Init
(
void
);
void
Popups_Sound_Playing
(
void
);
...
...
le21_fuel/prm/Project.prm
View file @
b9220491
...
...
@@ -19,10 +19,8 @@ SEGMENTS /* here all RAM/ROM areas of the device are listed. Used in PLACEMENT b
RAM = READ_WRITE DATA_NEAR 0x2000 TO 0x3FFF ALIGN 2;
/* non-banked FLASH */
//ROM_4000 = READ_ONLY DATA_NEAR IBCC_NEAR 0x4000 TO 0x7FFF ALIGN 2;
ROM_4000 = READ_ONLY DATA_NEAR IBCC_NEAR 0x4000 TO 0x77FF ALIGN 2;
ROM_4000_1 = READ_ONLY DATA_NEAR IBCC_NEAR 0x7800 TO 0x7BFF FILL 0xFF;
ROM_4000_2 = READ_ONLY DATA_NEAR IBCC_NEAR 0x7C00 TO 0x7FFF ALIGN 2;
ROM_4000 = READ_ONLY DATA_NEAR IBCC_NEAR 0x4000 TO 0x7FFF ALIGN 2;
ROM_C000 = READ_ONLY DATA_NEAR IBCC_NEAR 0xC000 TO 0xFAFF ALIGN 2 FILL 0xFF;
/* VECTORS = READ_ONLY 0xFF00 TO 0xFFFF; intentionally not defined: used for VECTOR commands below */
//OSVECTORS = READ_ONLY 0xFF10 TO 0xFFFF; /* OSEK interrupt vectors (use your vector.o) */
...
...
@@ -75,12 +73,12 @@ PLACEMENT /* here all predefined and user segments are placed into the SEGMENTS
/* in case you want to use ROM_4000 here as well, make sure
that all files (incl. library files) are compiled with the
option: -OnB=b */
INTO ROM_C000, ROM_4000,
ROM_4000_2
;
INTO ROM_C000, ROM_4000,;
MAPDATA_ROM INTO PAGE_FC,PAGE_FB,PAGE_FA,PAGE_F9,PAGE_F7,PAGE_F0_0;
DEFAULT_ROM INTO
ROM_4000_2,
PAGE_FE,PAGE_F6, PAGE_F5, PAGE_F4, PAGE_F3, PAGE_F2, PAGE_F1, PAGE_F0,ROM_4000 ;
MYCODE1,
DEFAULT_ROM INTO
PAGE_FE,PAGE_F6, PAGE_F5, PAGE_F4, PAGE_F3, PAGE_F2, PAGE_F1, PAGE_F0,ROM_4000 ;
//.stackstart, /* eventually used for OSEK kernel awareness: Main-Stack Start */
SSTACK, /* allocate stack first to avoid overwriting variables on overflow */
...
...
@@ -93,10 +91,10 @@ PLACEMENT /* here all predefined and user segments are placed into the SEGMENTS
RAM_FD;
DISTRIBUTE DISTRIBUTE_INTO
ROM_4000
_2,ROM_4000
, PAGE_FE,PAGE_FB, PAGE_FA, PAGE_F9, PAGE_F7,
ROM_4000, PAGE_FE,PAGE_FB, PAGE_FA, PAGE_F9, PAGE_F7,
PAGE_F6, PAGE_F5, PAGE_F4, PAGE_F3, PAGE_F2, PAGE_F1, PAGE_F0;
CONST_DISTRIBUTE DISTRIBUTE_INTO
ROM_4000_2,
ROM_4000, PAGE_FE,PAGE_FB, PAGE_FA, PAGE_F9, PAGE_F7,
ROM_4000, PAGE_FE,PAGE_FB, PAGE_FA, PAGE_F9, PAGE_F7,
PAGE_F6, PAGE_F5, PAGE_F4, PAGE_F3, PAGE_F2, PAGE_F1, PAGE_F0;
DATA_DISTRIBUTE DISTRIBUTE_INTO
RAM, RAM_FD;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment