Skip to content

Commit 3dde1bc

Browse files
committed
Merge branch 'release-0.5' into development
2 parents e32c670 + e04af40 commit 3dde1bc

8 files changed

Lines changed: 292 additions & 7 deletions

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
8-
### Added
9-
- a simple regression test script test/make-test.sh to compile all examples
108

9+
10+
## [0.5 - 2019-05-10]
1111
### Changed
1212
- reduced binary size by splitting some Arduino core files
1313
- reduced binary size by optimizing the pinMode() implementation
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1616
- update SPL files to v2.3.0 (add support for STM8S001)
1717
- flatten the repository structure
1818
- update stm8gal to version 1.3.0
19+
- updated SDCC to version 3.9/build 11242
1920

2021
### Fixed
2122
- make sure main.c is pulled in for IDE builds as well

board-manager/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# the required versions for the new build
2-
COREVERSION=0.4.0
3-
SDCCVERSION=10738
4-
TOOLSVERSION=2018.12.07
2+
COREVERSION=0.5
3+
SDCCVERSION=11242
4+
TOOLSVERSION=2019.02.05
55

66
# default the tool version to be the current date as YYYY.MM.DD
77
#TOOLSVERSION?=$(shell date '+%Y.%m.%d')

board-manager/minimize-sdcc.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ TAR_EXCLUDE='--exclude=doc --exclude=src --exclude=non-free
4040
--exclude=*00 --exclude=*08 --exclude=*2k
4141
--exclude=*51 --exclude=*80 --exclude=*90
4242
--exclude=*gb --exclude=*ka --exclude=*.info
43+
--exclude=*pdk* --exclude=*rab --exclude=huge
4344
--exclude=large* --exclude=medium --exclude=small*'
4445

4546
ZIP_EXCLUDE='-x */non-free/* */src/* *stlcs* */pic*
46-
*00* *08* *80* *90* *51* *2k* *gb* *ka* */info/*
47-
*/large* */medium/* */small*'
47+
*00* *08* *80* *90* *51* *2k* *gb* *ka* */info/* *pdk* *rab*
48+
*/huge/* */large* */medium/* */small*'
4849

