Errors in using Templated Components and importing Component Setting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Errors in using Templated Components and importing Component Setting

Errors in using Templated Components and importing Component Setting

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".

  • First gererate code,  build and run the project with success. Then I save the processor setting as template and add  it in a empty PE project from the "Component Library", Generate Processor Export code with error "Incorrect Tool Chain Select", I check the new project propeties and change the "Current toolchain" as "ARM  toolchain"  in correpondence with the previous project.  Regenerate the code , there still exit 9 errors in the _arm_start.cfile .
    DescriptionResourcePathLocationType
    Undefined : "exit"__arm_start.c/PE_use_template/Project_Settings/Startup_Codeline 287C/C++ Problem
    Link failed.PE_use_templateC/C++ Problem
    mingw32-make: *** [PE_use_template.elf] Error 1PE_use_templateC/C++ Problem
    Undefined : "__aeabi_unwind_cpp_pr1"PE_use_templateline 0, external location: E:\CW_workspace\PE_use_template\RAM\Cpu_c.objC/C++ Problem
    Undefined : "__call_static_initializers"__arm_start.c/PE_use_template/Project_Settings/Startup_Codeline 251C/C++ Problem
    Undefined : "__copy_rom_sections_to_ram"__arm_start.c/PE_use_template/Project_Settings/Startup_Codeline 231C/C++ Problem
    Undefined : "__init_registers"__arm_start.c/PE_use_template/Project_Settings/Startup_Codeline 179C/C++ Problem
    Undefined : "__init_user"__arm_start.c/PE_use_template/Project_Settings/Startup_Codeline 257C/C++ Problem
    Undefined : "memset"__arm_start.c/PE_use_template/Project_Settings/Startup_Code

    line 229

    C/C++ Problem

  • Second, when I use export "Component Setting"  there still exist the same problems. Can anyone give some hints or advice to this problem?:D
Comments

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.

No ratings
Version history
Last update:
‎04-15-2013 07:04 PM
Updated by: