makefile generation bug with CW 10.5

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

makefile generation bug with CW 10.5

ソリューションへジャンプ
1,390件の閲覧回数
joshc2
Contributor I

Hi Guys,

I have a possible makefile generation bug when using processor expert and CW 10.5.

Even though I've told the tool to "Create Flash Image", "Create Extended Listing", and "Print Size" in the project properties -> C/C++ Build ->Settings -> Additional Tools menu, the makefile targets aren't executed when built. The *.elf file is generated but not the additional targets.

 

I've traced the issue down to the makefile. It looks like 1 of 2 things were supposed to happen by the makefile generator, but they didn't.

There are targets for *.hex, *.lst, *.siz but they're NOT in the deps list for the "explicit-dependencies" target. Instead, the target contains 3 copies of the original *.elf target. My best guess is the generator isn't taking the extension of the target into account. These 3 deps disappear if I turn off the check boxes in the settings menu.

 

There is also a makefile var named "secondary-outputs". This rule is called by make but the variables contained in the deps list are completely empty.

I take it an engineer was changing from / to one method of putting the additional targets of the list of targets, but wasn't able to complete the task by release time.

 

I don't know if this is an Eclipse issue or a CW 10.5 issue.

 

Thanks,

Jonathan

ラベル(1)
タグ(4)
0 件の賞賛
1 解決策
1,054件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Jonathan,

this is a known bug in the GNU make file generator if you have 'per file settings'.

See

http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/

Best regards,

Erich

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,055件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Jonathan,

this is a known bug in the GNU make file generator if you have 'per file settings'.

See

http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/

Best regards,

Erich

0 件の賞賛
1,054件の閲覧回数
joshc2
Contributor I

Thanks Erich. I forgot about your other website.

As always, you the man.

Thanks,

Jonathan

0 件の賞賛