Hello Team,
I am wondering why FreeRTOS build is failing only in Release configuration, where as the build is successful with Debug configuration.
The same code worked fine in both Debug and release configuration with "MCUXpresso IDE v11.10.0_3148"
Any idea, what is different in the new IDE release compared to the last release?
Please find the FreeRTOS directory structure,
sushmasan_0-1732210315751.png
sushmasan_1-1732210364260.png
sushmasan_2-1732210419141.png
Here is the error,
make -r -j16 all
make[1]: *** No rule to make target '../freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/portasm.c', needed by 'freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/portasm.o'. Stop.
Building file: ../freertos/freertos-kernel/portable/MemMang/heap_4.c
make[1]: *** Waiting for unfinished jobs....
Building file: ../freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DCPU_LPC55S69JBD100 -DCPU_LPC55S69JBD100_cm33 -DCPU_LPC55S69JBD100_cm33_core0 -DSDK_OS_BAREMETAL -DSDK_DEBUGCONSOLE=1 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -DSERIAL_PORT_TYPE_UART=1 -DSDK_OS_FREE_RTOS -D__MCUXPRESSO -D__USE_CMSIS -DNDEBUG -D__REDLIB__ -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\FreeRTOS_Lib\source" -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\LPC55S69_Core\CMSIS" -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\LPC55S69_Core\device" -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\FreeRTOS_Lib\freertos\freertos-kernel\include" -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\FreeRTOS_Lib\freertos\freertos-kernel\portable\GCC\ARM_CM33_NTZ\non_secure" -Os -fno-common -g -gdwarf-4 -Wall -c -ffunction-sections -fdata-sections -fno-builtin -fmacro-prefix-map="../freertos/freertos-kernel/portable/MemMang/"= -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"freertos/freertos-kernel/portable/MemMang/heap_4.d" -MT"freertos/freertos-kernel/portable/MemMang/heap_4.o" -MT"freertos/freertos-kernel/portable/MemMang/heap_4.d" -o "freertos/freertos-kernel/portable/MemMang/heap_4.o" "../freertos/freertos-kernel/portable/MemMang/heap_4.c"
Invoking: MCU C Compiler
arm-none-eabi-gcc -DCPU_LPC55S69JBD100 -DCPU_LPC55S69JBD100_cm33 -DCPU_LPC55S69JBD100_cm33_core0 -DSDK_OS_BAREMETAL -DSDK_DEBUGCONSOLE=1 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -DSERIAL_PORT_TYPE_UART=1 -DSDK_OS_FREE_RTOS -D__MCUXPRESSO -D__USE_CMSIS -DNDEBUG -D__REDLIB__ -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\FreeRTOS_Lib\source" -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\LPC55S69_Core\CMSIS" -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\LPC55S69_Core\device" -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\FreeRTOS_Lib\freertos\freertos-kernel\include" -I"C:\Test\CODE_WORKSPACE\21Nov2024_With_New_IDE\FreeRTOS_Lib\freertos\freertos-kernel\portable\GCC\ARM_CM33_NTZ\non_secure" -Os -fno-common -g -gdwarf-4 -Wall -c -ffunction-sections -fdata-sections -fno-builtin -fmacro-prefix-map="../freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/"= -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.d" -MT"freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.o" -MT"freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.d" -o "freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.o" "../freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.c"
Finished building: ../freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/port.c
Finished building: ../freertos/freertos-kernel/portable/MemMang/heap_4.c
make: *** [makefile:37: all] Error 2
"make -r -j16 all" terminated with exit code 2. Build might be incomplete.
Regards,
San