Doonstack - cw 10.1

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

Doonstack - cw 10.1

跳至解决方案
1,800 次查看
roberto_m
Contributor III

Hi,

I'm going to use (mainly) CW 10.1 (and leaving CW 6.3). I create a new project in CW 10.1. Then I import AN3942SW doonstack source code, but if I try to build it I get:

 

 ERROR A2309 File not found.

 

It refers to: Include 'doonstack.inc'. This line is present in doonstack.asm.

 

Does anyone know why? (and what I have to do)

标签 (1)
1 解答
824 次查看
CrasyCat
Specialist III

Hello

 

I guess you are missing the path to the assembly include file in the project.

In order to add it:

  • Open the Project Properties dialog (Select Project > Properties)
  • Go to C/C++ Build > Settings > Tool Settings > HCS08 Assembler > Input page.
  • In the Include file search paths edit box add the path to the folder where the .inc file is located.
         You can use ${ProjDirPath} to specify a location relative to the project directory (i.e. the directory where
         the file  .project is located). 

 

 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
4 回复数
824 次查看
anurudhtiwari
Contributor II

Hi guys,

   I need these files (doonstack.asm, doonstack.h, doonstack.inc ). can u please send me these files.

Thanks

Anurudh

0 项奖励
回复
825 次查看
CrasyCat
Specialist III

Hello

 

I guess you are missing the path to the assembly include file in the project.

In order to add it:

  • Open the Project Properties dialog (Select Project > Properties)
  • Go to C/C++ Build > Settings > Tool Settings > HCS08 Assembler > Input page.
  • In the Include file search paths edit box add the path to the folder where the .inc file is located.
         You can use ${ProjDirPath} to specify a location relative to the project directory (i.e. the directory where
         the file  .project is located). 

 

 

CrasyCat

0 项奖励
回复
824 次查看
roberto_m
Contributor III

Yes, BigMac I did it (put *.asm and *.h file).

As you and CrayCat (thank you!!!) said I was missing tha path to the assembly. I'm still newbie on CW10.1.

Thak you.

0 项奖励
回复
824 次查看
bigmac
Specialist III

Hello,

 

According to the AN there are three files that need to be copied to the new project, including the one you mention.  The others are a .h header file and a .ASM file.  Did you do this?  I might assume that the .INC file should have a similar path as the .h files within the project.

 

Regards,

Mac

 

0 项奖励
回复