Skip to content

Commit c8125ad

Browse files
committed
Add check that configUSE_CORE_AFFINITY is enabled
1 parent 2804f42 commit c8125ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/include/FreeRTOSIPConfigDefaults.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,10 @@ STATIC_ASSERT( pdMS_TO_TICKS( ipconfigPHY_LS_LOW_CHECK_TIME_MS ) <= portMAX_DELA
11521152
#error ipconfigIP_TASK_AFFINITY must be at least 0
11531153
#endif
11541154

1155+
#if ( ipconfigIP_TASK_AFFINITY > 0 && configUSE_CORE_AFFINITY == 0 )
1156+
#error configUSE_CORE_AFFINITY must be 1 in order to use ipconfigIP_TASK_AFFINITY
1157+
#endif
1158+
11551159
/*---------------------------------------------------------------------------*/
11561160

11571161
/*

0 commit comments

Comments
 (0)