Doonstack - cw 10.1

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

Doonstack - cw 10.1

Jump to solution
1,547 Views
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)

Labels (1)
1 Solution
571 Views
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

View solution in original post

0 Kudos
4 Replies
571 Views
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 Kudos
572 Views
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 Kudos
571 Views
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 Kudos
571 Views
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 Kudos