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/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 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 diff --git a/platform.json b/platform.json index b704c5f..e36ee7a 100644 --- a/platform.json +++ b/platform.json @@ -18,18 +18,18 @@ "type": "git", "url": "https://github.com/platformio/platform-intel_mcs51.git" }, - "version": "2.1.0", + "version": "2.2.0", "packages": { "toolchain-sdcc": { "type": "toolchain", "owner": "platformio", - "version": ">=1.40100.0,<1.40201.0" + "version": ">=1.40100.0,<1.40401.0" }, "tool-stcgal": { "type": "uploader", "optional": true, "owner": "platformio", - "version": "~1.106.0" + "version": "~1.110.0" }, "tool-vnproch55x": { "type": "uploader",