Jump to content
Sign in to follow this  
Gus

Boostc1.5 Compiler Problem

Recommended Posts

I have unpacked the BoostC 1.5 into my SourceBoost install directory. I then tried to compile and run the interrupt.__c project.

 

I get the error on this line of code

#pragma DATA 0x2007, _HS_OSC & _WDT_OFF & _LVP_OFF

 

the error just says:

interrupt.c(16): error: failure

 

I haven't made any changes to the code.

Target is PIC16F84a

Clock Rate: 4000000

 

Help would be much appreciated.

Share this post


Link to post
Share on other sites

That's because 16F84 doesn't have _LVP_OFF defined. You need to change the config word to match your target.

 

Regards,

Pavel

 

PS: BoostC 1.5 is already an old release. Please upgrade to SourceBoost 5.7 that includes BoostC 1.6

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...