-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I enable the mpu, xEventGroupClearBitsFromISR and xEventGroupSetBitsFromISR does not use the MPU wrapper.
/home/<snip>/build/debug/<snip>/gcc/_deps/freertos-src/include/./event_groups.h:459:13: warning: "xEventGroupClearBitsFromISR" redefined
459 | #define xEventGroupClearBitsFromISR( xEventGroup, uxBitsToClear ) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/<snip>/build/debug/<snip>/gcc/_deps/freertos-src/include/./portable.h:105,
from /home/<snip>/build/debug/<snip>/gcc/_deps/freertos-src/include/./FreeRTOS.h:118,
from /home/hp/repos/vps/sw-basic-next/prj/src/app/app.cpp:11:
/home/<snip>/build/debug/<snip>/gcc/_deps/freertos-src/include/./mpu_wrappers.h:215:21: note: this is the location of the previous definition
215 | #define xEventGroupClearBitsFromISR MPU_xEventGroupClearBitsFromISR
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/<snip>/build/debug/<snip>/gcc/_deps/freertos-src/include/./event_groups.h:615:13: warning: "xEventGroupSetBitsFromISR" redefined
615 | #define xEventGroupSetBitsFromISR( xEventGroup, uxBitsToSet, pxHigherPriorityTaskWoken ) \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/<snip>/build/debug/<snip>/gcc/_deps/freertos-src/include/./mpu_wrappers.h:216:21: note: this is the location of the previous definition
216 | #define xEventGroupSetBitsFromISR MPU_xEventGroupSetBitsFromISR
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Target
- stm32h5x (cortex-m33, armv8)
Observed with FreeRTOS versions:
- V11.2.0 GITHUB_REPOSITORY "FreeRTOS/FreeRTOS-Kernel"
- GIT_TAG 684b34c GITHUB_REPOSITORY "FreeRTOS/FreeRTOS-Kernel"
Host
- Debian 12
To Reproduce
- enable MPU
#define configENABLE_MPU 1
- include <event_groups.h>
#include <event_groups.h>
Expected behavior
- no warnings (afaik MPU wrapper should be used -> MPU_xEventGroupClearBitsFromISR() / MPU_xEventGroupSetBitsFromISR()
codeLemur
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working