Jump to content

Visualstate + Hitech C Port


Recommended Posts

I am in trying (so far in vain) to port an application I wrote on Hitech PIcc lite using a state machine compiler from IAR (called VisualSTATE). A proof of concept I developed built and worked fine on a 12F675 which I was very pleased by (its only a 1K part with 64 bytes RAM). Alas I am out of resources and am looking for an affordable C compiler. The problem I am having is with the port of the coder generated files from the IAR product aren't working. I cannot rewrite them because the whole point of a state machine compiler is to have the state machine compiler generate the code for the programmer.

 

here is a brief explanation of the software project:

 

http://www.jonesresidence.com/2006picc.htm

 

My problems so far:

 

compiler doesn't like:

 

#if (UCHAR_MAX >= 0x0ffffffffUL)

 

I ended up commenting this out to get the build to proceed.

 

Now, the compiler doesn't like:

 

main.c

SEMBDef.h(120): error: failure

 

the line in question is:

 

typedef VS_BOOL (* VS_GUARDEXPR_TYPE) (VS_VOID);

 

not a very descriptive error code so don't really know where to go with that.

 

I'm pretty I am missing something fundamental here because I get the impression these errors are going to continue as I push one out of the way a new one arises.

 

 

Can anyone help?

 

Thanks for your consideration.

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...
×
×
  • Create New...