From 08d581eb5832c0a4a19c7bc349c7989f3a3af8b4 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 8 Aug 2022 15:17:11 +0300 Subject: [PATCH 1/5] Fix a path to the ".pio" folder --- examples/anymcu-header/.gitignore | 3 +-- examples/native-blink/.gitignore | 3 +-- examples/stc-blink/.gitignore | 3 +-- examples/stc-header/.gitignore | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/anymcu-header/.gitignore b/examples/anymcu-header/.gitignore index 6c69f4c..03f4a3c 100644 --- a/examples/anymcu-header/.gitignore +++ b/examples/anymcu-header/.gitignore @@ -1,2 +1 @@ -.pioenvs -.piolibdeps +.pio diff --git a/examples/native-blink/.gitignore b/examples/native-blink/.gitignore index 6c69f4c..03f4a3c 100644 --- a/examples/native-blink/.gitignore +++ b/examples/native-blink/.gitignore @@ -1,2 +1 @@ -.pioenvs -.piolibdeps +.pio diff --git a/examples/stc-blink/.gitignore b/examples/stc-blink/.gitignore index 6c69f4c..03f4a3c 100644 --- a/examples/stc-blink/.gitignore +++ b/examples/stc-blink/.gitignore @@ -1,2 +1 @@ -.pioenvs -.piolibdeps +.pio diff --git a/examples/stc-header/.gitignore b/examples/stc-header/.gitignore index 6c69f4c..03f4a3c 100644 --- a/examples/stc-header/.gitignore +++ b/examples/stc-header/.gitignore @@ -1,2 +1 @@ -.pioenvs -.piolibdeps +.pio From 793ef84483168484a6ce6877b49632eafc2a3c4b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 13 Mar 2024 16:51:42 +0200 Subject: [PATCH 2/5] Update "tool-stcgal" to 1.10 // Resolve #56 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index b704c5f..b299c68 100644 --- a/platform.json +++ b/platform.json @@ -29,7 +29,7 @@ "type": "uploader", "optional": true, "owner": "platformio", - "version": "~1.106.0" + "version": "~1.110.0" }, "tool-vnproch55x": { "type": "uploader", From a6af61675af434628763d9b1231060ca014e090d Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 13 Mar 2024 23:19:26 +0200 Subject: [PATCH 3/5] Update SDCC toolchain to 4.4.0 // Resolve #54 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index b299c68..a402342 100644 --- a/platform.json +++ b/platform.json @@ -23,7 +23,7 @@ "toolchain-sdcc": { "type": "toolchain", "owner": "platformio", - "version": ">=1.40100.0,<1.40201.0" + "version": ">=1.40100.0,<1.40401.0" }, "tool-stcgal": { "type": "uploader", From a39b6054f100b2305b80b2a3d80b4ffa0ceb6d3e Mon Sep 17 00:00:00 2001 From: HongHakGyu Date: Thu, 14 Mar 2024 10:01:30 +0900 Subject: [PATCH 4/5] Fix Compile error https://github.com/platformio/platform-intel_mcs51/commit/a6af616 --- examples/native-blink/src/blinky.c | 2 +- examples/native-blink/src/serial.c | 6 +++--- examples/native-blink/src/serial.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/native-blink/src/blinky.c b/examples/native-blink/src/blinky.c index 4abe513..3d7e22f 100755 --- a/examples/native-blink/src/blinky.c +++ b/examples/native-blink/src/blinky.c @@ -42,7 +42,7 @@ void _delay_ms(unsigned char ms) const char* startstring = "\nSTC15F204EA starting up...\n"; -int main() +void main(void) { /* init the software uart */ UART_INIT(); diff --git a/examples/native-blink/src/serial.c b/examples/native-blink/src/serial.c index 7e2a76d..aeebb24 100755 --- a/examples/native-blink/src/serial.c +++ b/examples/native-blink/src/serial.c @@ -34,7 +34,7 @@ __data __at 0x0F volatile BYTE RBIT; volatile BOOL TING,RING; volatile BOOL TEND,REND; -void UART_INIT(); +void UART_INIT(void); void putchar(unsigned char c) { @@ -90,7 +90,7 @@ void main() //__data __at 0x0D BYTE RCNT; //__data __at 0x0E BYTE TBIT; //__data __at 0x0F BYTE RBIT; => ar7 -void _tm1() __interrupt 3 __using 1 +void _tm1(void) __interrupt (3) __using (1) { __asm jb _RING,00002$ @@ -140,7 +140,7 @@ void _tm1() __interrupt 3 __using 1 //----------------------------------------- //initial UART module variable -void UART_INIT() +void UART_INIT(void) { TING = 0; RING = 0; diff --git a/examples/native-blink/src/serial.h b/examples/native-blink/src/serial.h index 227229a..a2fe882 100755 --- a/examples/native-blink/src/serial.h +++ b/examples/native-blink/src/serial.h @@ -7,7 +7,7 @@ /*-------------------------------------------------------------------------------*/ void UART_INIT(void); -void _tm1() __interrupt 3 __using 1; +void _tm1(void); #ifndef PLATFORMIO void putchar(unsigned char); #endif From 64da3d343e45ef809c003025f14db586d6b9f03e Mon Sep 17 00:00:00 2001 From: valeros Date: Thu, 28 Mar 2024 15:18:48 +0200 Subject: [PATCH 5/5] Bump version to 2.2.0 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index a402342..e36ee7a 100644 --- a/platform.json +++ b/platform.json @@ -18,7 +18,7 @@ "type": "git", "url": "https://github.com/platformio/platform-intel_mcs51.git" }, - "version": "2.1.0", + "version": "2.2.0", "packages": { "toolchain-sdcc": { "type": "toolchain",