On Mon, Feb 7, 2011 at 3:53 AM, Suco <sucotro...@gmail.com> wrote: > Hello, > I'm developing a vario-altimeter (used in paragliding) using a Bosch > pressure sensor and a microcontroller. Until now I was using msp430 chip but > I'm thinking about changing it to a pic16f1824 because of the similar price > and higher memory and specs. > My problem is that I don't know if I can program for this chip in C and > compile it in linux. Searching for info it seems that sdcc is the best tool > to do it, so I would to know if this chip is supported. > Thanks in advance. >
You can use sdcc. I'm not sure if that chip is supported yet, but it's not too hard to add support. Or you can usually find another chip with the same memory map and compile for that. I question your move away from msp430 however. You need to be careful when comparing specs: PIC divides the clock by four, PIC has only one register, PIC only operates on 8-bits at a time, sdcc-pic14 is not as good a compiler as mspgcc4 (to be fair, MSP430 is a much friendlier architecture for a compiler.) MSP430 has better timers, better pullup resistor support, better interrupt architecture, better ADC input impedance. And the "value-line" MSP430 is pretty inexpensive. Maybe you're using the wrong MSP430? Regards, Mark markrages@gmail -- Mark Rages, Engineer Midwest Telecine LLC markra...@midwesttelecine.com ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user