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

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

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

Jump to solution
1,669 Views
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.

Tags (2)
0 Kudos
1 Solution
1,354 Views
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

View solution in original post

0 Kudos
5 Replies
1,354 Views
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 Kudos
1,354 Views
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 Kudos
1,355 Views
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 Kudos
1,354 Views
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 Kudos
1,353 Views
w_tension
Contributor III

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

I'm using CodeWarrior for MCU V11.0.

0 Kudos