Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
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
ISUZU
VC66_7C
Commits
854cc4da
Commit
854cc4da
authored
Oct 05, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整过压保护编译不过问题。
parent
5eab9da6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
19 deletions
+21
-19
project.gpj
ghs/project.gpj
+4
-1
PowerManagement_user.c
...ce/Application/APP/PowerManagement/PowerManagement_user.c
+1
-1
d1mx.ld
source/System/d1mx.ld
+10
-10
tasks.c
source/System/tasks.c
+6
-7
No files found.
ghs/project.gpj
View file @
854cc4da
...
...
@@ -232,7 +232,6 @@ primaryTarget=v800_standalone.tgt
-notda
-preprocess_assembly_files
-registermode=22
-reserve_r2
-object_dir=.\obj
-o project.out
-kanji=utf8
...
...
@@ -261,6 +260,10 @@ primaryTarget=v800_standalone.tgt
-I..\source\Application\APP\Data_DrivingSupport
-I..\source\Application\APP\Data_Voltmeter
-I..\source\Application\APP\Data_WET
-rh850_4bytewordoffset
-reserve_r2
-DPlatform_32Bit
-Ogeneral
.\group\Application.gpj
.\group\Driver.gpj
.\group\Graphic.gpj
...
...
source/Application/APP/PowerManagement/PowerManagement_user.c
View file @
854cc4da
...
...
@@ -356,7 +356,7 @@ Power_Status_t Power_Stay_Protect(void)
//CAN_SET_NM_SEND(1u);
CAN_TX_SetEnable
(
0
);
/*一定周期调用2ms*/
//
Gen_TimeDelay(2000u, 50u);
Gen_TimeDelay
(
2000u
,
50u
);
DoCAN_Communication_Service
(
);
UDS_Server_Application_Service
(
);
UDS_10ms_Service
(
);
...
...
source/System/d1mx.ld
View file @
854cc4da
...
...
@@ -56,7 +56,7 @@ CONSTANTS
MEMORY
{
//#if (WITHOUT_BOOT)
iROM_0 : ORIGIN = 0x00000000, LENGTH =
5120
k
iROM_0 : ORIGIN = 0x00000000, LENGTH =
4096
k
//#else
//iROM_0 : ORIGIN = 0x00200400, LENGTH = 2048k
//#endif
...
...
@@ -81,7 +81,7 @@ SECTIONS
.text align(4) :>. /* program code area */
.rozdata
:>. /* constant datas in ZDA area */
.rozdata
align(4)
:>. /* constant datas in ZDA area */
.robase align(4) :>. /* initialize textpointer TP for SDA addressing */
.rosdata align(4) :>. /* constant datas in SDA area */
.rodata align(4) :>. /* constant datas in normal area */
...
...
@@ -91,11 +91,11 @@ SECTIONS
.secinfo align(4) :>. /* ghs internal (runtime library) */
.syscall align(4) :>. /* ghs internal (linker) */
.romdata ROM(.data) :>. /* constant data to initialize variables (copied to RAM at startup)*/
.romzdata ROM(.zdata) :>. /* constant data to initialize variables in ZDA area (copied to RAM at startup)*/
.romsdata ROM(.sdata) :>. /* constant data to initialize variables in SDA area (copied to RAM at startup)*/
.romtdata ROM(.tdata) :>. /* constant data to initialize variables in TDA area (copied to RAM at startup)*/
.ROM.ramfunc ROM(.ramfunc) :>. /* program code to be copied to RAM (copied to RAM at startup) */
.romdata ROM(.data)
align(4)
:>. /* constant data to initialize variables (copied to RAM at startup)*/
.romzdata ROM(.zdata)
align(4)
:>. /* constant data to initialize variables in ZDA area (copied to RAM at startup)*/
.romsdata ROM(.sdata)
align(4)
:>. /* constant data to initialize variables in SDA area (copied to RAM at startup)*/
.romtdata ROM(.tdata)
align(4)
:>. /* constant data to initialize variables in TDA area (copied to RAM at startup)*/
.ROM.ramfunc ROM(.ramfunc)
align(4)
:>. /* program code to be copied to RAM (copied to RAM at startup) */
/* Renesas FDL Program code sections */
...
...
@@ -103,7 +103,7 @@ SECTIONS
.R_FDL_Const align(4) :>. /* FDL constants in ROM */
/* Start of internal RAM area (iRAM) */
.data :>iRAM_0 /* initialized data */
.data
align(4)
:>iRAM_0 /* initialized data */
.bss align(4) :>. /* zero initialized data*/
//.sdabase align(4) :>. /* initialize globalpointer GP for SDA addressing */
...
...
@@ -114,9 +114,9 @@ SECTIONS
.zdata align(4) :>. /* initialized data in ZDA area*/
.zbss align(4) :>. /* zero initialized data in ZDA area*/
.tdata align(4) MAX_SIZE(0x0
1
00) :>. /* initialized and zero-initialized data in TDA area */
.tdata align(4) MAX_SIZE(0x0
4
00) :>. /* initialized and zero-initialized data in TDA area */
.ramfunc align(4) :>. /* program code in RAM area */
.stack align(4) pad(0x
4
000) :>. /* definition of stack size */
.stack align(4) pad(0x
8
000) :>. /* definition of stack size */
/* Renesas FDL data sections */
...
...
source/System/tasks.c
View file @
854cc4da
...
...
@@ -123,16 +123,16 @@ void Sys_Run_Mode_Pseudo_Real_Time_Tasks(void)
------------------------------------------------------------------------------*/
void
Sys_Run_Mode_2ms_Tasks
(
void
)
{
uint
16_t
m16
_FrameCnt
;
uint
32_t
m32
_FrameCnt
;
UDS_KL15_init
();
Analog_Signal_Conv_Service
();
Sys_Status_Update_Service
();
Common_Input_Para
();
m
16
_FrameCnt
=
Common_GetHMI_StartAnimationFrameCnt
();
m
16_FrameCnt
=
m16
_FrameCnt
/
4u
;
m
32
_FrameCnt
=
Common_GetHMI_StartAnimationFrameCnt
();
m
32_FrameCnt
=
m32
_FrameCnt
/
4u
;
if
(
m
16
_FrameCnt
>=
FRAMECNTFLAG
)
if
(
m
32
_FrameCnt
>=
FRAMECNTFLAG
)
{
Gauges_Time_Xms_Count
(
2
);
}
...
...
@@ -303,9 +303,8 @@ void Sys_Sleep_Mode_Tasks(void)
------------------------------------------------------------------------------*/
void
Sys_Exact_50us_Tasks
(
void
)
{
static
uint16_t
PerCounter
=
0u
;
//GenDelay_Tick();
static
uint32_t
PerCounter
=
0u
;
GenDelay_Tick
();
Sys_Rolling
();
COM_NM_Process
();
COM_TX_Process
();
...
...
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