my upgrade CodeWarrior DSC v8.3 (Classic IDE)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

my upgrade CodeWarrior DSC v8.3 (Classic IDE)

1,734 次查看
PitOn
Contributor III

Example

Copy current directory

  c:\Freescale\CW MCU v10.5\MCU\DSP56800x_EABI_Tools\command_line_tools\

to

c:\Program Files (x86)\Freescale\CodeWarrior for DSC56800E v8.3\DSP56800x_EABI_Tools\command_line_tools\

标签 (1)
0 项奖励
回复
5 回复数

1,399 次查看
TICS_Fiona
NXP Employee
NXP Employee

When build in IDE, CodeWarrior v8.3 does not run the command line tools under:

c:\Freescale\CW MCU v10.5\MCU\DSP56800x_EABI_Tools\command_line_tools\

0 项奖励
回复

1,399 次查看
PitOn
Contributor III

Hi Fiona

How to determine at compile time memory model ? DCS Codewarrior

0 项奖励
回复

1,399 次查看
TICS_Fiona
NXP Employee
NXP Employee

To accesses all data by 24-bit addressing modes:

If you build with command line tool, please use -largedata option.

If you build in CodeWarrior IDE, please open target settings by 'ALT'+'F7', and go to Code Generation -> M56800E Processor panel, enable option Large Data Model

0 项奖励
回复

1,399 次查看
PitOn
Contributor III

The question is not  set addressing modes . How to determine the memory model at compile time ?

#if(MEMORY_MODEL)

/*    Large Memory Model defines */

#define LoadRx    move.l

#define StoreRx   move.l

#define TestRx    tst.l

#define PTR_SIZE  2

#else

/*   Small Memory Model defines */

#define LoadRx    moveu.w

#define StoreRx   move.w

#define TestRx    tst.w

#define PTR_SIZE  1

#endif

0 项奖励
回复

1,399 次查看
PitOn
Contributor III

Answer himself. Рredefined masros __m56800E_lmm__

#if __m56800E_lmm__

/*    Large Memory Model defines */

#define LoadRx    move.l

#define StoreRx   move.l

#define TestRx    tst.l

#define portPOINTER_SIZE_TYPE unsigned portLONG

#else

/*   Small Memory Model defines */

#define LoadRx    moveu.w

#define StoreRx   move.w

#define TestRx    tst.w

#define portPOINTER_SIZE_TYPE unsigned portSHORT

#endif

0 项奖励
回复