Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sduino

> 编程语言
Open source

An Arduino-like programming API for the STM8

375 stars0 likes1 views
WebsiteGitHub

About

An Arduino-like programming API for the STM8

Sduino: Small Devices Arduino

Getting started on the STM8 the easy way.

An Arduino-like programming API that can be used from within the Arduino IDE or for Makefile-controlled builds.

  • Project website for more information on supported hardware and the programming API

  • github issue tracker for bug reports and other issues tightly related to the repository content

Since this project is based on the SDCC Small Devices C compiler, I called it "Small Devices -uino" or "Small-duino". It is entirely based on free tools that are available for Linux, MacOS, and Windows: SDCC, make, and stm8flash.

This project is not supposed to be “better than Arduino”. It’s purpose is to give you a head start into a different CPU architecture if you happen to have a professional need or a private desire for it.

Installation

Starting with version 0.3.0 automatic IDE integration is supported via the Arduino Boards Manager. This is the recommanded way of installation now. For a manual non-IDE installation please check the manual installation instructions.

Start the Arduino-IDE. In File->Preferences, Settings tab, enter

https://raw.githubusercontent.com/tenbaht/sduino/master/package_sduino_stm8_index.json

as an Additional Boards Manager URL.

  • Open Tools->Board:...->Boards Manager
  • Find Sduino by typing 'sd' into the search line
  • Click on the list entry
  • Click on Install.

Now you should find a new entry STM8S Boards in the list at Tools->Board:...

  • Choose STM8S103F3 Breakout Board from the list
  • open the standard Blink example from File->Examples->01. Basics->Blink
  • compile it by hitting Verify

Known issues

The Arduino IDE version 1.8.7 is buggy, use 1.8.8 instead.

IDE error message select upload port first (IDE v1.8.7 only): Update to IDE >= 1.8.8 or apply this workaround.

Very slow compilation after using "save as" (IDE v1.8.7 only): After saving a file under a different name the CPU load maxes out for one CPU core and the IDE reacts extremly slow. Exit the Arduino IDE and re-open it. Update to IDE >= 1.8.8.

bash.exe: warning: could not find /tmp, please create!: Shows up on windows systems when using SDuiono versions =1.6.6 should work.

Avoid using Version 1.8.7, it contains some known bugs. It might require a workaround if you see an error message "select upload port first".

  • Linux 64 bit: Tested on Mint 19/Ubuntu 18.04
  • Linux 32 bit: Tested on Mint 19/Ubuntu 18.04
  • Windows: Tested on Windows 7. Sduino might work on XP (not tested), but the ST-Link/V2 driver is not available anymore for XP.
  • MacOS: tested on 10.13.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言