Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
e9e735c4
Commit
e9e735c4
authored
Jun 09, 2025
by
huangguoqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加缺失贴图
parent
47dc7a55
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
254 additions
and
58 deletions
+254
-58
settings.json
.vscode/settings.json
+2
-1
CAN_APP.c
YueJin_test_bench/source/Appliciation/CAN_APP.c
+9
-0
Display_Info.c
YueJin_test_bench/source/Appliciation/Display_Info.c
+206
-45
Key.h
YueJin_test_bench/source/Appliciation/Key.h
+5
-0
Key_user.c
YueJin_test_bench/source/Appliciation/Key_user.c
+12
-0
RTE_GPIO.c
YueJin_test_bench/source/Appliciation/RTE_GPIO.c
+6
-0
RTE_GPIO.h
YueJin_test_bench/source/Appliciation/RTE_GPIO.h
+2
-0
Task.c
YueJin_test_bench/source/Appliciation/Task.c
+2
-2
Analog_Signals.c
...n_test_bench/utility/config_Adc/src/8-18/Analog_Signals.c
+1
-1
GPIO.c
YueJin_test_bench/utility/诊断工具1.10.11 x64/Option/GPIO.c
+1
-1
GPIO_RH850_F1KM_CFG.json
...h/utility/诊断工具1.10.11 x64/Option/GPIO_RH850_F1KM_CFG.json
+2
-2
Option.properties
...st_bench/utility/诊断工具1.10.11 x64/Option/Option.properties
+6
-6
No files found.
.vscode/settings.json
View file @
e9e735c4
...
...
@@ -63,6 +63,7 @@
"com_can.h"
:
"c"
,
"task.h"
:
"c"
,
"simulated_8080.h"
:
"c"
,
"analog_signals.h"
:
"c"
"analog_signals.h"
:
"c"
,
"tm035hfzgzx.h"
:
"c"
}
}
\ No newline at end of file
YueJin_test_bench/source/Appliciation/CAN_APP.c
View file @
e9e735c4
...
...
@@ -155,6 +155,15 @@ void Can_Set_Buff_480(uint8_t CopyData [])
}
pCANMsg
->
Sig
.
Signal_Gps
=
Signal_GPS
;
pCANMsg
->
Sig
.
Signal_4g
=
Signal_4G
;
if
(
bluetooth_phone
==
1
)
{
pCANMsg
->
Sig
.
Blooth_phone
=
1
;
}
else
if
(
bluetooth_phone
==
0
)
{
pCANMsg
->
Sig
.
Blooth_phone
=
0
;
}
}
void
Can_Set_Buff_280
(
uint8_t
CopyData
[])
...
...
YueJin_test_bench/source/Appliciation/Display_Info.c
View file @
e9e735c4
...
...
@@ -293,9 +293,151 @@ const unsigned char gImage_Dyy_words_9X6_Y258[]={/*Byte Size204*/
0X67U
,
0X6fU
,
0X7fU
,
0X7eU
,
0X73U
,
0X7fU
,
0X3fU
,
0X7fU
,
0X77U
,
0X0fU
,
0X0dU
,
0XffU
,
0XffU
,
0X6fU
,
0XffU
,
0X7fU
,
0X0dU
,
0XffU
,
0XffU
,
0X6fU
,
0XffU
,
0XffU
,
0X0fU
,
0X0fU
,
0X00U
,
0X00U
,
0X10U
,
0X38U
,
0X38U
,
0X18U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*充电连接*/
const
unsigned
char
gImage_CHONGDIAN_X0_Y0_
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0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
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*4G网络格数*/
const
unsigned
char
gImage_4GX0_Y0_
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0X80U
,
0Xf8U
,
0Xf8U
,
0Xf8U
,
0Xf8U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X80U
,
0X80U
,
0Xf0U
,
0Xf0U
,
0Xf0U
,
0Xe0U
,
0XfeU
,
0XfeU
,
0XfeU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X07U
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*电池过热*/
const
unsigned
char
gImage_dianchiguoreX0_Y0_
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0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X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*GPS*/
const
unsigned
char
gImage_jct_GPSX0_Y0_
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X18U
,
0X18U
,
0Xf8U
,
0Xf8U
,
0Xd8U
,
0Xf8U
,
0Xf0U
,
0X70U
,
0Xe0U
,
0Xc0U
,
0X80U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X70U
,
0XfcU
,
0XfeU
,
0XfcU
,
0Xf8U
,
0Xf8U
,
0XfaU
,
0Xf7U
,
0X8eU
,
0X1fU
,
0X1bU
,
0X0fU
,
0X3eU
,
0X3fU
,
0X7fU
,
0X7fU
,
0X7cU
,
0X7cU
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X0cU
,
0X0eU
,
0X0fU
,
0X0fU
,
0X0fU
,
0X07U
,
0X07U
,
0X07U
,
0X07U
,
0X03U
,
0X03U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*故障*/
const
unsigned
char
gImage_JCT_guzhangX0_YO
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
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00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*电机过热*/
const
unsigned
char
gImage_jct_Motor_overheatingX0_Y0
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0XbeU
,
0XfeU
,
0Xf6U
,
0X00U
,
0X00U
,
0XfeU
,
0XfeU
,
0Xe0U
,
0X00U
,
0X1cU
,
0XfeU
,
0XfeU
,
0X60U
,
0X00U
,
0X9eU
,
0XfeU
,
0Xf6U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0Xe0U
,
0Xe0U
,
0Xe0U
,
0Xe0U
,
0XfcU
,
0XfeU
,
0X06U
,
0XfeU
,
0XfeU
,
0X06U
,
0X06U
,
0X06U
,
0X06U
,
0X06U
,
0X06U
,
0X06U
,
0X06U
,
0X06U
,
0X06U
,
0X06U
,
0XfeU
,
0XfeU
,
0X0eU
,
0XfcU
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X0fU
,
0X0fU
,
0X0cU
,
0X0cU
,
0X7fU
,
0XffU
,
0Xc0U
,
0XffU
,
0XdfU
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0XffU
,
0XffU
,
0Xc0U
,
0XffU
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*能量回收*/
const
unsigned
char
gImage_jct_nenglianghuishouX0_Y0_
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
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00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*TCS*/
const
unsigned
char
gImage_jct_TCS_closeX0_Y0_
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0Xc0U
,
0Xc0U
,
0Xc0U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X80U
,
0Xc0U
,
0Xf0U
,
0Xf8U
,
0XfcU
,
0XfcU
,
0XfeU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XdfU
,
0XdfU
,
0XffU
,
0XffU
,
0XffU
,
0XfeU
,
0XfeU
,
0XfcU
,
0XfcU
,
0Xf8U
,
0Xf8U
,
0XfcU
,
0X7cU
,
0X7cU
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0Xe0U
,
0Xe0U
,
0Xf0U
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0X87U
,
0X0fU
,
0XcfU
,
0XcfU
,
0XefU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0X1fU
,
0X0fU
,
0X07U
,
0X07U
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0XffU
,
0X7cU
,
0X38U
,
0X38U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X01U
,
0X01U
,
0X01U
,
0X79U
,
0X7bU
,
0XfbU
,
0XffU
,
0X7fU
,
0X3fU
,
0X3fU
,
0X1fU
,
0X0fU
,
0X07U
,
0X0fU
,
0XffU
,
0XefU
,
0XefU
,
0XefU
,
0XefU
,
0XffU
,
0Xf8U
,
0Xf8U
,
0XfcU
,
0XffU
,
0X7fU
,
0X3fU
,
0X1fU
,
0X0fU
,
0X03U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X03U
,
0X03U
,
0X03U
,
0X03U
,
0X03U
,
0X03U
,
0X01U
,
0X01U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
/*蓝牙电话*/
const
unsigned
char
gImage_phoneX0_Y0_
[]
=
{
/*Byte Size202*/
40U
,
40U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,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,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,
0X00U
,};
const
unsigned
char
gImage_Number_15_white_0X0_Y0
[]
=
{
/*Byte Size18*/
8U
,
16U
,
...
...
@@ -3682,7 +3824,7 @@ void Get_static_Current(void)
GUI_General_Digit_Display
(
loc_ret1
,
Num_15
,
3
,
0
,
CurrentDigitNum09PosX
,
60
);
if
(
loc_ret1
>
10
)
{
MENU_CHECK_STEP
=
13
;
//
MENU_CHECK_STEP = 13;
CurrentWrong
=
1
;
}
else
...
...
@@ -3691,11 +3833,11 @@ void Get_static_Current(void)
}
loc_ret1
=
0
;
}
else
{
MENU_CHECK_STEP
=
13
;
// CurrentWrong = 1;
}
//
else
//
{
//
MENU_CHECK_STEP = 13;
//
// CurrentWrong = 1;
//
}
}
}
...
...
@@ -4440,11 +4582,10 @@ void Display_Can_Receive_Data(uint16_t X,uint8_t Y)
{
if
(
canData3
[
9
]
==
0XFF
&&
canData2
[
13
]
==
0XFF
&&
All_Flag
.
u8flag
[
8
]
==
1
)
{
TFT_LCD_Draw_Bmp
(
X
,
Y
,
(
uint8_t
*
)
gImage_Dyy_words_1X6_Y16
);
//软件版本号
TFT_LCD_Draw_Bmp
(
X
,
Y
+
50
,
(
uint8_t
*
)
gImage_Dyy_words_2X6_Y46
);
//硬件版本号
General_Number_Disp
(
canData2
,
X
+
70
,
Y
);
General_Number_Disp
(
canData3
,
X
+
70
,
Y
+
50
);
TFT_LCD_Draw_Bmp
(
0
,
200
,
(
uint8_t
*
)
gImage_Dyy_words_5X6_Y137
);
//静态电流
GUI_General_Digit_Display
(
text5
[
0
],
Num_15
,
1
,
0
,
CurrentDigitNum15PosX_1
,
200
);
TFT_LCD_Draw_Bmp
(
85
,
195
,
(
uint8_t
*
)
FONT_TABLE
[
37
]
);
GUI_General_Digit_Display
(
text5
[
1
],
Num_15
,
2
,
0
,
CurrentDigitNum15PosX_2
,
200
);
...
...
@@ -4486,64 +4627,84 @@ void Display_flag(uint8_t Check_Steps)
switch
(
Check_Steps
)
{
case
1
:
//左转、右转、位置灯
TFT_LCD_Draw_Box
(
20
,
40
,
220
,
220
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
4
0
,
(
uint8_t
*
)
gImage_gImage_turnLeft1X6_Y16
);
TFT_LCD_Draw_Bmp
(
80
,
4
0
,
(
uint8_t
*
)
gImage_gImage_position1X6_Y16
);
TFT_LCD_Draw_Bmp
(
1
40
,
4
0
,
(
uint8_t
*
)
gImage_gImage_turnRight1X6_Y16
);
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
5
0
,
(
uint8_t
*
)
gImage_gImage_turnLeft1X6_Y16
);
TFT_LCD_Draw_Bmp
(
80
,
5
0
,
(
uint8_t
*
)
gImage_gImage_position1X6_Y16
);
TFT_LCD_Draw_Bmp
(
1
60
,
5
0
,
(
uint8_t
*
)
gImage_gImage_turnRight1X6_Y16
);
break
;
case
2
:
//远光\TCS
TFT_LCD_Draw_Box
(
20
,
40
,
180
,
180
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
4
0
,
(
uint8_t
*
)
gImage_gImage_highBeanX6_Y165
);
TFT_LCD_Draw_Bmp
(
80
,
4
0
,
(
uint8_t
*
)
gImage_gImage_TCS1X6_Y16
);
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
5
0
,
(
uint8_t
*
)
gImage_gImage_highBeanX6_Y165
);
TFT_LCD_Draw_Bmp
(
80
,
5
0
,
(
uint8_t
*
)
gImage_gImage_TCS1X6_Y16
);
break
;
case
3
:
//TCS关闭 电池温度过高
//TFT_LCD_Draw_Bmp(20, 40+25+25+25+25+25+25+25, ( uint8_t * )gImage_gImage_lowPower1X6_Y16);
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
50
,
(
uint8_t
*
)
gImage_jct_TCS_closeX0_Y0_
);
TFT_LCD_Draw_Bmp
(
80
,
50
,
(
uint8_t
*
)
gImage_dianchiguoreX0_Y0_
);
break
;
case
4
:
//充电连接 ABS
TFT_LCD_Draw_Box
(
20
,
40
,
180
,
180
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
80
,
40
,
(
uint8_t
*
)
gImage_gImage_ABSX6_Y165
);
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
50
,
(
uint8_t
*
)
gImage_gImage_ABSX6_Y165
);
TFT_LCD_Draw_Bmp
(
80
,
50
,
(
uint8_t
*
)
gImage_CHONGDIAN_X0_Y0_
);
break
;
case
5
:
//能源回收(白) 边撑
TFT_LCD_Draw_Box
(
20
,
40
,
180
,
180
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
40
,
(
uint8_t
*
)
gImage_gImage_BianchengX6_Y165
);
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
50
,
(
uint8_t
*
)
gImage_jct_nenglianghuishouX0_Y0_
);
TFT_LCD_Draw_Bmp
(
80
,
60
,
(
uint8_t
*
)
gImage_gImage_BianchengX6_Y165
);
break
;
case
6
:
//能源回收(蓝) 定速巡航
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
50
,
(
uint8_t
*
)
gImage_jct_nenglianghuishouX0_Y0_
);
//TFT_LCD_Draw_Bmp(80, 40, ( uint8_t * )gImage_gImage_BianchengX6_Y165);/*定速巡航*/
break
;
case
7
:
//能源回收(琥珀) READY亮
TFT_LCD_Draw_Box
(
20
,
40
,
180
,
180
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
40
,
(
uint8_t
*
)
gImage_gImage_READY1X6_Y16
);
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
50
,
(
uint8_t
*
)
gImage_jct_nenglianghuishouX0_Y0_
);
TFT_LCD_Draw_Bmp
(
80
,
60
,
(
uint8_t
*
)
gImage_gImage_READY1X6_Y16
);
break
;
case
8
:
//故障提示 电机过热 READY闪烁
TFT_LCD_Draw_Box
(
20
,
40
,
180
,
180
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
40
,
(
uint8_t
*
)
gImage_gImage_zcguzhang1X6_Y16
);
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
60
,
(
uint8_t
*
)
gImage_gImage_zcguzhang1X6_Y16
);
TFT_LCD_Draw_Bmp
(
80
,
50
,
(
uint8_t
*
)
gImage_dianchiguoreX0_Y0_
);
TFT_LCD_Draw_Bmp
(
160
,
65
,
(
uint8_t
*
)
gImage_gImage_READY1X6_Y16
);
break
;
case
9
:
//蓝牙 GPS信号格数
TFT_LCD_Draw_Box
(
20
,
40
,
180
,
180
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
40
,
(
uint8_t
*
)
gImage_gImage_bluetoothX6_Y165
);
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
50
,
(
uint8_t
*
)
gImage_gImage_bluetoothX6_Y165
);
TFT_LCD_Draw_Bmp
(
90
,
50
,
(
uint8_t
*
)
gImage_jct_GPSX0_Y0_
);
break
;
case
10
:
//蓝牙电话 4G网络格数
TFT_LCD_Draw_Box
(
0
,
0
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
50
,
(
uint8_t
*
)
gImage_phoneX0_Y0_
);
TFT_LCD_Draw_Bmp
(
80
,
50
,
(
uint8_t
*
)
gImage_4GX0_Y0_
);
break
;
case
11
:
//全亮
TFT_LCD_Draw_Box
(
20
,
40
,
180
,
180
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Box
(
20
,
40
,
239
,
319
,
TFT_LCD_FILL_FULL
,
TFT_LCD_TYPE_CLR
);
//清除全亮
TFT_LCD_Draw_Bmp
(
20
,
40
,
(
uint8_t
*
)
gImage_gImage_turnLeft1X6_Y16
);
TFT_LCD_Draw_Bmp
(
80
,
40
,
(
uint8_t
*
)
gImage_gImage_position1X6_Y16
);
TFT_LCD_Draw_Bmp
(
140
,
40
,
(
uint8_t
*
)
gImage_gImage_turnRight1X6_Y16
);
TFT_LCD_Draw_Bmp
(
20
,
80
,
(
uint8_t
*
)
gImage_gImage_
turnLeft1X6_Y16
);
TFT_LCD_Draw_Bmp
(
80
,
80
,
(
uint8_t
*
)
gImage_gImage_
highBeanX6_Y165
);
TFT_LCD_Draw_Bmp
(
140
,
80
,
(
uint8_t
*
)
gImage_gImage_TCS1X6_Y16
);
TFT_LCD_Draw_Bmp
(
20
,
80
,
(
uint8_t
*
)
gImage_gImage_
highBeanX6_Y165
);
TFT_LCD_Draw_Bmp
(
80
,
80
,
(
uint8_t
*
)
gImage_gImage_
TCS1X6_Y16
);
TFT_LCD_Draw_Bmp
(
140
,
80
,
(
uint8_t
*
)
gImage_jct_TCS_closeX0_Y0_
);
TFT_LCD_Draw_Bmp
(
20
,
120
,
(
uint8_t
*
)
gImage_
gImage_ABSX6_Y165
);
TFT_LCD_Draw_Bmp
(
80
,
120
,
(
uint8_t
*
)
gImage_gImage_
Biancheng
X6_Y165
);
TFT_LCD_Draw_Bmp
(
140
,
120
,
(
uint8_t
*
)
gImage_gImage_READY1X6_Y16
);
TFT_LCD_Draw_Bmp
(
20
,
120
,
(
uint8_t
*
)
gImage_
dianchiguoreX0_Y0_
);
TFT_LCD_Draw_Bmp
(
80
,
120
,
(
uint8_t
*
)
gImage_gImage_
ABS
X6_Y165
);
TFT_LCD_Draw_Bmp
(
140
,
120
,
(
uint8_t
*
)
gImage_CHONGDIAN_X0_Y0_
);
TFT_LCD_Draw_Bmp
(
20
,
160
,
(
uint8_t
*
)
gImage_gImage_zcguzhang1X6_Y16
);
TFT_LCD_Draw_Bmp
(
80
,
160
,
(
uint8_t
*
)
gImage_gImage_bluetoothX6_Y165
);
TFT_LCD_Draw_Bmp
(
20
,
160
,
(
uint8_t
*
)
gImage_jct_nenglianghuishouX0_Y0_
);
TFT_LCD_Draw_Bmp
(
80
,
165
,
(
uint8_t
*
)
gImage_gImage_BianchengX6_Y165
);
TFT_LCD_Draw_Bmp
(
140
,
170
,
(
uint8_t
*
)
gImage_gImage_READY1X6_Y16
);
TFT_LCD_Draw_Bmp
(
20
,
210
,
(
uint8_t
*
)
gImage_gImage_zcguzhang1X6_Y16
);
TFT_LCD_Draw_Bmp
(
80
,
200
,
(
uint8_t
*
)
gImage_dianchiguoreX0_Y0_
);
TFT_LCD_Draw_Bmp
(
140
,
200
,
(
uint8_t
*
)
gImage_gImage_bluetoothX6_Y165
);
TFT_LCD_Draw_Bmp
(
20
,
240
,
(
uint8_t
*
)
gImage_jct_GPSX0_Y0_
);
TFT_LCD_Draw_Bmp
(
80
,
240
,
(
uint8_t
*
)
gImage_phoneX0_Y0_
);
TFT_LCD_Draw_Bmp
(
140
,
240
,
(
uint8_t
*
)
gImage_4GX0_Y0_
);
break
;
default:
MENU_CHECK_STEP
=
0
;
...
...
YueJin_test_bench/source/Appliciation/Key.h
View file @
e9e735c4
...
...
@@ -132,6 +132,7 @@ extern uint8_t Battery_temp;
extern
uint8_t
NFC_C_card
;
extern
uint8_t
Side_bracket
;
extern
uint8_t
Hill_Descent_control
;
extern
uint8_t
bluetooth_phone
;
extern
uint8_t
key_flag
;
...
...
@@ -147,6 +148,10 @@ extern uint8_t canData4[8];
extern
uint32_t
text5
[
5
];
extern
const
unsigned
char
gImage_Dyy_words_1X6_Y16
[];
extern
const
unsigned
char
gImage_Dyy_words_2X6_Y46
[];
extern
const
unsigned
char
gImage_Dyy_words_5X6_Y137
[];
#endif
...
...
YueJin_test_bench/source/Appliciation/Key_user.c
View file @
e9e735c4
...
...
@@ -5,6 +5,8 @@
#include "Barcode_Scanner.h"
#include "Task.h"
#include "string.h"
#include "TFT_LCD.h"
uint8_t
Check_Steps
=
0
;
uint8_t
Check_Control_Mode
=
2
;
// 1 自走模式 2 打点模式 0 默认都发0
...
...
@@ -25,6 +27,7 @@ uint8_t Battery_temp = 0;
uint8_t
NFC_C_card
=
0
;
uint8_t
Side_bracket
=
0
;
uint8_t
Hill_Descent_control
=
0
;
uint8_t
bluetooth_phone
=
0
;
uint8_t
Diagnosis_banbenhao_flag
=
0
;
uint8_t
Diagnosis_banbenhao_flag_
=
0
;
...
...
@@ -184,6 +187,9 @@ void Key_Operation_SW8(Key_Event_en_t enKeyEvent)
Diagnosis_banbenhao_flag
=
1
;
/*CAN诊断起始信号*/
Display_TFT_Clear
();
TFT_LCD_Draw_Bmp
(
5
,
50
,
(
uint8_t
*
)
gImage_Dyy_words_1X6_Y16
);
//软件版本号
TFT_LCD_Draw_Bmp
(
5
,
100
,
(
uint8_t
*
)
gImage_Dyy_words_2X6_Y46
);
//硬件版本号
TFT_LCD_Draw_Bmp
(
0
,
200
,
(
uint8_t
*
)
gImage_Dyy_words_5X6_Y137
);
//静态电流
Display_Can_Receive_Data
(
5
,
50
);
...
...
@@ -427,6 +433,7 @@ void User_CheckMode_Service(uint8_t CbkCycle)
Headlights_Led
=
0
;
NFC_C_card
=
0
;
break
;
case
1
:
...
...
@@ -488,6 +495,7 @@ void User_CheckMode_Service(uint8_t CbkCycle)
Right_Led
=
0
;
Headlights_Led
=
0
;
NFC_C_card
=
0
;
Charging_connection_led
=
0
;
break
;
case
4
:
Vspeed
=
38
;
...
...
@@ -506,6 +514,7 @@ void User_CheckMode_Service(uint8_t CbkCycle)
Left_Led
=
0
;
Right_Led
=
0
;
Headlights_Led
=
0
;
Charging_connection_led
=
1
;
break
;
case
5
:
Vspeed
=
47
;
...
...
@@ -525,6 +534,7 @@ void User_CheckMode_Service(uint8_t CbkCycle)
Right_Led
=
0
;
Headlights_Led
=
0
;
Side_bracket
=
1
;
Charging_connection_led
=
0
;
break
;
case
6
:
Vspeed
=
57
;
...
...
@@ -616,6 +626,7 @@ void User_CheckMode_Service(uint8_t CbkCycle)
Left_Led
=
0
;
Right_Led
=
0
;
Headlights_Led
=
0
;
bluetooth_phone
=
1
;
break
;
case
11
:
Vspeed
=
88
;
...
...
@@ -636,6 +647,7 @@ void User_CheckMode_Service(uint8_t CbkCycle)
Headlights_Led
=
1
;
Side_bracket
=
1
;
Hill_Descent_control
=
1
;
bluetooth_phone
=
0
;
break
;
}
}
...
...
YueJin_test_bench/source/Appliciation/RTE_GPIO.c
View file @
e9e735c4
...
...
@@ -192,6 +192,12 @@ void RTE_GPIO_Init(void)
gpio_temp
.
enGPIOAltFun
=
GPIO_ALTER_FUN_1
;
GPIO_Config
(
&
gpio_temp
);
gpio_temp
.
enGPIOPort
=
GPIO_PORT_GROUP_AP0
;
//左转
gpio_temp
.
enGPIOPIN
=
GPIO_PIN_14
;
gpio_temp
.
enGPIOMode
=
GPIO_MODE_PORT
;
gpio_temp
.
enGPIODir
=
GPIO_DIR_OUT
;
gpio_temp
.
enGPIOAltFun
=
GPIO_ALTER_FUN_1
;
GPIO_Config
(
&
gpio_temp
);
...
...
YueJin_test_bench/source/Appliciation/RTE_GPIO.h
View file @
e9e735c4
...
...
@@ -54,6 +54,8 @@
#define Quiescent_current_B_ GPIO_OUT_PORT09_PIN04
/*B+~*/
#define Quiescent_current_B GPIO_OUT_PORT09_PIN05
/*B+*/
#define Charging_connection_led GPIO_OUT_APORT00_PIN14
/*充电连接指示灯*/
#define POWER_CTRL_KL30 GPIO_OUT_PORT09_PIN05
...
...
YueJin_test_bench/source/Appliciation/Task.c
View file @
e9e735c4
...
...
@@ -135,8 +135,8 @@ void Sys_Run_Mode_100ms_Tasks_Group(void)
Display_PageNum
();
User_CheckMode_Service
(
100u
);
POWER_CTRL_KL30
=
1
;
POWER_CTRL_KL30_B
=
1
;
//
POWER_CTRL_KL30 = 1;
//
POWER_CTRL_KL30_B = 1;
//POWER_CTRL_KL15 = 1;
...
...
YueJin_test_bench/utility/config_Adc/src/8-18/Analog_Signals.c
View file @
e9e735c4
...
...
@@ -74,7 +74,7 @@ ADC_Data_st_t stADCData[ADC_SIGNAL_CH_NUMBER];
const
uint8_t
u8ADCChList
[
ADC_CONV_CH_NUMBER
]
=
{
10
U
,
15U
,
9
U
,
15U
,
};
const
ADC_Ch_Cfg_st_t
stADCChCfg
[
ADC_SIGNAL_CH_NUMBER
]
=
...
...
YueJin_test_bench/utility/诊断工具1.10.11 x64/Option/GPIO.c
View file @
e9e735c4
...
...
@@ -92,7 +92,7 @@ const uint16_t g_u16GPIOConfigArray[56U][2U] =
{
0x0001u
,
0x0005u
},
{
0x00FAu
,
0x00FFu
},
{
0x8080u
,
0x1000u
},
{
0x
4
00Fu
,
0x673Fu
},
{
0x
0
00Fu
,
0x673Fu
},
{
0xFFFFu
,
0xFFFFu
},
};
static
void
GPIO_PIN_Init
(
GPIO_Config_Mode_en_t
enGPIOConfigMode
)
...
...
YueJin_test_bench/utility/诊断工具1.10.11 x64/Option/GPIO_RH850_F1KM_CFG.json
View file @
e9e735c4
...
...
@@ -3119,7 +3119,7 @@
"pinName"
:
"Pin_AP0_14"
,
"pinAddress"
:
"54"
,
"wakeupPin"
:
{
"PinModeName"
:
"GPIO_
IN
"
,
"PinModeName"
:
"GPIO_
OUT
"
,
"PUn"
:
false
,
"PDn"
:
false
,
"PISn"
:
false
,
...
...
@@ -3129,7 +3129,7 @@
"PIPCn"
:
false
,
"Pn"
:
false
,
"PMCn"
:
false
,
"PMn"
:
tru
e
,
"PMn"
:
fals
e
,
"PIBCn"
:
true
},
"sleepPin"
:
{
...
...
YueJin_test_bench/utility/诊断工具1.10.11 x64/Option/Option.properties
View file @
e9e735c4
#new Option
#
Thu Jun 05 08:24:1
1 CST 2025
#
Mon Jun 09 10:38:3
1 CST 2025
IsSort
=
true
MergeFlashIsCompression
=
false
ChangeAppFilePath
=
...
...
@@ -9,7 +9,7 @@ DBFFilePath=
MergeCrcTtpe
=
1
MergeBootFilePath
=
IsMergeChangeAddress
=
false
MergeFlashOutPutFilePath
=
MergeFlashOutPutFilePath
=
D
\:\\
Desktop
\\\u
65B0
\u
5EFA
\u6587\u
4EF6
\u5939
(2)
GPIOOutPutPath
=
MergeCanDBCPath
=
IsFilling
=
true
...
...
@@ -31,7 +31,7 @@ IsMergeCreateBin=false
IsOverWrite
=
true
DllFilePath
=
MergeAudioOutPutPath
=
MergeCanOutPutPath
=
D
\:\\
Desktop
\\
jiancetai
MergeCanOutPutPath
=
ChangeOutPutFilePath
=
MergeTelltalesOutPutPath
=
TTFExtractTXTpath
=
...
...
@@ -39,7 +39,7 @@ JieFaRH850GPIOJSONpath=
MergeFlashIsMandatory
=
false
UpdateProcess
=
\u5409\u5229
Driver
=
Kvaser
MergeFlashImageFormat
=
MergeFlashImageFormat
=
ARGB8888
RH850_F1KMGPIOJSONpath
=
DriverFilePath
=
IsMergeCreateHex
=
false
...
...
@@ -49,11 +49,11 @@ MergeImageFilePath=
IsMergeCreateUpdateBin
=
false
MergeImageSize
=
128M
CRCFilePath
=
MergeFlashCompressionFormat
=
MergeFlashCompressionFormat
=
RLE24
IsPlayMusic
=
false
IsHexDisplay
=
true
MergeLineInXLSPath
=
MergeFlashInPutFilePath
=
MergeFlashInPutFilePath
=
D
\:\\
Desktop
\\\u
65B0
\u
5EFA
\u6587\u
4EF6
\u5939
(3)
MergeFlashIsInternal
=
false
MergeOutPutFilePath
=
MergeAppFilePath
=
...
...
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