File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.15 )
2
-
3
2
project (example )
4
3
5
4
set (FREERTOS_KERNEL_PATH "../../" )
@@ -71,3 +70,5 @@ add_executable(${PROJECT_NAME}
71
70
)
72
71
73
72
target_link_libraries (${PROJECT_NAME} freertos_kernel freertos_config )
73
+
74
+ set_property (TARGET freertos_kernel PROPERTY C_STANDARD 90 )
Original file line number Diff line number Diff line change 50
50
#define eventWAIT_FOR_ALL_BITS ( ( uint32_t ) 0x04000000UL )
51
51
#define eventEVENT_BITS_CONTROL_BYTES ( ( uint32_t ) 0xff000000UL )
52
52
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_64_BITS )
53
- #define eventCLEAR_EVENTS_ON_EXIT_BIT ( ( uint64_t ) 0x0100000000000000ULL )
54
- #define eventUNBLOCKED_DUE_TO_BIT_SET ( ( uint64_t ) 0x0200000000000000ULL )
55
- #define eventWAIT_FOR_ALL_BITS ( ( uint64_t ) 0x0400000000000000ULL )
56
- #define eventEVENT_BITS_CONTROL_BYTES ( ( uint64_t ) 0xff00000000000000ULL )
53
+ #define eventCLEAR_EVENTS_ON_EXIT_BIT ( ( uint64_t ) 0x0100000000000000 )
54
+ #define eventUNBLOCKED_DUE_TO_BIT_SET ( ( uint64_t ) 0x0200000000000000 )
55
+ #define eventWAIT_FOR_ALL_BITS ( ( uint64_t ) 0x0400000000000000 )
56
+ #define eventEVENT_BITS_CONTROL_BYTES ( ( uint64_t ) 0xff00000000000000 )
57
57
#endif /* if ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_16_BITS ) */
58
58
59
59
/* *INDENT-OFF* */
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ typedef unsigned char UBaseType_t;
40
40
#define portMAX_DELAY ( TickType_t ) 0xffffffffUL
41
41
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_64_BITS )
42
42
typedef uint64_t TickType_t ;
43
- #define portMAX_DELAY ( TickType_t ) 0xffffffffffffffffULL
43
+ #define portMAX_DELAY ( TickType_t ) 0xffffffffffffffff
44
44
#else
45
45
#error configTICK_TYPE_WIDTH_IN_BITS set to unsupported tick type width.
46
46
#endif
Original file line number Diff line number Diff line change 295
295
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_32_BITS )
296
296
#define taskEVENT_LIST_ITEM_VALUE_IN_USE ( ( uint32_t ) 0x80000000UL )
297
297
#elif ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_64_BITS )
298
- #define taskEVENT_LIST_ITEM_VALUE_IN_USE ( ( uint64_t ) 0x8000000000000000ULL )
298
+ #define taskEVENT_LIST_ITEM_VALUE_IN_USE ( ( uint64_t ) 0x8000000000000000 )
299
299
#endif
300
300
301
301
/* Indicates that the task is not actively running on any core. */
You can’t perform that action at this time.
0 commit comments