Small Device C Compiler SDCC
winget install --id=SDCC.SDCC -e
SDCC is a retargettable, optimizing Standard C (ANSI C89, ISO C99, ISO C11, ISO C23) compiler suite that targets the Intel MCS51 based microprocessors (8031, 8032, 8051, 8052, etc.), Maxim (formerly Dallas) DS80C390 variants, Freescale (formerly Motorola) HC08 based (hc08, s08), Zilog Z80 based MCUs (Z80, Z180, SM83, Rabbit 2000, 2000A, 3000A, TLCS-90, R800), Padauk (pdk14, pdk15), STMicroelectronics STM8, MOS 6502 and WDC 65C02. Work is in progress on supporting the Padauk pdk13 target; Microchip PIC16 and PIC18 targets are unmaintained. SDCC can be retargeted for other microprocessors.
Small Device C Compiler (SDCC) is an optimizing compiler suite designed to compile Standard C (ANSI C89, ISO C99, ISO C11, and ISO C23) for a variety of 8-bit microcontrollers. It supports a wide range of architectures, including Intel MCS51-based microprocessors, Maxim DS80C390 variants, Freescale HC08/S08 devices, Zilog Z80-based MCUs (including Rabbit 2000/3000A and TLCS-90), Padauk PDK14/PDK15, STMicroelectronics STM8, MOS 6502, and WDC 65C02. The compiler is highly flexible and can be retargeted to support additional microprocessors.
Key Features:
- Support for multiple architectures: MCS51, DS390, HC08/S08, Z80/Z180, Rabbit, SM83, TLCS-90, Padauk PDK14/PDK15, STM8, MOS 6502, and WDC 65C02.
- Optimizing code generation for efficient performance on resource-constrained devices.
- Compliance with various C standards (ANSI C89, ISO C99, ISO C11, ISO C23).
- Cross-platform compatibility, supporting Solaris, Linux, FreeBSD, NetBSD, BSD, macOS, and Windows.
Audience & Benefit:
Ideal for embedded systems developers working with 8-bit microcontrollers, SDCC provides a robust, open-source solution for developing efficient applications on resource-limited devices. Its retargetability makes it a versatile tool for targeting diverse hardware platforms.
The software can be installed via winget, ensuring easy setup and integration into development environments.