Skip to main content
BSerb
Associate
Question

sdcc support for standard peripheral library?

The standard library for stm8 can only use Cosmic, Raisonance and IAR compilers, which are all either non-free or limited in some way or another. Is there a plan to include support for sdcc (or at least a way to use it)?

    This topic has been closed for replies.

    9 replies

    After Forever
    Senior III
    Ozone
    Principal

    > Is there a plan to include support for sdcc (or at least a way to use it)?

    From my limited experience with STM8 devices, I would say no.

    STM8 devices seem to be almost unknown in the hobbyist/amateur world, I only know of commercial projects and devices.

    Perhaps a ST employee can prove me wrong.

    I would not put my trust in a SDCC version, but try to modifiy the existing lib code.

    BTW, I used Raisonance at times for a commercial project. It worked, but I wouldn't really recommend it.

    Sisto Zànier
    Senior

    Hi,

    the COSMIC "C" cross-compiler for STM8 is free without code limits, but with the only obligation of annual renewal of the license for use,

    You can download it here:

    http://www.cosmicsoftware.com/download.php

    by clicking on the yellow area on "Download and Register"

    BSerb
    BSerbAuthor
    Associate

    Unfortunately it's only available for Windows machines.

    Ozone
    Principal

    Just for curiosity - why not switching to a core with better support, like the Cortex M0 ?

    When working with the STM8 a few years ago, I got the impression ST does not target (care about) hobbyists at all. Guess this has not changed since.

    It looks different for Cortex M devices.