Suvarna Garge (Editor)

Small Device C Compiler

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Type
  
C compiler

License
  
GPL

Developer(s)
  
Sandeep Dutta and others

Stable release
  
3.6.0 / June 12, 2016; 9 months ago (2016-06-12)

Repository
  
sourceforge.net/p/sdcc/code/HEAD/tree/

Operating system
  
Microsoft Windows, OS X, Linux

The Small Device C Compiler (SDCC) is a free-software, partially retargetable C compiler for microcontrollers. It is distributed under the GNU General Public License. The package also contains a linker, assembler, simulator and debugger. As of March 2007, SDCC is the only open-source C compiler for Intel 8051-compatible microcontrollers. In 2011 the compiler was downloaded on average more than 200 times per day.

The SDCC compiler was used by the FreeRTOS project to port its real-time operating system to the 8051-based Silabs (formerly Cygnal) series of microcontrollers.

Supported target architectures

  • Intel 8051 and its derivatives.
  • Zilog Z80 and binary compatible derivatives such as the eZ80.
  • Zilog Z180.
  • Rabbit 2000 and the binary compatible derivative Rabbit 3000.
  • Rabbit 3000A and binary compatible derivatives such as the Rabbit 4000.
  • Sharp LR35902 (the CPU used in the Game Boy).
  • Freescale (Motorola) HC08.
  • Freescale S08.
  • STMicroelectronics STM8.
  • Toshiba TLCS-90.
  • Work is in progress on:

  • Microchip PIC16 and PIC18.
  • References

    Small Device C Compiler Wikipedia