compilers

You are currently browsing the archive for the compilers category.

A common criticism of Microchip’s compilers and IDE is that they’re only available on Windows. However, the compilers are all based on GCC so they’re open source. Tayken has been working on a Linux port, and linked to this detailed guide with resources for compiling C30 under Linux. Binaries are not yet available, but the future of PIC on Linux looks bright.

I finished most of it, just have to check if libraries are correctly arranged and do some final tests then I’ll post it on my blog.

This will make it possible to develop for PIC24/30/33 under Linux, that includes the Bus Pirate and the web platform. Great work Tayken!

Read the rest of this entry »

Tags: ,

MinGW is a Windows port of the open source GCC compiler. It will compile native Windows executables from C, C++, and a few other languages. In this post we document our experience compiling the pirate-loader bootloader application.

Pirate-loader, originally written for Microsoft Visual C, is a C program that uploads a new firmware to the Bus Pirate. We’re going to recycle the code in a cross-platform PIC programmer. Pirate-loader has everything we need to get started: serial port read/write routines, a HEX file parser, and a command line options handler to interpret user settings.

Read the rest of this entry »

Tags: , , ,