mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	Freertos SMP: fix wrong no affinity value in kconfig
This commit is contained in:
		@@ -474,7 +474,8 @@ menu "FreeRTOS"
 | 
			
		||||
        # Intended to be used as a constant from other Kconfig files.
 | 
			
		||||
        # Value is (32-bit) INT_MAX.
 | 
			
		||||
        hex
 | 
			
		||||
        default 0x7FFFFFFF
 | 
			
		||||
        default 0x7FFFFFFF if !FREERTOS_SMP
 | 
			
		||||
        default 0xFFFFFFFF if FREERTOS_SMP
 | 
			
		||||
 | 
			
		||||
    config FREERTOS_SUPPORT_STATIC_ALLOCATION
 | 
			
		||||
        # Always enabled. Kconfig option preserved for compatibility with code which checked for
 | 
			
		||||
 
 | 
			
		||||
@@ -246,6 +246,7 @@ const DRAM_ATTR uint8_t FreeRTOS_openocd_params[ESP_FREERTOS_DEBUG_TABLE_END]  =
 | 
			
		||||
 * ------------------------------------------------------------------------------------------------------------------ */
 | 
			
		||||
 | 
			
		||||
#if CONFIG_FREERTOS_SMP
 | 
			
		||||
_Static_assert(tskNO_AFFINITY == CONFIG_FREERTOS_NO_AFFINITY, "CONFIG_FREERTOS_NO_AFFINITY must be the same as tskNO_AFFINITY");
 | 
			
		||||
 | 
			
		||||
BaseType_t xTaskCreatePinnedToCore( TaskFunction_t pxTaskCode,
 | 
			
		||||
                                    const char * const pcName,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user