4950
TMP=$(mktemp -d sdcc-repack-XXXXXX --tmpdir)
5051

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "Sduino STM8 plain C core (non-C++)",
3+
"architecture": "stm8",
4+
"version": "0.5-pre2",
5+
"category": "Contributed",
6+
"boards": [
7+
{"name": "STM8S103F3 Breakout Board"},
8+
{"name": "STM8S105C6 Discovery Board"},
9+
{"name": "STM8S105K4T6 Breakout Board"},
10+
{"name": "sduino UNO (STM8S105K6)"},
11+
{"name": "sduino MB (STM8S208MBT6B)"}
12+
],
13+
"toolsDependencies": [
14+
{
15+
"name": "STM8Tools",
16+
"version": "2019.02.05",
17+
"packager": "sduino"
18+
},
19+
{
20+
"name": "sdcc",
21+
"version": "build.10738",
22+
"packager": "sduino"
23+
}
24+
],
25+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-core-0.5-pre2.tar.bz2",
26+
"archiveFileName": "sduino-core-0.5-pre2.tar.bz2",
27+
"checksum": "SHA-256:13f039942368fdc2fea5470c2d3d58d9fb377cc7ca9502b1177f11ae8c75a7d8",
28+
"size": "2263319"
29+
},
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "Sduino STM8 plain C core (non-C++)",
3+
"architecture": "stm8",
4+
"version": "0.5",
5+
"category": "Contributed",
6+
"boards": [
7+
{"name": "STM8S103F3 Breakout Board"},
8+
{"name": "STM8S105C6 Discovery Board"},
9+
{"name": "STM8S105K4T6 Breakout Board"},
10+
{"name": "sduino UNO (STM8S105K6)"},
11+
{"name": "sduino MB (STM8S208MBT6B)"}
12+
],
13+
"toolsDependencies": [
14+
{
15+
"name": "STM8Tools",
16+
"version": "2019.02.05",
17+
"packager": "sduino"
18+
},
19+
{
20+
"name": "sdcc",
21+
"version": "build.11242",
22+
"packager": "sduino"
23+
}
24+
],
25+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-core-0.5.tar.bz2",
26+
"archiveFileName": "sduino-core-0.5.tar.bz2",
27+
"checksum": "SHA-256:16a8083583c704b18921cf5f8ededde925d313b4af6d9d64fa95ae2255e2bbf5",
28+
"size": "2263740"
29+
},
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "sdcc",
3+
"version": "build.11242",
4+
"systems": [
5+
{
6+
"host": "x86_64-pc-linux-gnu",
7+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-amd64-unknown-linux2.5-20190502-11242.tar.bz2",
8+
"archiveFileName": "sdcc-stm8-amd64-unknown-linux2.5-20190502-11242.tar.bz2",
9+
"checksum": "SHA-256:f69122faf38e72cccb7acc9b4d215e6e74901c053e04295c7ec8f4c29c5bad65",
10+
"size": "2604557"
11+
},{
12+
"host": "x86_64-pc-linux-gnu",
13+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-armv6l-unknown-linux-gnueabihf-20190502-11242.tar.bz2",
14+
"archiveFileName": "sdcc-stm8-armv6l-unknown-linux-gnueabihf-20190502-11242.tar.bz2",
15+
"checksum": "SHA-256:e079f964d7b74a8744681dfb53047aecdd0b563dee02c3724dd83a9d4b1e577c",
16+
"size": "2388318"
17+
},{
18+
"host": "i686-pc-linux-gnu",
19+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-i386-unknown-linux2.5-20190502-11242.tar.bz2",
20+
"archiveFileName": "sdcc-stm8-i386-unknown-linux2.5-20190502-11242.tar.bz2",
21+
"checksum": "SHA-256:86d3c21aa49199a0ffcf201148c261d5a391d9365b472ab434c3d3acf864de29",
22+
"size": "2649974"
23+
},{
24+
"host": "i686-mingw32",
25+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-i586-mingw32msvc-20190502-11242.tar.bz2",
26+
"archiveFileName": "sdcc-stm8-i586-mingw32msvc-20190502-11242.tar.bz2",
27+
"checksum": "SHA-256:1acdd54d62207bced3abb51fc401b0af85ef4711525033764b089fa0db7cb868",
28+
"size": "3034472"
29+
},{
30+
"host": "x86_64-apple-darwin",
31+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-x86_64-apple-macosx-20190502-11242.tar.bz2",
32+
"archiveFileName": "sdcc-stm8-x86_64-apple-macosx-20190502-11242.tar.bz2",
33+
"checksum": "SHA-256:b34b236bef7a2c87db601995e95e928cca1af56c8fd7018cf5612a8314afb559",
34+
"size": "2803984"
35+
}
36+
]
37+
},
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "STM8Tools",
3+
"version": "2019.02.05",
4+
"systems": [
5+
{
6+
"host": "i686-pc-linux-gnu",
7+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux32-2019.02.05.tar.bz2",
8+
"archiveFileName": "sduino-tools_linux32-2019.02.05.tar.bz2",
9+
"checksum": "SHA-256:86c816ce31fc37d8437ac9a1eb88f0c58444b9abbb9bc16934f0977dec474cc3",
10+
"size": "49540"
11+
},{
12+
"host": "x86_64-pc-linux-gnu",
13+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux64-2019.02.05.tar.bz2",
14+
"archiveFileName": "sduino-tools_linux64-2019.02.05.tar.bz2",
15+
"checksum": "SHA-256:e417e67551c6d34b6f9a8b8635eb1eb69342fd021b2962e52e495b2dd333d6c7",
16+
"size": "49362"
17+
},{
18+
"host": "x86_64-apple-darwin",
19+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_macosx-2019.02.05.tar.bz2",
20+
"archiveFileName": "sduino-tools_macosx-2019.02.05.tar.bz2",
21+
"checksum": "SHA-256:5711e486ff060f1a3941a49884bec061110ec33f4865afb1359bfd9e15280766",
22+
"size": "52357"
23+
},{
24+
"host": "i686-mingw32",
25+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_mingw32-2019.02.05.tar.bz2",
26+
"archiveFileName": "sduino-tools_mingw32-2019.02.05.tar.bz2",
27+
"checksum": "SHA-256:35d76fb968ac7998ec798502be597d7b234ceddb5c2bcb439d8f24711bd34064",
28+
"size": "418464"
29+
}
30+
]
31+
},

