Jump to content
Sign in to follow this  
jmo

script files

Recommended Posts

Hi,

I'm an engeneer but new with pics and this compiler. I just installed it on my laptop and tried to make my first project.

 

I target a PIC16F874. This µC has PAT file. I tried to use it but compiler seems not to it !

 

Here's the compiler's output :

 

E:\ite\pic\develop>C:\PROGRA~1\PicAnt\c2c.exe -PPIC16F874 -SRC -ols -md -O2 -Ip16F874.inc -oE:\ite\pic\develop\sod.asm  main.c

C2C-plus 5.0.6e C-compiler  Copyright© 1998-99,2000-2003 by Pavel Baranov

http://www.picant.com/c2c/c.html

support@picant.com

(Extended version)

 

Licensed to: Jean-Pierre DESMAZURES

 

 

main.c

Warning: Can't map context saving variables into mapped ram area. Check if the piccont4.pat or piccont2.pat script is used (in the 'Scripts' directory)

Message: Built-in variables are obsolete. Use variables defined inside the system header file

Optimized 12 instruction(s)

 

 

Finished.

 

 

I've oubvioulsy checked that "piccont4.pat" was present in :

C:\Program Files\PicAnt\scripts

 

 

I had a glimpse to your changelog and I've seen that the bug was supposed to have been corrected a long time ago.

 

:D

Share this post


Link to post
Share on other sites
Guest Pavel
...

main.c

Warning: Can't map context saving variables into mapped ram area. Check if the piccont4.pat or piccont2.pat script is used (in the 'Scripts' directory)

...

This warning will be there regardless if pat scripts are used or not. To verify that the script really works set the debug field inside the script to "on".

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...