Connect with us

Any free C compiler for PIC?

Discussion in '8bit Microcontrollers' started by Eric in somewhere, Nov 14, 2003.

  1. Any free C compiler for PIC?

    Dear All,

    I'm going to start a project using MicroChip PIC16F676. Is it any free C
    compiler for it?

  2. Andrew

    Andrew Guest - CC5X - Picclite

    I have used CC5X quite a lot for teaching purposes for the PIC16F877. It is
    limited to 1K code and has dubious ability when it comes to compiling
    complex expressions etc.

    I intend switching to PICCLITE which has a 2K code limit, and better C
    support (i.e. it doesn't fall over with more complex arithmetic expressions,
    allows for initialisation of Static variables, simpler support for

    However, in support of CC5X it appears to produce more compact code. This
    is partly, I think, because it forces the user to think more about various
    issues (eg what registers to save during an interrupt) which is also a
  3. SDCC, work in progress

    It works on Linux. Since my PC isn't infected by windows I wouldn't know
    if it would compile on windows, it probably would, you have to check for
  4. I used SDCC for a project recently. Expect pain and a lot of time probing
    for workaround solutions for the crappy compiler.
    Its okay for a few quick lines of code, but anything more than that is
    pushing it. Don't expect any help from their newsgroup either.

    Murray R.Van Luyn
  5. Moron! The PIC compiler of SDCC is in it's infancy. If you don't like
    it join the group to fix it or spend some money and buy a commercial one.

    SDCC is excellent for the 80C51 and Z80 as well as my Z180 version. This
    compiler was not written with the PIC in mind. It is quite a challenge to
    make a decent PIC C Compiler so get a life!
  6. Alex Gibson

    Alex Gibson Guest

    You usually get plenty of help on the mail list.
    But it is in alpha / very early beta so what do you expect.

    If you don't mind a limited compiler (2k limit)
    for just 16F877, 16F877A, 12F675, 12F629, 16F627, 16C84, 16F84 and 16F84A
    try the limited demo of the hittech compiler
    both linux and windows versions.

    Also don't forget all pic compilers do academic versions.
    Also you may be able to get the microchip compilers free
    its worth talking with the Australian rep.

    Should give (was c2c) a go.
    Cheapest of the pic c compilers, works quite well
    only support for the 12 and 16 series pics with 18xxx coming next year.

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day