user27914: I got one of these cheap STM8 boards from China and was hoping to find a way to use this with arduino code. 

Does anyone know of an arduino boot loader and board package that works with them ?

user30005: There is a bootloader on those chips to slow serial programming. A much easier way to to get a stlink debugger.
There are also some packages that allow Arduino styled programming on those chips. I wrote one myself that runs on iar and I think at least one on sdcc.
Those chips are really nice.

user54497: Start the Arduino-IDE. In File->Preferences, Settings tab, enter
https://github.com/tenbaht/sduino/raw/master/package_sduino_stm8_index.json
Open Tools->Board:...->Boards Manager
Find Sduino by typing 'sd' into the search line
Click on the list entry
Click on Install.
This link is more comprehensive
https://tenbaht.github.io/sduino/

27914: <p>I got one of these cheap STM8 boards from China and was hoping to find a way to use this with arduino code. 
<a href="https://i.stack.imgur.com/pju2q.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pju2q.jpg" alt="STM8 development board"></a>
Does anyone know of an arduino boot loader and board package that works with them ?</p>
 30005: <p>There is a bootloader on those chips to slow serial programming. A much easier way to to get a stlink debugger.</p>

<p>There are also some packages that allow Arduino styled programming on those chips. I wrote one myself that runs on iar and I think at least one on sdcc.</p>

<p>Those chips are really nice.</p>
 54497: <p>Start the Arduino-IDE. In File->Preferences, Settings tab, enter</p>

<p><a href="https://github.com/tenbaht/sduino/raw/master/package_sduino_stm8_index.json" rel="nofollow noreferrer">https://github.com/tenbaht/sduino/raw/master/package_sduino_stm8_index.json</a></p>

<p>Open Tools->Board:...->Boards Manager</p>

<p>Find Sduino by typing 'sd' into the search line</p>

<p>Click on the list entry</p>

<p>Click on Install.</p>

<p>This link is more comprehensive</p>

<p><a href="https://tenbaht.github.io/sduino/" rel="nofollow noreferrer">https://tenbaht.github.io/sduino/</a></p>
