Skip to content

Instantly share code, notes, and snippets.

@stecman
stecman / SConscript
Last active September 29, 2023 09:57
STM8 WS2812 hacked together demo
import os
# Device definition for the stm8s.h header
# This enables available features of the device library.
STM8_DEVICE_DEFINE = "STM8S003"
# Programmer argument for stm8flash (stlink or stlinkv2)
STM8_PROGRAMMER = "stlinkv2"
# Target device argument for stm8flash