Skip to content

Commit e04af40

Browse files
committed
release version 0.5
The most important change for windows users is the replacement of the msys tools by using busybox. This avoids the (harmless) "could not find /tmp directory" messages. All users will benefit from the reduced code size of the compiled binaries. This results partly from the improved sdcc compiler efficiency and partly from code improvements within the sduino library components. - reduced binary size by splitting some Arduino core files - reduced binary size by optimizing the pinMode() implementation - using busybox as command shell for windows to run the wrapper scripts - move the SPL compilation scripts into a separate project spl-splitter - update SPL files to v2.3.0 (add support for STM8S001) - flatten the repository structure - update stm8gal to version 1.3.0 - updated SDCC to version 3.9/build 11242 - make sure main.c is pulled in for IDE builds as well - building the core library when using make (regression bug in 0.4.0)
1 parent 30a6889 commit e04af40

6 files changed

Lines changed: 144 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
## [Unreleased]
88

99

10-
## [0.5-pre2 - 2019-02-06]
11-
### Added
12-
- a simple regression test script test/make-test.sh to compile all examples
13-
10+
## [0.5 - 2019-05-10]
1411
### Changed
1512
- reduced binary size by splitting some Arduino core files
1613
- reduced binary size by optimizing the pinMode() implementation
@@ -19,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1916
- update SPL files to v2.3.0 (add support for STM8S001)
2017
- flatten the repository structure
2118
- update stm8gal to version 1.3.0
19+
- updated SDCC to version 3.9/build 11242
2220

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

board-manager/Makefile

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

66
# default the tool version to be the current date as YYYY.MM.DD
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+
},

board-manager/parts/tools-entry-sduino-tools-2019.02.05.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44
"systems": [
55
{
66
"host": "i686-pc-linux-gnu",
7-
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-tools_linux32-2019.02.05.tar.bz2",
7+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux32-2019.02.05.tar.bz2",
88
"archiveFileName": "sduino-tools_linux32-2019.02.05.tar.bz2",
99
"checksum": "SHA-256:86c816ce31fc37d8437ac9a1eb88f0c58444b9abbb9bc16934f0977dec474cc3",
1010
"size": "49540"
1111
},{
1212
"host": "x86_64-pc-linux-gnu",
13-
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-tools_linux64-2019.02.05.tar.bz2",
13+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux64-2019.02.05.tar.bz2",
1414
"archiveFileName": "sduino-tools_linux64-2019.02.05.tar.bz2",
1515
"checksum": "SHA-256:e417e67551c6d34b6f9a8b8635eb1eb69342fd021b2962e52e495b2dd333d6c7",
1616
"size": "49362"
1717
},{
1818
"host": "x86_64-apple-darwin",
19-
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-tools_macosx-2019.02.05.tar.bz2",
19+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_macosx-2019.02.05.tar.bz2",
2020
"archiveFileName": "sduino-tools_macosx-2019.02.05.tar.bz2",
2121
"checksum": "SHA-256:5711e486ff060f1a3941a49884bec061110ec33f4865afb1359bfd9e15280766",
2222
"size": "52357"
2323
},{
2424
"host": "i686-mingw32",
25-
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-tools_mingw32-2019.02.05.tar.bz2",
25+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_mingw32-2019.02.05.tar.bz2",
2626
"archiveFileName": "sduino-tools_mingw32-2019.02.05.tar.bz2",
2727
"checksum": "SHA-256:35d76fb968ac7998ec798502be597d7b234ceddb5c2bcb439d8f24711bd34064",
2828
"size": "418464"

package_sduino_stm8_index.json

Lines changed: 70 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,35 @@
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+
},
1241
{
1342
"name": "Sduino STM8 plain C core (non-C++)",
1443
"architecture": "stm8",
@@ -179,25 +208,25 @@
179208
"systems": [
180209
{
181210
"host": "i686-pc-linux-gnu",
182-
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-tools_linux32-2019.02.05.tar.bz2",
211+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux32-2019.02.05.tar.bz2",
183212
"archiveFileName": "sduino-tools_linux32-2019.02.05.tar.bz2",
184213
"checksum": "SHA-256:86c816ce31fc37d8437ac9a1eb88f0c58444b9abbb9bc16934f0977dec474cc3",
185214
"size": "49540"
186215
},{
187216
"host": "x86_64-pc-linux-gnu",
188-
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-tools_linux64-2019.02.05.tar.bz2",
217+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux64-2019.02.05.tar.bz2",
189218
"archiveFileName": "sduino-tools_linux64-2019.02.05.tar.bz2",
190219
"checksum": "SHA-256:e417e67551c6d34b6f9a8b8635eb1eb69342fd021b2962e52e495b2dd333d6c7",
191220
"size": "49362"
192221
},{
193222
"host": "x86_64-apple-darwin",
194-
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-tools_macosx-2019.02.05.tar.bz2",
223+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_macosx-2019.02.05.tar.bz2",
195224
"archiveFileName": "sduino-tools_macosx-2019.02.05.tar.bz2",
196225
"checksum": "SHA-256:5711e486ff060f1a3941a49884bec061110ec33f4865afb1359bfd9e15280766",
197226
"size": "52357"
198227
},{
199228
"host": "i686-mingw32",
200-
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-tools_mingw32-2019.02.05.tar.bz2",
229+
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_mingw32-2019.02.05.tar.bz2",
201230
"archiveFileName": "sduino-tools_mingw32-2019.02.05.tar.bz2",
202231
"checksum": "SHA-256:35d76fb968ac7998ec798502be597d7b234ceddb5c2bcb439d8f24711bd34064",
203232
"size": "418464"
@@ -347,6 +376,43 @@
347376
}
348377
]
349378
},
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+
},
350416
{
351417
"name": "sdcc",
352418
"version": "build.10738",

0 commit comments

Comments
 (0)