Hi Linklai, I hope you're doing well!
Could you please try the following procedure to ensure that the Application Notes compile successfully?:
First, the Application Note's Makefile needs to be changed for the corresponding chip:
# Set specific chip (choose one)
#JENNIC_CHIP ?= K32W061
#JENNIC_CHIP ?= K32W041
JENNIC_CHIP ?= JN5189
#JENNIC_CHIP ?= JN5188
And the toolchain path needs to be changed to your corresponding MCUXpresso Version:
# Toolchain paths
TOOLCHAIN_DIR_PATH = ../../../../../MCUXpressoIDE_11.2.0_4120/ide/tools
TOOLCHAIN_PATH = $(TOOLCHAIN_DIR_PATH)/bin
The MCU Settings must be configured to use the JN5189 driver:

In the project's settings, please add the following build command to the options:
DEBUG=HW
Like so:

And finally, the compiled .axf file needs to be selected in the debug configuration:

Note: Be sure that the JP4 and JP7 are shorted as 3-4 on the board.
Please let me know if you need any more information or have any further issues.
Best regards,
Sebastian