Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
boards:stm8s103 [2015/07/21 09:08]
darron
boards:stm8s103 [2015/07/23 20:45] (current)
darron
Line 7: Line 7:
 a [[:interfaces:stclone|SWIM]] compatible programmer to utilise. a [[:interfaces:stclone|SWIM]] compatible programmer to utilise.
  
 +=== Pinout ===
 +<code>
 ++V  D3  D2  D1  C7  C6  C5  C4  C3  B4  B5
 +
 +                                       3V3
 +USB    RST   TEST-LED-B5              SWIM
 +PWR    BUT   PWR--LED                  GND
 +                                      NRST
 +
 +-V  D4  D5  D6  RST A1  A2  GND 5V  3V3 A3
 +</code>
 +
 +
 +=== LED demo ===
 +
 +Install [[:tools:stm8flash|STM8Flash]] and [[:tools:sdcc|SDCC]].
 +<code>
 +hg clone http://hg.kewl.org/pub/blinky++
 +cd blinky++/STM8S103F3P6
 +make
 +make install
 +</code>