Change include paths

This commit is contained in:
Henrik Stickann
2022-05-07 00:24:58 +02:00
parent 941de7e064
commit baef731e1a
22 changed files with 335 additions and 335 deletions

View File

@@ -0,0 +1,16 @@
/**
* @brief Constants and macros for use with CMSIS RTOS2.
*/
#ifndef STA_RTOS2_DEFS_HPP
#define STA_RTOS2_DEFS_HPP
// See limits defined in cmsis_os2.c
#define STA_RTOS2_MAX_BITS_TASK_NOTIFY 31U
#define STA_RTOS2_MAX_BITS_EVENT_GROUPS 24U
#define STA_RTOS2_THREAD_FLAGS_VALID_BITS ((1UL << STA_RTOS2_MAX_BITS_TASK_NOTIFY) - 1U)
#define STA_RTOS2_EVENT_FLAGS_VALID_BITS ((1UL << STA_RTOS2_MAX_BITS_EVENT_GROUPS) - 1U)
#endif // STA_RTOS2_DEFS_HPP