diff --git a/library.json b/library.json index 3519781..69af74a 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "STM32duino FreeRTOS", - "version": "10.3.1", + "version": "10.3.2", "keywords": "rtos, timing, thread, task, mutex, semaphore", "description": "Real Time Operating System implemented for STM32", "repository": { diff --git a/library.properties b/library.properties index acf84da..e5512f1 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=STM32duino FreeRTOS -version=10.3.1 +version=10.3.2 author=Richard Barry maintainer=stm32duino sentence=Real Time Operating System implemented for STM32 diff --git a/portable/MemMang/heap_useNewlib_ST.c b/portable/MemMang/heap_useNewlib_ST.c index e957f56..2aa53e6 100644 --- a/portable/MemMang/heap_useNewlib_ST.c +++ b/portable/MemMang/heap_useNewlib_ST.c @@ -73,7 +73,7 @@ #include #include "newlib.h" -#if ((__NEWLIB__ == 2) && (__NEWLIB_MINOR__ < 5)) ||((__NEWLIB__ == 3) && (__NEWLIB_MINOR__ > 3)) +#if ((__NEWLIB__ == 2) && (__NEWLIB_MINOR__ < 5)) || ((__NEWLIB__ == 3) && (__NEWLIB_MINOR__ > 3)) || (__NEWLIB__ > 3) #warning "This wrapper was verified for newlib versions 2.5 - 3.3; please ensure newlib's external requirements for malloc-family are unchanged!" #endif diff --git a/src/FreeRTOSConfig_Default.h b/src/FreeRTOSConfig_Default.h index b2a128f..c0e71ce 100644 --- a/src/FreeRTOSConfig_Default.h +++ b/src/FreeRTOSConfig_Default.h @@ -199,7 +199,9 @@ PRIORITY THAN THIS! (higher priorities are lower numeric values. */ /* Interrupt priorities used by the kernel port layer itself. These are generic to all Cortex-M ports, and do not rely on any particular library functions. */ -#define configKERNEL_INTERRUPT_PRIORITY ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) ) +/* Warning in case of Ethernet, this prio (used by systick) should be higher (lower value) than ethernet Timer */ +#define configKERNEL_INTERRUPT_PRIORITY ( 14 << (8 - configPRIO_BITS) ) + /* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!! See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ #define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )