Hi @Harry_Zhang,
thank you for reaching out to me.
Here my situation and how to reproduce:
I have installed MCUXpresso IDE 25.6 with all updates. I can confirm this on both Linux and macOS
I currently have 2 SDKs installed directly via the IDE:
SDK_2.x_FRDM-MCXN947 25.09.00
SDK_2.x_FRDM-MCXW23 25.03.00
Those SDKs were downloaded by the IDE as "latest"
Then I created a new project for FRDM-MCXW23 - as well directly via the IDE.
Here the error message on compiling the fresh project:
13:27:31 **** Build of configuration Debug for project MCXW236B_Project ****
make -r -j11 all
Building file: ../source/MCXW236B_Project.c
Building file: ../board/board.c
Building file: ../source/semihost_hardfault.c
Building file: ../board/clock_config.c
Building file: ../board/peripherals.c
Building file: ../board/pin_mux.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DCPU_MCXW236BIHNAR -DCPU_MCXW236BIHNAR_cm33 -DSDK_DEBUGCONSOLE=1 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -D__MCUXPRESSO -DDEBUG -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/board" -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/source" -O0 -fno-common -g3 -gdwarf-4 -Wall -c -ffunction-sections -fdata-sections -fno-builtin -fmerge-constants -fmacro-prefix-map="../source/"= -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"source/MCXW236B_Project.d" -MT"source/MCXW236B_Project.o" -MT"source/MCXW236B_Project.d" -o "source/MCXW236B_Project.o" "../source/MCXW236B_Project.c"
Invoking: MCU C Compiler
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DCPU_MCXW236BIHNAR -DCPU_MCXW236BIHNAR_cm33 -DSDK_DEBUGCONSOLE=1 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -D__MCUXPRESSO -DDEBUG -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/board" -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/source" -O0 -fno-common -g3 -gdwarf-4 -Wall -c -ffunction-sections -fdata-sections -fno-builtin -fmerge-constants -fmacro-prefix-map="../board/"= -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"board/board.d" -MT"board/board.o" -MT"board/board.d" -o "board/board.o" "../board/board.c"
arm-none-eabi-gcc -D__REDLIB__ -DCPU_MCXW236BIHNAR -DCPU_MCXW236BIHNAR_cm33 -DSDK_DEBUGCONSOLE=1 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -D__MCUXPRESSO -DDEBUG -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/board" -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/source" -O0 -fno-common -g3 -gdwarf-4 -Wall -c -ffunction-sections -fdata-sections -fno-builtin -fmerge-constants -fmacro-prefix-map="../source/"= -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"source/semihost_hardfault.d" -MT"source/semihost_hardfault.o" -MT"source/semihost_hardfault.d" -o "source/semihost_hardfault.o" "../source/semihost_hardfault.c"
Invoking: MCU C Compiler
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DCPU_MCXW236BIHNAR -DCPU_MCXW236BIHNAR_cm33 -DSDK_DEBUGCONSOLE=1 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -D__MCUXPRESSO -DDEBUG -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/board" -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/source" -O0 -fno-common -g3 -gdwarf-4 -Wall -c -ffunction-sections -fdata-sections -fno-builtin -fmerge-constants -fmacro-prefix-map="../board/"= -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"board/peripherals.d" -MT"board/peripherals.o" -MT"board/peripherals.d" -o "board/peripherals.o" "../board/peripherals.c"
arm-none-eabi-gcc -D__REDLIB__ -DCPU_MCXW236BIHNAR -DCPU_MCXW236BIHNAR_cm33 -DSDK_DEBUGCONSOLE=1 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -D__MCUXPRESSO -DDEBUG -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/board" -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/source" -O0 -fno-common -g3 -gdwarf-4 -Wall -c -ffunction-sections -fdata-sections -fno-builtin -fmerge-constants -fmacro-prefix-map="../board/"= -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"board/clock_config.d" -MT"board/clock_config.o" -MT"board/clock_config.d" -o "board/clock_config.o" "../board/clock_config.c"
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DCPU_MCXW236BIHNAR -DCPU_MCXW236BIHNAR_cm33 -DSDK_DEBUGCONSOLE=1 -DCR_INTEGER_PRINTF -DPRINTF_FLOAT_ENABLE=0 -D__MCUXPRESSO -DDEBUG -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/board" -I"/Users/usernam/MCUXpressoIDE/MCXW236B_Project/source" -O0 -fno-common -g3 -gdwarf-4 -Wall -c -ffunction-sections -fdata-sections -fno-builtin -fmerge-constants -fmacro-prefix-map="../board/"= -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"board/pin_mux.d" -MT"board/pin_mux.o" -MT"board/pin_mux.d" -o "board/pin_mux.o" "../board/pin_mux.c"
../board/board.c:7:10: fatal error: fsl_common.h: No such file or directory
7 | #include "fsl_common.h"
| ^~~~~~~~~~~~~~
compilation terminated.
../board/clock_config.c:7:10: fatal error: fsl_power.h: No such file or directory
7 | #include "fsl_power.h"
| ^~~~~~~~~~~~~
compilation terminated.
In file included from ../board/peripherals.c:56:
../board/peripherals.h:18:10: fatal error: fsl_common.h: No such file or directory
18 | #include "fsl_common.h"
| ^~~~~~~~~~~~~~
compilation terminated.
../board/pin_mux.c:48:10: fatal error: fsl_common.h: No such file or directory
48 | #include "fsl_common.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [board/subdir.mk:29: board/clock_config.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [board/subdir.mk:29: board/peripherals.o] Error 1
make[1]: *** [board/subdir.mk:29: board/board.o] Error 1
make[1]: *** [board/subdir.mk:29: board/pin_mux.o] Error 1
In file included from ../source/MCXW236B_Project.c:13:
/Users/usernam/MCUXpressoIDE/MCXW236B_Project/board/board.h:10:10: fatal error: fsl_common.h: No such file or directory
10 | #include "fsl_common.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [source/subdir.mk:23: source/MCXW236B_Project.o] Error 1
Finished building: ../source/semihost_hardfault.c
make: *** [makefile:36: all] Error 2
"make -r -j11 all" terminated with exit code 2. Build might be incomplete.
13:27:31 Build Failed. 12 errors, 0 warnings. (took 580ms)
There is something that was pondering me. When creating a new project for FRDM-MCXN947, everything worked out of the box. Please note the differences between the pre-selected components for both boards in the new project wizard:


The template for the MCXN947 has more components preselected. The MCXW23 template seems to missing essential components to start out of the box.
I was able to somehow click together some components to make it work, but it would be better to fix the project template to work out of the box.