Commit b9220491 authored by 时昊's avatar 时昊

改prm文件

parent d654fcef
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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
......@@ -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 );
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment