File tree Expand file tree Collapse file tree 6 files changed +17
-7
lines changed Expand file tree Collapse file tree 6 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -3089,6 +3089,7 @@ xtaskswaitingtermination
3089
3089
xtaskswaitingtoreceive
3090
3090
xtaskswaitingtosend
3091
3091
xtasktodelete
3092
+ xtasktomodify
3092
3093
xtasktonotify
3093
3094
xtasktoquery
3094
3095
xtasktoresume
Original file line number Diff line number Diff line change 472
472
473
473
#endif
474
474
475
+ #ifndef configUSE_CORE_AFFINITY
476
+ #define configUSE_CORE_AFFINITY 0
477
+ #endif /* configUSE_CORE_AFFINITY */
478
+
479
+ #ifndef configUSE_MINIMAL_IDLE_HOOK
480
+ #define configUSE_MINIMAL_IDLE_HOOK 0
481
+ #endif /* configUSE_MINIMAL_IDLE_HOOK */
482
+
475
483
/* The timers module relies on xTaskGetSchedulerState(). */
476
484
#if configUSE_TIMERS == 1
477
485
Original file line number Diff line number Diff line change @@ -715,7 +715,7 @@ typedef enum
715
715
* a call to xTaskCreateRestricted(). These regions can be redefined using
716
716
* vTaskAllocateMPURegions().
717
717
*
718
- * @param xTask The handle of the task being updated.
718
+ * @param xTaskToModify The handle of the task being updated.
719
719
*
720
720
* @param[in] pxRegions A pointer to a MemoryRegion_t structure that contains the
721
721
* new memory region definitions.
@@ -1321,7 +1321,7 @@ BaseType_t xTaskResumeFromISR( TaskHandle_t xTaskToResume ) PRIVILEGED_FUNCTION;
1321
1321
UBaseType_t uxCoreAffinityMask );
1322
1322
#endif
1323
1323
1324
- #if ( configUSE_CORE_AFFINITY == 1 )
1324
+ #if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
1325
1325
1326
1326
/**
1327
1327
* @brief Gets the core affinity mask for a task.
Original file line number Diff line number Diff line change 120
120
* of their memory address. */
121
121
typedef struct A_BLOCK_LINK
122
122
{
123
- struct A_BLOCK_LINK * pxNextFreeBlock ; /*< < The next free block in the list. */
124
- size_t xBlockSize ; /*< < The size of the free block. */
123
+ struct A_BLOCK_LINK * pxNextFreeBlock ; /** < The next free block in the list. */
124
+ size_t xBlockSize ; /** < The size of the free block. */
125
125
} BlockLink_t ;
126
126
127
127
/*-----------------------------------------------------------*/
Original file line number Diff line number Diff line change @@ -584,12 +584,12 @@ static void prvSetupSignalsAndSchedulerPolicy( void )
584
584
}
585
585
/*-----------------------------------------------------------*/
586
586
587
- unsigned long ulPortGetRunTime ( void )
587
+ uint32_t ulPortGetRunTime ( void )
588
588
{
589
589
struct tms xTimes ;
590
590
591
591
times ( & xTimes );
592
592
593
- return ( unsigned long ) xTimes .tms_utime ;
593
+ return ( uint32_t ) xTimes .tms_utime ;
594
594
}
595
595
/*-----------------------------------------------------------*/
Original file line number Diff line number Diff line change 37
37
/* *INDENT-ON* */
38
38
39
39
#include <limits.h>
40
+ #include <stdint.h>
40
41
41
42
/*-----------------------------------------------------------
42
43
* Port specific definitions.
@@ -126,7 +127,7 @@ extern void vPortCancelThread( void *pxTaskToDelete );
126
127
*/
127
128
#define portMEMORY_BARRIER () __asm volatile( "" ::: "memory" )
128
129
129
- extern unsigned long ulPortGetRunTime ( void );
130
+ extern uint32_t ulPortGetRunTime ( void );
130
131
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS () /* no-op */
131
132
#define portGET_RUN_TIME_COUNTER_VALUE () ulPortGetRunTime()
132
133
You can’t perform that action at this time.
0 commit comments