Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
baizhengyuan
TianYing_ty100
Commits
f2716f9e
Commit
f2716f9e
authored
May 14, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lijianshuang' into 'dev'
Lijianshuang See merge request
ty/tianying_ty100!15
parents
4c7d5d4d
4c024107
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
12 deletions
+15
-12
TianYing200.BAT
Firmware/Project/Cmsemicon/BAT32A239/MDK_ARM/TianYing200.BAT
+3
-0
GUI_Display.c
Firmware/Source/Application/GUI_Display/GUI_Display.c
+4
-4
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+1
-1
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+1
-1
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+6
-6
No files found.
Firmware/Project/Cmsemicon/BAT32A239/MDK_ARM/TianYing200.BAT
View file @
f2716f9e
SET PATH=C:\Keil_v5\ARM\ARMCC\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\tyw05\AppData\Local\Microsoft\WindowsApps;
SET ARMCC5_ASMOPT=--diag_suppress=9931
SET ARMCC5_CCOPT=--diag_suppress=9931
SET ARMCC5_LINKOPT=--diag_suppress=9931
SET CPU_TYPE=BAT32G139GK64FB
SET CPU_VENDOR=Cmsemicon
SET UV2_TARGET=TianYing200
...
...
Firmware/Source/Application/GUI_Display/GUI_Display.c
View file @
f2716f9e
...
...
@@ -66,7 +66,7 @@ void Clear_Bu98(void)
void
Gauge_Service
(
void
)
{
static
uint16_t
VSpeed_Count
=
0u
;
uint32_t
i
=
0
;
if
(
ClearODO_Flag
==
1
)
{
if
(
Common_Get_IG_Sts
(
)
==
COMMON_POWER_ON
)
...
...
@@ -86,10 +86,10 @@ void Gauge_Service(void)
{
//for(i = 0; i < BU98R10_DDRAM_SIZE; i ++)
//{
// BU98R10Chip0DDRAM.Byte[i] =
1
;
// BU98R10Chip1DDRAM.Byte[i] =
1
;
// BU98R10Chip0DDRAM.Byte[i] =
0x77
;
// BU98R10Chip1DDRAM.Byte[i] =
0x77
;
//}
i
=
Get_Trip_Value
();
if
(
VSpeed_Count
<
3
)
{
VSpeed_Count
++
;
...
...
Firmware/Source/Component/Key/Key_user.c
View file @
f2716f9e
...
...
@@ -378,7 +378,7 @@ void TYW_RESET_ODO(void)
{
if
(
ClearODO_Flag
<
1
)
{
if
((
Get_DispVechileSpeed
()
>=
1
200
)
&&
(
Get_DispEngineSpeed
()
>=
11
000
))
if
((
Get_DispVechileSpeed
()
>=
1
990
)
&&
(
Get_DispEngineSpeed
()
>=
12
000
))
{
ClearODO_Flag
=
1
;
Data_Mileage_Clear
();
...
...
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
f2716f9e
...
...
@@ -82,7 +82,7 @@ static void Power_KL30_Init(void)
g_stRTCInformation
.
u8RTCDayOfMonth
=
1
;
g_stRTCInformation
.
u8RTCMonth
=
1
;
g_stRTCInformation
.
u8RTCYear
=
20
;
//
RTE_RTC_Init(g_stRTCInformation);
RTE_RTC_Init
(
g_stRTCInformation
);
RTE_DEEPSLEEP_GPIO_Interrupt_Enable
(
WAKEUP_KL15_In
,
Trigger_Rising
);
}
...
...
Firmware/Source/System/Sys_Task_List.c
View file @
f2716f9e
...
...
@@ -72,12 +72,12 @@ void Sys_50ms_Tasks(void)
uint8_t
u8LEDDriverCheckCount
=
0U
;
void
Sys_100ms_Tasks
(
void
)
{
//
if((PageType != Page_Time_Hour)&&(PageType != Page_Time_Minute))
//
{
//
RTE_RTC_Get_CounterValue(&counter_val);
//
counter_val.time.RTC_Hours = RTC_Bcd2ToByte(counter_val.time.RTC_Hours);
//
counter_val.time.RTC_Minutes = RTC_Bcd2ToByte(counter_val.time.RTC_Minutes);
//
}
if
((
PageType
!=
Page_Time_Hour
)
&&
(
PageType
!=
Page_Time_Minute
))
{
RTE_RTC_Get_CounterValue
(
&
counter_val
);
counter_val
.
time
.
RTC_Hours
=
RTC_Bcd2ToByte
(
counter_val
.
time
.
RTC_Hours
);
counter_val
.
time
.
RTC_Minutes
=
RTC_Bcd2ToByte
(
counter_val
.
time
.
RTC_Minutes
);
}
Fuel_Cal_Sevice
(
100u
);
BackLight_Process
();
Services_Mileage_Callback
();
...
...
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