Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6c9cab1

Browse filesBrowse files
committed
fix: set FreeRTOS Kernel priority to 14
Aim is to have Systick priority higher (lower value) than Ethernet Timer Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
1 parent 382c100 commit 6c9cab1
Copy full SHA for 6c9cab1

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎src/FreeRTOSConfig_Default.h

Copy file name to clipboardExpand all lines: src/FreeRTOSConfig_Default.h
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ PRIORITY THAN THIS! (higher priorities are lower numeric values. */
199199

200200
/* Interrupt priorities used by the kernel port layer itself. These are generic
201201
to all Cortex-M ports, and do not rely on any particular library functions. */
202-
#define configKERNEL_INTERRUPT_PRIORITY ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
202+
/* Warning in case of Ethernet, this pio (used by systick) should be higher prio (lower value) than ethernet Timer */
203+
#define configKERNEL_INTERRUPT_PRIORITY 14
204+
203205
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
204206
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
205207
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.