Since I want to use some settings of the provious project, I find there are two ways which both don't work. I select the "The LCD" example project which locals in"\\\Freescale\CW MCU v10.3\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K40X256\LCD".
Description | Resource | Path | Location | Type |
Undefined : "exit" | __arm_start.c | /PE_use_template/Project_Settings/Startup_Code | line 287 | C/C++ Problem |
Link failed. | PE_use_template | C/C++ Problem | ||
mingw32-make: *** [PE_use_template.elf] Error 1 | PE_use_template | C/C++ Problem | ||
Undefined : "__aeabi_unwind_cpp_pr1" | PE_use_template | line 0, external location: E:\CW_workspace\PE_use_template\RAM\Cpu_c.obj | C/C++ Problem | |
Undefined : "__call_static_initializers" | __arm_start.c | /PE_use_template/Project_Settings/Startup_Code | line 251 | C/C++ Problem |
Undefined : "__copy_rom_sections_to_ram" | __arm_start.c | /PE_use_template/Project_Settings/Startup_Code | line 231 | C/C++ Problem |
Undefined : "__init_registers" | __arm_start.c | /PE_use_template/Project_Settings/Startup_Code | line 179 | C/C++ Problem |
Undefined : "__init_user" | __arm_start.c | /PE_use_template/Project_Settings/Startup_Code | line 257 | C/C++ Problem |
Undefined : "memset" | __arm_start.c | /PE_use_template/Project_Settings/Startup_Code | line 229 | C/C++ Problem |
I have solved this question. When I create a new PE project, in the "language and build Tools Options", the "ARM build tools" default is GCC, when I select "Freescale", and import the the Processor Export component or board setting, the new project works. So I believe for this PE example projects, the build tool should be "Freescale" which is different from the default setting.