从CW6.3转到CW10.7,遇到2个问题:

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

从CW6.3转到CW10.7,遇到2个问题:

975 Views
forthlab
Contributor II

ram不够了,所以将9S08DZ60换成KE06Z128,于是从CW6.3转到CW10.7,遇到2个问题:

1. CW6.3我在内存指定地址定义变量,如:

    int i @ 0x12345;

   但这么写在CW10.7会报错;

   应该如何写?

  2.  CW10.7如何在原有的项目上生成性的项目,

  如我现在的项目是test1.0, 如何升级为test1.1?

 我希望不同的项目在不同的目录下,项目名称也不一样

先谢谢!

0 Kudos
1 Reply

775 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Liu

1. Syntax @ address is for 8/16bit MCU of CodeWarrior.

CodeWarror for Kinetis doesn't support @address. please refer below article for how to implement this feature

Relocating Code and Data Using the CW GCC Linker File for Kinetis 

2. yes, you can rename.

I think the most easy method of change project name is:

  1. back up your original project. let's call it "project1"
  2. open "project1" with CW10. Right-click the file or group you want to rename in the CodeWarrior Projects view and select Rename from the context menu. Or, select the file or group and press F2. The Rename Resource dialog box appears.
  3. Enter new name for the file or group and click OK or press Enter.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------