Code
-
Best way to install SDCC
I have previously posted a blog on how I was able to install the sdcc compiler. In that blog I had used the Ubuntu’s software center to install the software. But it comes with its share of problems:a It does not contain the header files for PIC It misses libraries for PIC As the version…
-
Making the first PIC 18f2550 project in CODE::BLOCKS
Code::Blocks is a very nice cross platform IDE. I had been experimenting with it and have interfaced with SDCC compiler. CODE::BLOCKS automatically integrates with SDCC and it automatically fills in the necessary toolchain executables. So I will leave this part and jump directly to the steps for building the first project. Steps for configuring the…
-
Linux Guide to using SDCC compilers for PIC microcontroller
SDCC or Small device C compiler is an amazing open source compiler. This guide covers the necessary steps needed to setup the SDCC compiler for PIC microcontroller. SDCC has several benefits over the commercial licensed compilers. Firstly, It is free. Secondly, SDCC is retargetable compiler. That is, a wide range of controllers can be compiled…