Skip to main content
Visitor II
September 4, 2019
Question

sdcc support for standard peripheral library?

  • September 4, 2019
  • 3 replies
  • 2121 views

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.

    3 replies

    Visitor II
    September 4, 2019
    Explorer
    September 4, 2019

    > 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.

    Visitor II
    September 4, 2019

    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"

    BSerbAuthor
    Visitor II
    September 12, 2019

    Unfortunately it's only available for Windows machines.

    Explorer
    September 12, 2019

    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.