-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
513 changed files
with
4,895 additions
and
3,021 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "Sduino STM8 plain C core (non-C++)", | ||
"architecture": "stm8", | ||
"version": "0.5-pre2", | ||
"category": "Contributed", | ||
"boards": [ | ||
{"name": "STM8S103F3 Breakout Board"}, | ||
{"name": "STM8S105C6 Discovery Board"}, | ||
{"name": "STM8S105K4T6 Breakout Board"}, | ||
{"name": "sduino UNO (STM8S105K6)"}, | ||
{"name": "sduino MB (STM8S208MBT6B)"} | ||
], | ||
"toolsDependencies": [ | ||
{ | ||
"name": "STM8Tools", | ||
"version": "2019.02.05", | ||
"packager": "sduino" | ||
}, | ||
{ | ||
"name": "sdcc", | ||
"version": "build.10738", | ||
"packager": "sduino" | ||
} | ||
], | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5-pre2/sduino-core-0.5-pre2.tar.bz2", | ||
"archiveFileName": "sduino-core-0.5-pre2.tar.bz2", | ||
"checksum": "SHA-256:13f039942368fdc2fea5470c2d3d58d9fb377cc7ca9502b1177f11ae8c75a7d8", | ||
"size": "2263319" | ||
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "Sduino STM8 plain C core (non-C++)", | ||
"architecture": "stm8", | ||
"version": "0.5", | ||
"category": "Contributed", | ||
"boards": [ | ||
{"name": "STM8S103F3 Breakout Board"}, | ||
{"name": "STM8S105C6 Discovery Board"}, | ||
{"name": "STM8S105K4T6 Breakout Board"}, | ||
{"name": "sduino UNO (STM8S105K6)"}, | ||
{"name": "sduino MB (STM8S208MBT6B)"} | ||
], | ||
"toolsDependencies": [ | ||
{ | ||
"name": "STM8Tools", | ||
"version": "2019.02.05", | ||
"packager": "sduino" | ||
}, | ||
{ | ||
"name": "sdcc", | ||
"version": "build.11242", | ||
"packager": "sduino" | ||
} | ||
], | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-core-0.5.tar.bz2", | ||
"archiveFileName": "sduino-core-0.5.tar.bz2", | ||
"checksum": "SHA-256:16a8083583c704b18921cf5f8ededde925d313b4af6d9d64fa95ae2255e2bbf5", | ||
"size": "2263740" | ||
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "sdcc", | ||
"version": "build.11242", | ||
"systems": [ | ||
{ | ||
"host": "x86_64-pc-linux-gnu", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-amd64-unknown-linux2.5-20190502-11242.tar.bz2", | ||
"archiveFileName": "sdcc-stm8-amd64-unknown-linux2.5-20190502-11242.tar.bz2", | ||
"checksum": "SHA-256:f69122faf38e72cccb7acc9b4d215e6e74901c053e04295c7ec8f4c29c5bad65", | ||
"size": "2604557" | ||
},{ | ||
"host": "x86_64-pc-linux-gnu", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-armv6l-unknown-linux-gnueabihf-20190502-11242.tar.bz2", | ||
"archiveFileName": "sdcc-stm8-armv6l-unknown-linux-gnueabihf-20190502-11242.tar.bz2", | ||
"checksum": "SHA-256:e079f964d7b74a8744681dfb53047aecdd0b563dee02c3724dd83a9d4b1e577c", | ||
"size": "2388318" | ||
},{ | ||
"host": "i686-pc-linux-gnu", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-i386-unknown-linux2.5-20190502-11242.tar.bz2", | ||
"archiveFileName": "sdcc-stm8-i386-unknown-linux2.5-20190502-11242.tar.bz2", | ||
"checksum": "SHA-256:86d3c21aa49199a0ffcf201148c261d5a391d9365b472ab434c3d3acf864de29", | ||
"size": "2649974" | ||
},{ | ||
"host": "i686-mingw32", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-i586-mingw32msvc-20190502-11242.tar.bz2", | ||
"archiveFileName": "sdcc-stm8-i586-mingw32msvc-20190502-11242.tar.bz2", | ||
"checksum": "SHA-256:1acdd54d62207bced3abb51fc401b0af85ef4711525033764b089fa0db7cb868", | ||
"size": "3034472" | ||
},{ | ||
"host": "x86_64-apple-darwin", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sdcc-stm8-x86_64-apple-macosx-20190502-11242.tar.bz2", | ||
"archiveFileName": "sdcc-stm8-x86_64-apple-macosx-20190502-11242.tar.bz2", | ||
"checksum": "SHA-256:b34b236bef7a2c87db601995e95e928cca1af56c8fd7018cf5612a8314afb559", | ||
"size": "2803984" | ||
} | ||
] | ||
}, |
31 changes: 31 additions & 0 deletions
31
board-manager/parts/tools-entry-sduino-tools-2019.02.05.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "STM8Tools", | ||
"version": "2019.02.05", | ||
"systems": [ | ||
{ | ||
"host": "i686-pc-linux-gnu", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux32-2019.02.05.tar.bz2", | ||
"archiveFileName": "sduino-tools_linux32-2019.02.05.tar.bz2", | ||
"checksum": "SHA-256:86c816ce31fc37d8437ac9a1eb88f0c58444b9abbb9bc16934f0977dec474cc3", | ||
"size": "49540" | ||
},{ | ||
"host": "x86_64-pc-linux-gnu", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_linux64-2019.02.05.tar.bz2", | ||
"archiveFileName": "sduino-tools_linux64-2019.02.05.tar.bz2", | ||
"checksum": "SHA-256:e417e67551c6d34b6f9a8b8635eb1eb69342fd021b2962e52e495b2dd333d6c7", | ||
"size": "49362" | ||
},{ | ||
"host": "x86_64-apple-darwin", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_macosx-2019.02.05.tar.bz2", | ||
"archiveFileName": "sduino-tools_macosx-2019.02.05.tar.bz2", | ||
"checksum": "SHA-256:5711e486ff060f1a3941a49884bec061110ec33f4865afb1359bfd9e15280766", | ||
"size": "52357" | ||
},{ | ||
"host": "i686-mingw32", | ||
"url": "https://github.com/tenbaht/sduino/releases/download/v0.5/sduino-tools_mingw32-2019.02.05.tar.bz2", | ||
"archiveFileName": "sduino-tools_mingw32-2019.02.05.tar.bz2", | ||
"checksum": "SHA-256:35d76fb968ac7998ec798502be597d7b234ceddb5c2bcb439d8f24711bd34064", | ||
"size": "418464" | ||
} | ||
] | ||
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Coding style | ||
|
||
## Development workflow | ||
|
||
I recently read this great article about [a successful branching | ||
model](https://nvie.com/posts/a-successful-git-branching-model/) for git and | ||
will implement it. Highly recommended! | ||
|
||
|
||
## Changelog | ||
|
||
Every feature branch (or pull request) should include an update for | ||
Changelog.md | ||
|
||
|
||
## Code format | ||
|
||
When porting an existing Arduino library I try to preserve the original | ||
formatting as much as possible to allow for easy comparison to the original | ||
state. | ||
|
||
There is a development of a C++ capable compiler environment going on. There | ||
is no public website for that project yet, but I am in contact with the | ||
developer. He is even targeting Sduino for his project and at one point in | ||
the (still distant) future we might be able to switch back to the orginal | ||
library code again. Preserved code structure would be a big plus then. (But | ||
don't hold your breath yet) | ||
|
||
Newly written code is mostly formatted using indent according to the linux | ||
kernel coding style, using Tabs, Tab width 8, line length 80: | ||
|
||
```bash | ||
indent -linux | ||
``` |
Oops, something went wrong.