This commit is contained in:
sunbeam 2024-08-17 15:56:47 +08:00
parent 5f83678950
commit 4fc07ff656
6 changed files with 5643 additions and 5642 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
QualityReport
2023年8月22日 13:53:31
2023年8月24日 8:12:06
------ Start build(ECU_APP, DefaultBuild) ------
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_main.c diagnose\extern.c user\appTask.c user\can_user.c user\hwCtrl.c -cpu=S3 -obj_path=DefaultBuild "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10BBG.DVF" -g -g_line -I diagnose\DTC -I diagnose\CanTrcv -I sys -I . -I rscan_driver -I diagnose -I DataFlash -I CanNw -I diagnose\CanTp -I diagnose\CanIf -I user -D DEBUG1 -c -msg_lang=english
@ -18,17 +18,17 @@ diagnose\extern.c(537):W0520940:Missing return statement at end of non-void func
user\appTask.c(40):W0520172:External/internal linkage conflict with previous declaration
user\appTask.c(133):W0520177:Variable "i" was declared but never referenced
user\appTask.c(133):W0520177:Variable "checksum" was declared but never referenced
user\appTask.c(179):W0523082:Pointer to the object of even alignment holds the odd address
user\appTask.c(183):W0520513:A value of type "MotorStateEE_Type __near *" cannot be assigned to an entity of type "uint8_t *"
user\appTask.c(221):W0520513:A value of type "MotorStateEE_Type __near *" cannot be assigned to an entity of type "uint8_t *"
user\appTask.c(470):W0523077:Called function should have prototype
user\appTask.c(524):W0523077:Called function should have prototype
user\appTask.c(180):W0523082:Pointer to the object of even alignment holds the odd address
user\appTask.c(184):W0520513:A value of type "MotorStateEE_Type __near *" cannot be assigned to an entity of type "uint8_t *"
user\appTask.c(222):W0520513:A value of type "MotorStateEE_Type __near *" cannot be assigned to an entity of type "uint8_t *"
user\appTask.c(471):W0523077:Called function should have prototype
user\appTask.c(525):W0523077:Called function should have prototype
user\can_user.c(97):W0520550:Variable "re_flag" was set but never used
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\rlink.exe -subcommand=DefaultBuild\ECU_APP.clnk
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
RAMDATA SECTION: 00000c79 Byte(s)
ROMDATA SECTION: 0000063b Byte(s)
PROGRAM SECTION: 00004fa6 Byte(s)
PROGRAM SECTION: 00004fae Byte(s)
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
Renesas Optimizing Linker Completed
@ -116,9 +116,9 @@ DefaultBuild\ECU_APP.clnk :
--- SHA1 hash value of output files ---
F:\FCB_project\temp\HWBS\CODE\ECU_APP\DefaultBuild\ECU_APP.abs: 72d80c37afa92d837d705e978284f21909caca1b
F:\FCB_project\temp\HWBS\CODE\ECU_APP\DefaultBuild\ECU_APP.mot: fe30b23e14d2f11e8ef2fd5844b4615fc9b7ae09
F:\FCB_project\temp\HWBS\CODE\ECU_APP\output\ECU_APP.S19: 1dc6cbf8e9f9a42a6b7930b1b3e570a40d1004a2
F:\FCB_project\temp\HWBS\CODE\ECU_APP\DefaultBuild\ECU_APP.abs: da289fcdc20427ef5dce9d82e6fa2bb6210c4b19
F:\FCB_project\temp\HWBS\CODE\ECU_APP\DefaultBuild\ECU_APP.mot: 23d1db21267495477d07638f8312ad9819cddb07
F:\FCB_project\temp\HWBS\CODE\ECU_APP\output\ECU_APP.S19: 1d1cfbad0914b130c16856ae65cc4108bc6a7264
--- System Information ---
@ -146,11 +146,11 @@ F:\FCB_project\temp\HWBS\CODE\ECU_APP\output\ECU_APP.S19: 1dc6cbf8e9f9a42a6b7930
E:\Program Files (x86)\renesas\CS+\CC
*Memory Usage
*Private Working Set
284 MB
229 MB
*Number of GDI Objects
2247
2057
*Number of USER Objects
1153
1092
*Opened Files
1 editors, 1 files, 14 KB

View File

@ -50,7 +50,7 @@
#define LEFT_BOARD 1
#define RIGHT_BOARD 2
#define NOW_BOARD LEFT_BOARD
#define NOW_BOARD RIGHT_BOARD
#endif

View File

@ -140,7 +140,7 @@ void Can_Msg_Change(void)//
CAN_50A.Msg_Bit.b04 = GetKeyState(KEYID_P81);
CAN_50A.Msg_Bit.b05 = GetKeyState(KEYID_P34);
CAN_50A.Msg_Bit.b06 = GetKeyState(KEYID_P125);
CAN_50A.Msg_Bit.b07 = GetKeyState(KEYID_P85);
}
else
{
@ -151,10 +151,11 @@ void Can_Msg_Change(void)//
CAN_50A.Msg_Bit.b04 = 0;
CAN_50A.Msg_Bit.b05 = 0;
CAN_50A.Msg_Bit.b06 = 0;
CAN_50A.Msg_Bit.b07 = 0;
}
/*
CAN_50A.Msg_Bit.b07 = GetKeyState(KEYID_P85);
CAN_50A.Msg_Bit.b10 = GetKeyState(KEYID_P16);
CAN_50A.Msg_Bit.b11 = GetKeyState(KEYID_P17);
CAN_50A.Msg_Bit.b12 = GetKeyState(KEYID_P30);