I am sorry.my computter halted down for days. when i reimported the original project about nhs31xx/tlogger. i have checked the setting carefully:
mcu settings is "NHS3152";
projet/set active choose "debug";
the Linker script item choose "redlib(semihost)";
setting--tool settings--optimization choose "-Og".(other optimization flags remains "-fno-common")
step 1; build the project in debug mode ,well done
step 2: only add a statement " printf("this is a test...\n");" in function main() of the source file "maintloger.c "
build debug again,there is an NEW error message , it shows as below
"../arm-none-eabi/bin/ld.exe: app_demo_dp_tlogger.axf section `.text' will not fit in region `Flash30'
../arm-none-eabi/bin/ld.exe: region `Flash30' overflowed by 1396 bytes"
by the way ,i have readed the discussion about "Lpcxpresso Compile Error: `.text' will not fit in region `Flash30'" https://community.nxp.com/thread/464995"
i need your very help, thank you!