package_sduino_stm8_index.json

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,64 @@
99
"online": "http://www.stm32duino.com/viewforum.php?f=52"
1010
},
1111
"platforms" : [
12+
{
13+
"name": "Sduino STM8 plain C core (non-C++)",
14+
"architecture": "stm8",
15+
"version": "0.5",
16+
"category": "Contributed",
17+
"boards": [
18+
{"name": "STM8S103F3 Breakout Board"},
19+
{"name": "STM8S105C6 Discovery Board"},
20+
{"name": "STM8S105K4T6 Breakout Board"},
21+
{"name": "sduino UNO (STM8S105K6)"},
22+
{"name": "sduino MB (STM8S208MBT6B)"}
23+
],
24+
"toolsDependencies": [
25+
{
26+
"name": "STM8Tools",
27+
"version": "2019.02.05",
28+
"packager": "sduino"
29+
},
30+
{
31+
"name": "sdcc",
32+
"version": "build.11242",
33+
"packager": "sduino"
34+
}
35+
],
36+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-core-0.5.tar.bz2",
37+
"archiveFileName": "sduino-core-0.5.tar.bz2",
38+
"checksum": "SHA-256:16a8083583c704b18921cf5f8ededde925d313b4af6d9d64fa95ae2255e2bbf5",
39+
"size": "2263740"
40+
},
41+
{
42+
"name": "Sduino STM8 plain C core (non-C++)",
43+
"architecture": "stm8",
44+
"version": "0.5-pre2",
45+
"category": "Contributed",
46+
"boards": [
47+
{"name": "STM8S103F3 Breakout Board"},
48+
{"name": "STM8S105C6 Discovery Board"},
49+
{"name": "STM8S105K4T6 Breakout Board"},
50+
{"name": "sduino UNO (STM8S105K6)"},
51+
{"name": "sduino MB (STM8S208MBT6B)"}
52+
],
53+
"toolsDependencies": [
54+
{
55+
"name": "STM8Tools",
56+
"version": "2019.02.05",
57+
"packager": "sduino"
58+
},
59+
{
60+
"name": "sdcc",
61+
"version": "build.10738",
62+
"packager": "sduino"
63+
}
64+
],
65+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-core-0.5-pre2.tar.bz2",
66+
"archiveFileName": "sduino-core-0.5-pre2.tar.bz2",
67+
"checksum": "SHA-256:13f039942368fdc2fea5470c2d3d58d9fb377cc7ca9502b1177f11ae8c75a7d8",
68+
"size": "2263319"
69+
},
1270
{
1371
"name": "Sduino STM8 plain C core (non-C++)",
1472
"architecture": "stm8",
@@ -144,6 +202,68 @@
144202
}
145203
],
146204
"tools" : [
205+
{
206+
"name": "STM8Tools",
207+
"version": "2019.02.05",
208+
"systems": [
209+
{
210+
"host": "i686-pc-linux-gnu",
211+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux32-2019.02.05.tar.bz2",
212+
"archiveFileName": "sduino-tools_linux32-2019.02.05.tar.bz2",
213+
"checksum": "SHA-256:86c816ce31fc37d8437ac9a1eb88f0c58444b9abbb9bc16934f0977dec474cc3",
214+
"size": "49540"
215+
},{
216+
"host": "x86_64-pc-linux-gnu",
217+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux64-2019.02.05.tar.bz2",
218+
"archiveFileName": "sduino-tools_linux64-2019.02.05.tar.bz2",
219+
"checksum": "SHA-256:e417e67551c6d34b6f9a8b8635eb1eb69342fd021b2962e52e495b2dd333d6c7",
220+
"size": "49362"
221+
},{
222+
"host": "x86_64-apple-darwin",
223+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_macosx-2019.02.05.tar.bz2",
224+
"archiveFileName": "sduino-tools_macosx-2019.02.05.tar.bz2",
225+
"checksum": "SHA-256:5711e486ff060f1a3941a49884bec061110ec33f4865afb1359bfd9e15280766",
226+
"size": "52357"
227+
},{
228+
"host": "i686-mingw32",
229+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_mingw32-2019.02.05.tar.bz2",
230+
"archiveFileName": "sduino-tools_mingw32-2019.02.05.tar.bz2",
231+
"checksum": "SHA-256:35d76fb968ac7998ec798502be597d7b234ceddb5c2bcb439d8f24711bd34064",
232+
"size": "418464"
233+
}
234+
]
235+
},
236+
{
237+
"name": "STM8Tools",
238+
"version": "2019.01.15",
239+
"systems": [
240+
{
241+
"host": "i686-pc-linux-gnu",
242+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5.0-pre1/sduino-tools_linux32-2019.01.15.tar.bz2",
243+
"archiveFileName": "sduino-tools_linux32-2019.01.15.tar.bz2",
244+
"checksum": "SHA-256:25a652b1319ff711c2c47af065aa2786a38b71151e0b3e839a81d1084509afaf",
245+
"size": "45038"
246+
},{
247+
"host": "x86_64-pc-linux-gnu",
248+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5.0-pre1/sduino-tools_linux64-2019.01.15.tar.bz2",
249+
"archiveFileName": "sduino-tools_linux64-2019.01.15.tar.bz2",
250+
"checksum": "SHA-256:12917e22acccc882a2b777e7883163c1938da3e21f68433dd1f9157f865950cf",
251+
"size": "45664"
252+
},{
253+
"host": "x86_64-apple-darwin",
254+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5.0-pre1/sduino-tools_macosx-2019.01.15.tar.bz2",
255+
"archiveFileName": "sduino-tools_macosx-2019.01.15.tar.bz2",
256+
"checksum": "SHA-256:786267e3ee2aea3b4b50a00bfdc49244727e95f1f05a44b135139744ffe24a5e",
257+
"size": "48036"
258+
},{
259+
"host": "i686-mingw32",
260+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5.0-pre1/sduino-tools_mingw32-2019.01.15.tar.bz2",
261+
"archiveFileName": "sduino-tools_mingw32-2019.01.15.tar.bz2",
262+
"checksum": "SHA-256:36979e642e75ecf6ea26e4a15e263ddb4ee9b1b4eaec4756514c6062bdface6a",
263+
"size": "414118"
264+
}
265+
]
266+
},
147267
{
148268
"name": "STM8Tools",
149269
"version": "2018.12.07",
@@ -256,6 +376,43 @@
256376
}
257377
]
258378
},
379+
{
380+
"name": "sdcc",
381+
"version": "build.11242",
382+
"systems": [
383+
{
384+
"host": "x86_64-pc-linux-gnu",
385+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-amd64-unknown-linux2.5-20190502-11242.tar.bz2",
386+
"archiveFileName": "sdcc-stm8-amd64-unknown-linux2.5-20190502-11242.tar.bz2",
387+
"checksum": "SHA-256:f69122faf38e72cccb7acc9b4d215e6e74901c053e04295c7ec8f4c29c5bad65",
388+
"size": "2604557"
389+
},{
390+
"host": "x86_64-pc-linux-gnu",
391+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-armv6l-unknown-linux-gnueabihf-20190502-11242.tar.bz2",
392+
"archiveFileName": "sdcc-stm8-armv6l-unknown-linux-gnueabihf-20190502-11242.tar.bz2",
393+
"checksum": "SHA-256:e079f964d7b74a8744681dfb53047aecdd0b563dee02c3724dd83a9d4b1e577c",
394+
"size": "2388318"
395+
},{
396+
"host": "i686-pc-linux-gnu",
397+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-i386-unknown-linux2.5-20190502-11242.tar.bz2",
398+
"archiveFileName": "sdcc-stm8-i386-unknown-linux2.5-20190502-11242.tar.bz2",
399+
"checksum": "SHA-256:86d3c21aa49199a0ffcf201148c261d5a391d9365b472ab434c3d3acf864de29",
400+
"size": "2649974"
401+
},{
402+
"host": "i686-mingw32",
403+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-i586-mingw32msvc-20190502-11242.tar.bz2",
404+
"archiveFileName": "sdcc-stm8-i586-mingw32msvc-20190502-11242.tar.bz2",
405+
"checksum": "SHA-256:1acdd54d62207bced3abb51fc401b0af85ef4711525033764b089fa0db7cb868",
406+
"size": "3034472"
407+
},{
408+
"host": "x86_64-apple-darwin",
409+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-x86_64-apple-macosx-20190502-11242.tar.bz2",
410+
"archiveFileName": "sdcc-stm8-x86_64-apple-macosx-20190502-11242.tar.bz2",
411+
"checksum": "SHA-256:b34b236bef7a2c87db601995e95e928cca1af56c8fd7018cf5612a8314afb559",
412+
"size": "2803984"
413+
}
414+
]
415+
},
259416
{
260417
"name": "sdcc",
261418
"version": "build.10738",

0 commit comments

Comments
 (0)