C compiler
It has been quite a few months since we heard anything about the C compiler for the SX. Out of curiousity, what was the final outcome with it? I do not see Parallax selling it, so did it end up on the scrap heap?
Thanks
Ray
Thanks
Ray
Comments
I attempted to get a low-cost C compiler started with CCS but we had some difficulty getting the support from them needed to bring the product to market. We could be selling one right now, but in all honesty I didn't see it evolving appropriately to meet the demands of our customers.
There was another C compiler developed by two forum members, but I have not checked in with them on the outcome.
Ken Gracey
Parallax, Inc.
The other (free) compiler is CC1B. RW Senser created a package which makes
it easy to work with.
http://forums.parallax.com/showthread.php?p=673332
As far as I recall there is only one outstanding bug and it has a workaround.
The CC1B compiler generates a SASM source file so you can assemble it
with the sxkey IDE and use SxSim.
I have written several libraries for the CC1B which you will find in the above thread.
regards peter
·
How difficult is it to make a C tool chain, we can use with Eclipse?. The FIRSTies got me involved with programming the pic's with Eclipse and the C18 student version tool chain. Free, Free (Frankly I don't understand why anybody would buy a PIC C compiller for most apps)
The built in features in Eclipse, are way better than anything (Mega $$) Microsoft VS has, and it's free. Check it out here· And a list of plug-ins available
·Quirkus
Post Edited (Capt. Quirk) : 5/17/2008 6:17:41 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing like a new idea and a warm soldering iron.
The PIC18F chips are specifically designed to be easy for a person to write a C compiler for it.
Alas, the PIC16 architecture -- and the SX chips that took the PIC16 architecture and made several improvements -- have many quirks that make it much more difficult to write a C compiler for it.
(But even the PIC16 is not quite as quirky as the 8051 or the RCA 1802. All three architectures were developed before the C language existed).
I'm making a list of all programming languages supported on PIC or SX chips.
There are several items in the "C or C++ for PIC" section.
Please help me make that list even more useful -- by marking which ones are SX compatible.
How far along is the port of SDCC to the SX chip?
.. _wikibooks en.wikibooks.org/wiki/Embedded_Systems/PIC_Programming
.. _massmind massmind.org/techref/microchip/language/cs.htm
.. _SDCC sdcc.sourceforge.net/
regards peter