Jump to content

Hitech To Boostc Code Converter


Recommended Posts

We have a new experimental feature added to SourceBoost IDE starting from version 6.95. When a C file is added to a project via the workspace right click menu it is analysed by the ide and if this file looks like written for the HiTech compiler IDE tries to convert it to BoostC format. This won't make it 100% BoostC but still will do some routine work like updating system variable names for you (all changes will be logged in the IDE output window). Please post here (or email to support@sourceboost.com) your feedback about this feature.




Link to comment
Share on other sites

  • 2 months later...

just read this posting after succesfully porting very simple

hi-techC example on my own..WITHOUT a converter

if i can ANYONE can!


after finding the great series of articles by Gooligum electronics,

Australia, including 'programming baseline PICs in C'


i had a stab at changing hi-tech source code to BoostC compatible code...


PDF lesson 1, exercise 4a (source code ' BC_L1-PB_LED-HTC.c ')


Changes to source code to port from hi-tech C to BoostC

for this example, are just these:-


1.change processor to 12F609

(12F509 isn't supported by boostC;unless there's a workround?)


2.change ' include <htc.h> ' to ' include <system.h> '


3.change all references to ' GPIO ' and ' TRISIO '

to lower case i.e.' gpio ' or ' trisio '


this is all that i did to compile the program successfully!

Link to comment
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.

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.


  • Create New...