<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>The free toolchain for the STM8</title>
        <link>https://peertube.watch/videos/watch/f143f897-d7d3-4f4a-b41d-b54bd28482fc</link>
        <description>Getting into first place when non-free tools had years of head start. The STM8 is STMicroelectronics' current 8-bit microcontroller architecture. In recent years a free toolchain or the STM8 architecture appeared and quickly surpassed the non-free ones. The central part of the toolchain is the Small Device C Compiler (SDCC), which features some optimizations suited to highly irregular architectures such as the STM8 The talk introduces all parts of the free toolchain for the STM8 and also discusses remaining gaps. The STM8 is a popular 8-bit architecture by ST Microelectronics commonly used in household electronics, automotive application and industrial controls. For quite a while there were no free tools, and the irregular architecture makes it hard to support in GCC or LLVM. In recent years free tools for it started to appear and now form a free toolchain that surpassed preexisting non-free ones. The most important part is the Small Device C Compiler (SDCC). New tree-decomposition-based algorithms from recent compiler research have been implemented in SDCC, including a new register allocator particularly suited to irregular architectures with few registers. SDCC quickly surpassed the non-free compiler in standard compliance and OS support and generates substantially faster integer code. Programs can be flashed by stcgal (via a serial link on STM8 devices that have a bootloader) and stm8flash (via the SWIM interface of ST-LINK hardware). OpenOCD and GDB allow on-target debugging via the ST-LINK. IDEs complete the development environment. However, stcgal still needs non-free binary blobs for use with some devices and the ST-LINK has non-free firmware. SDCC still falls short in floating-point performance. While there are some ports of free RTOSes that use the free toolchain for the STM8, more would be desirable. Speaker: Philipp Klaus Krause, Track: Embedded, mobile and automotive, Room: UD2.218A, When: Saturday 3 February 2018, 11:00–11:30 (Brussels time), Schedule: FOSDEM 2018 event page, Licence: Creative Commons Attribution 2.0 Belgium (CC BY 2.0 BE) (as stated in the FOSDEM video archive). Attribution: “The free toolchain for the STM8” by Philipp Klaus Krause, FOSDEM 2018. Original recording: 2018/UD2.218A/stm8.webm from the FOSDEM video archive. This channel is an unofficial mirror; FOSDEM is a free and non-commercial event organised by the community for the community.</description>
        <lastBuildDate>Sat, 10 Oct 2026 00:35:28 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://peertube.watch</generator>
        <image>
            <title>The free toolchain for the STM8</title>
            <url>https://peertube.watch/lazy-static/avatars/3b284627-b75f-409e-ac2e-10f4c2946f43.png</url>
            <link>https://peertube.watch/videos/watch/f143f897-d7d3-4f4a-b41d-b54bd28482fc</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://peertube.watch/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://peertube.watch/feeds/video-comments.xml?videoId=f143f897-d7d3-4f4a-b41d-b54bd28482fc" rel="self" type="application/rss+xml"/>
    </channel>
</rss>