How do I get both derivative.h and derivative.inc? - CW for MCU 10.1 SE HCS08 on XP PC

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

How do I get both derivative.h and derivative.inc? - CW for MCU 10.1 SE HCS08 on XP PC

971 次查看
KEC
Contributor I

I haven't figured out how to get both derivative.h and derivative.inc. Even if the project is "for C", I also have assembly code that should use the correct derivative definitions.

 

I see many references to derivative.inc in the manuals so I expected it to be generated like derivative.h.

 

I'd appreciate information from those more experienced with the CW 10 environment.

 

Thanks,

KEC

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

543 次查看
CrasyCat
Specialist III

Hello

 

When you create your project with the wizard, make sure that you checked both "C" and "Relocatable Assembly"

 in the Languages dialog.

 

This is the  4th dialog showing up  in the wizard after you specify the project name.

 

CrasyCat

0 项奖励
回复

543 次查看
ARQuattr
Contributor IV

Does this apply to CW10 for Coldfire?  I've tried to create new projects using the 'General' Project, 'Bareboard' Project, and 'MQX 3.6' Project, and none of those wizards appear to have those options, or create the derivative files.

 

I'm trying to add the Freescale USB stack to an MQX project for the JM128, following the MSDFATFSUG and MEDUSBHOSTUG user guides, but the documentation is very poor and incomplete.  The sample projects include the derivative.h file, but when I try to reproduce the project I don't get that file.

 

Thanks

0 项奖励
回复