CodeWarrior didn't generator S19 when define a MACRO in file or project properties.

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

CodeWarrior didn't generator S19 when define a MACRO in file or project properties.

跳至解决方案
3,135 次查看
w_tension
Contributor III

I'd like to make a two branch project. So I try to use preprocessor macros.

Pictures below are an example:

TIM截图20180327090325.png

----------- Before I set.

TIM截图20180327090548.png

------ Define a 'USE_WATCHDOG'

TIM截图20180327090641.png

----------- main.c show a key icon on it.

TIM截图20180327090746.png

---------- Then my project just generate abs binary file.The S19 missing.

标记 (2)
0 项奖励
回复
1 解答
2,820 次查看
BlackNight
NXP Employee
NXP Employee

I really think it is the same problem as described in Traps and Pitfalls: No Hex/Bin/S19 File Created with GNU? | MCU on Eclipse : the issues is caused by a 'option per file' usage, as indicated by the 'pin' on your main.c.

And this is an Eclipse problem, not a toolchain problem.

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,820 次查看
BlackNight
NXP Employee
NXP Employee

I think this could be the same issue as described in Traps and Pitfalls: No Hex/Bin/S19 File Created with GNU? | MCU on Eclipse . Can you check the generated make files if this is indeed that problem?

I hope this helps,

Erich

0 项奖励
回复
2,820 次查看
w_tension
Contributor III

Seems close but not quite the same.

I can debug with the *.abs file.

I'm using S08 mcu, so the tool chain isn't the same.

Makefile has the same problem.

# Add inputs and outputs from these tool invocations to the build variables
EXECUTABLES += \

EXECUTABLES_QUOTED += \

EXECUTABLES_OS_FORMAT += \

BURNER_OUTPUT_OUTPUTS += \

BURNER_OUTPUT_OUTPUTS_QUOTED += \

BURNER_OUTPUT_OUTPUTS_OS_FORMAT += \

0 项奖励
回复
2,821 次查看
BlackNight
NXP Employee
NXP Employee

I really think it is the same problem as described in Traps and Pitfalls: No Hex/Bin/S19 File Created with GNU? | MCU on Eclipse : the issues is caused by a 'option per file' usage, as indicated by the 'pin' on your main.c.

And this is an Eclipse problem, not a toolchain problem.

I hope this helps,

Erich

0 项奖励
回复
2,820 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Tension,

Have your problme resolved ?

If no, please tell us the CW version and it's better share your project .

BR

Alice

0 项奖励
回复
2,819 次查看
w_tension
Contributor III

Not solved. I agree that it's a Eclipse issue.

I'm using CodeWarrior for MCU V11.0.

0 项奖励
回复