RE: test suites [SEC=UNCLASSIFIED]
Michael Waters <[email protected]> Fri, 19 Aug 2011 12:31:05 +1000
| Newsgroups | gmane.comp.hardware.microcontrollers.gnupic |
|---|---|
| Message-ID | <7548A47B0E2E8643BE38DBBD8FD9CA1AD549F4D060@BOM-VMBX-HO.bom.gov.au> |
Hi Joe, I use Small Device C Compiler (SDCC) which is an open source project supporting a range of micro-controller architectures. From the on-line documentation it does support the 16F series and at least some 12F PICs.=20 I would use a C compiler as much as possible simply because the code is more readible when it comes to maintenance later on (even tho. assembler is more fun to write). If assembler is require it can be embedded in the C coded. The problem with SDCC is that it has a fairly steep learning curve. There i= s plenty of documentation but it doesn't spoon feed you. For this reason I would suggest getting some working code with a build system to use as a template.=20 Mike W. ________________________________________ From: Joe Pfeiffer [[email protected]] Sent: Friday, 19 August 2011 3:53 AM To: [email protected] Subject: RE: test suites [SEC=3DUNCLASSIFIED] I'm working down at the bottom end (12F and 16F series), and assembly code (does a C compiler even exist?). I guess what I'm really looking for here is advice on reusable code (and reusing code using something more automated than copy-and-paste) down in this environment... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]