Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
GTRxGUI
Project
Project
Details
Activity
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
sam
GTRxGUI
Commits
a8df964e
Commit
a8df964e
authored
Aug 04, 2022
by
sam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 FreeRTOS tick 的頻率為 1000Hz
parent
8f703173
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FreeRTOSConfig.h
....000t/BSP/Project/N9H20_GTR_GUI/User/Inc/FreeRTOSConfig.h
+1
-1
main.c
..._BSP_V1.04.000t/BSP/Project/N9H20_GTR_GUI/User/Src/main.c
+1
-1
No files found.
N9H20_HMI_NonOS_BSP_V1.04.000t/BSP/Project/N9H20_GTR_GUI/User/Inc/FreeRTOSConfig.h
View file @
a8df964e
...
...
@@ -85,7 +85,7 @@
#define configUSE_PREEMPTION 1
#define configUSE_IDLE_HOOK 0
#define configUSE_TICK_HOOK 0
#define configTICK_RATE_HZ ( ( TickType_t ) 100 )
#define configTICK_RATE_HZ ( ( TickType_t ) 100
0
)
#define configMAX_PRIORITIES ( 8 )
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 256 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 512 * 1024 ) )
...
...
N9H20_HMI_NonOS_BSP_V1.04.000t/BSP/Project/N9H20_GTR_GUI/User/Src/main.c
View file @
a8df964e
...
...
@@ -53,7 +53,7 @@ static portTASK_FUNCTION_PROTO( vMainTaskProducer, pvParameters ) {
static
uint16_t
uRunCount
=
0
;
for
(;;)
{
sysprintf
(
"TaskName=%s, runCount=%d
\r\n
"
,
pcTaskGetTaskName
(
NULL
),
uRunCount
);
vTaskDelay
(
5
0
);
vTaskDelay
(
100
0
);
uRunCount
++
;
}
}
...
...
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