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
TY
TianYing_ty100
Commits
193bb952
Commit
193bb952
authored
May 06, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:合并冲突,解决报错
parent
6841750c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
HaoJin.uvprojx
Firmware/Project/Cmsemicon/BAT32A239/MDK_ARM/HaoJin.uvprojx
+5
-5
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+8
-8
No files found.
Firmware/Project/Cmsemicon/BAT32A239/MDK_ARM/HaoJin.uvprojx
View file @
193bb952
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<TargetCommonOption>
<TargetCommonOption>
<Device>
BAT32A239KK64FB
</Device>
<Device>
BAT32A239KK64FB
</Device>
<Vendor>
Cmsemicon
</Vendor>
<Vendor>
Cmsemicon
</Vendor>
<PackID>
Cmsemicon.BAT32A239.1.0.
5
</PackID>
<PackID>
Cmsemicon.BAT32A239.1.0.
3
</PackID>
<PackURL>
http://www.mcu.com.cn/pack/
</PackURL>
<PackURL>
http://www.mcu.com.cn/pack/
</PackURL>
<Cpu>
IRAM(0x20000000,0x08000) IROM(0x00000000,0x40000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE
</Cpu>
<Cpu>
IRAM(0x20000000,0x08000) IROM(0x00000000,0x40000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE
</Cpu>
<FlashUtilSpec></FlashUtilSpec>
<FlashUtilSpec></FlashUtilSpec>
...
@@ -1156,7 +1156,7 @@
...
@@ -1156,7 +1156,7 @@
<file
attr=
"config"
category=
"source"
name=
"Device\Source\isr_BAT32A239.c"
version=
"1.0.0"
>
<file
attr=
"config"
category=
"source"
name=
"Device\Source\isr_BAT32A239.c"
version=
"1.0.0"
>
<instance
index=
"0"
>
RTE\Device\BAT32A239KK64FB\isr_BAT32A239.c
</instance>
<instance
index=
"0"
>
RTE\Device\BAT32A239KK64FB\isr_BAT32A239.c
</instance>
<component
Cclass=
"Device"
Cgroup=
"ISR"
Cvendor=
"Cmsemicon"
Cversion=
"1.0.0"
condition=
"BAT32A239 CMSIS-CORE"
/>
<component
Cclass=
"Device"
Cgroup=
"ISR"
Cvendor=
"Cmsemicon"
Cversion=
"1.0.0"
condition=
"BAT32A239 CMSIS-CORE"
/>
<package
name=
"BAT32A239"
schemaVersion=
"1.4"
url=
"http://www.mcu.com.cn/pack/"
vendor=
"Cmsemicon"
version=
"1.0.
5
"
/>
<package
name=
"BAT32A239"
schemaVersion=
"1.4"
url=
"http://www.mcu.com.cn/pack/"
vendor=
"Cmsemicon"
version=
"1.0.
3
"
/>
<targetInfos>
<targetInfos>
<targetInfo
name=
"HaoJin232"
/>
<targetInfo
name=
"HaoJin232"
/>
</targetInfos>
</targetInfos>
...
@@ -1164,7 +1164,7 @@
...
@@ -1164,7 +1164,7 @@
<file
attr=
"config"
category=
"source"
condition=
"Startup ARM"
name=
"Device\Source\ARM\startup_BAT32A239.s"
version=
"1.0.0"
>
<file
attr=
"config"
category=
"source"
condition=
"Startup ARM"
name=
"Device\Source\ARM\startup_BAT32A239.s"
version=
"1.0.0"
>
<instance
index=
"0"
>
RTE\Device\BAT32A239KK64FB\startup_BAT32A239.s
</instance>
<instance
index=
"0"
>
RTE\Device\BAT32A239KK64FB\startup_BAT32A239.s
</instance>
<component
Cclass=
"Device"
Cgroup=
"Startup"
Cvendor=
"Cmsemicon"
Cversion=
"1.0.0"
condition=
"BAT32A239 CMSIS-CORE"
/>
<component
Cclass=
"Device"
Cgroup=
"Startup"
Cvendor=
"Cmsemicon"
Cversion=
"1.0.0"
condition=
"BAT32A239 CMSIS-CORE"
/>
<package
name=
"BAT32A239"
schemaVersion=
"1.4"
url=
"http://www.mcu.com.cn/pack/"
vendor=
"Cmsemicon"
version=
"1.0.
5
"
/>
<package
name=
"BAT32A239"
schemaVersion=
"1.4"
url=
"http://www.mcu.com.cn/pack/"
vendor=
"Cmsemicon"
version=
"1.0.
3
"
/>
<targetInfos>
<targetInfos>
<targetInfo
name=
"HaoJin232"
/>
<targetInfo
name=
"HaoJin232"
/>
</targetInfos>
</targetInfos>
...
@@ -1172,7 +1172,7 @@
...
@@ -1172,7 +1172,7 @@
<file
attr=
"config"
category=
"source"
name=
"Device\Source\system_BAT32A239.c"
version=
"1.0.0"
>
<file
attr=
"config"
category=
"source"
name=
"Device\Source\system_BAT32A239.c"
version=
"1.0.0"
>
<instance
index=
"0"
>
RTE\Device\BAT32A239KK64FB\system_BAT32A239.c
</instance>
<instance
index=
"0"
>
RTE\Device\BAT32A239KK64FB\system_BAT32A239.c
</instance>
<component
Cclass=
"Device"
Cgroup=
"Startup"
Cvendor=
"Cmsemicon"
Cversion=
"1.0.0"
condition=
"BAT32A239 CMSIS-CORE"
/>
<component
Cclass=
"Device"
Cgroup=
"Startup"
Cvendor=
"Cmsemicon"
Cversion=
"1.0.0"
condition=
"BAT32A239 CMSIS-CORE"
/>
<package
name=
"BAT32A239"
schemaVersion=
"1.4"
url=
"http://www.mcu.com.cn/pack/"
vendor=
"Cmsemicon"
version=
"1.0.
5
"
/>
<package
name=
"BAT32A239"
schemaVersion=
"1.4"
url=
"http://www.mcu.com.cn/pack/"
vendor=
"Cmsemicon"
version=
"1.0.
3
"
/>
<targetInfos>
<targetInfos>
<targetInfo
name=
"HaoJin232"
/>
<targetInfo
name=
"HaoJin232"
/>
</targetInfos>
</targetInfos>
...
@@ -1180,7 +1180,7 @@
...
@@ -1180,7 +1180,7 @@
<file
attr=
"config"
category=
"header"
name=
"Device\Source\userdefine.h"
version=
"1.0.0"
>
<file
attr=
"config"
category=
"header"
name=
"Device\Source\userdefine.h"
version=
"1.0.0"
>
<instance
index=
"0"
>
RTE\Device\BAT32A239KK64FB\userdefine.h
</instance>
<instance
index=
"0"
>
RTE\Device\BAT32A239KK64FB\userdefine.h
</instance>
<component
Cclass=
"Device"
Cgroup=
"Startup"
Cvendor=
"Cmsemicon"
Cversion=
"1.0.0"
condition=
"BAT32A239 CMSIS-CORE"
/>
<component
Cclass=
"Device"
Cgroup=
"Startup"
Cvendor=
"Cmsemicon"
Cversion=
"1.0.0"
condition=
"BAT32A239 CMSIS-CORE"
/>
<package
name=
"BAT32A239"
schemaVersion=
"1.4"
url=
"http://www.mcu.com.cn/pack/"
vendor=
"Cmsemicon"
version=
"1.0.
5
"
/>
<package
name=
"BAT32A239"
schemaVersion=
"1.4"
url=
"http://www.mcu.com.cn/pack/"
vendor=
"Cmsemicon"
version=
"1.0.
3
"
/>
<targetInfos>
<targetInfos>
<targetInfo
name=
"HaoJin232"
/>
<targetInfo
name=
"HaoJin232"
/>
</targetInfos>
</targetInfos>
...
...
Firmware/Source/Component/Key/Key_user.c
View file @
193bb952
...
@@ -76,14 +76,14 @@ void Key_Operation_Right(Key_Event_en_t enKeyEvent)//Set
...
@@ -76,14 +76,14 @@ void Key_Operation_Right(Key_Event_en_t enKeyEvent)//Set
Key_Status_en_t
Key_Status_Read_Left
(
void
)
Key_Status_en_t
Key_Status_Read_Left
(
void
)
{
{
Key_Status_en_t
enKeyReal
=
KEY_REALTIME_LOOSEN
;
Key_Status_en_t
enKeyReal
=
KEY_REALTIME_LOOSEN
;
if
(
RTE_GPIO_Get_Level
(
MODE_P_IN
))
//
if (RTE_GPIO_Get_Level(MODE_P_IN))
{
//
{
enKeyReal
=
KEY_REALTIME_LOOSEN
;
//
enKeyReal = KEY_REALTIME_LOOSEN;
}
//
}
else
//
else
{
//
{
enKeyReal
=
KEY_REALTIME_PRESS
;
//
enKeyReal = KEY_REALTIME_PRESS;
}
//
}
return
enKeyReal
;
return
enKeyReal
;
}
}
Key_Status_en_t
Key_Status_Read_Right
(
void
)
Key_Status_en_t
Key_Status_Read_Right
(
void
)
...
...
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