diff --git a/bsp/stm32f103c8/pikascript/machine.pyi b/bsp/stm32f103c8/pikascript/machine.pyi deleted file mode 100644 index 883582f90..000000000 --- a/bsp/stm32f103c8/pikascript/machine.pyi +++ /dev/null @@ -1,22 +0,0 @@ -import STM32F1 - -class GPIO(STM32F1.GPIO): - pass - -class Time(STM32F1.Time): - pass - -class ADC(STM32F1.ADC): - pass - -class UART(STM32F1.UART): - pass - -class PWM(STM32F1.PWM): - pass - -class IIC(STM32F1.IIC): - pass - -class lowLevel(STM32F1.lowLevel): - pass \ No newline at end of file diff --git a/bsp/stm32f103c8/pikascript/main.py b/bsp/stm32f103c8/pikascript/main.py index 2bc813611..9278068a2 100644 --- a/bsp/stm32f103c8/pikascript/main.py +++ b/bsp/stm32f103c8/pikascript/main.py @@ -1,5 +1,4 @@ import PikaStdLib -import machine print('hello pikascript!') mem = PikaStdLib.MemChecker() print('mem used max:') diff --git a/bsp/stm32f103c8/pikascript/requestment.txt b/bsp/stm32f103c8/pikascript/requestment.txt index 21195ff0b..82ae5cc6b 100644 --- a/bsp/stm32f103c8/pikascript/requestment.txt +++ b/bsp/stm32f103c8/pikascript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.11.8 PikaStdLib==v1.11.8 PikaStdDevice==v1.11.0 -STM32F1==v1.1.3 diff --git a/bsp/stm32f103cb/pikascript/machine.pyi b/bsp/stm32f103cb/pikascript/machine.pyi deleted file mode 100644 index 883582f90..000000000 --- a/bsp/stm32f103cb/pikascript/machine.pyi +++ /dev/null @@ -1,22 +0,0 @@ -import STM32F1 - -class GPIO(STM32F1.GPIO): - pass - -class Time(STM32F1.Time): - pass - -class ADC(STM32F1.ADC): - pass - -class UART(STM32F1.UART): - pass - -class PWM(STM32F1.PWM): - pass - -class IIC(STM32F1.IIC): - pass - -class lowLevel(STM32F1.lowLevel): - pass \ No newline at end of file diff --git a/bsp/stm32f103cb/pikascript/main.py b/bsp/stm32f103cb/pikascript/main.py index 2bc813611..9278068a2 100644 --- a/bsp/stm32f103cb/pikascript/main.py +++ b/bsp/stm32f103cb/pikascript/main.py @@ -1,5 +1,4 @@ import PikaStdLib -import machine print('hello pikascript!') mem = PikaStdLib.MemChecker() print('mem used max:') diff --git a/bsp/stm32f103cb/pikascript/requestment.txt b/bsp/stm32f103cb/pikascript/requestment.txt index 21195ff0b..82ae5cc6b 100644 --- a/bsp/stm32f103cb/pikascript/requestment.txt +++ b/bsp/stm32f103cb/pikascript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.11.8 PikaStdLib==v1.11.8 PikaStdDevice==v1.11.0 -STM32F1==v1.1.3 diff --git a/bsp/stm32f103rb/PikaScript/main.py b/bsp/stm32f103rb/PikaScript/main.py index 9e20f20bc..9c5145019 100644 --- a/bsp/stm32f103rb/PikaScript/main.py +++ b/bsp/stm32f103rb/PikaScript/main.py @@ -1,23 +1,4 @@ from PikaObj import * import PikaStdLib -import STM32F1 - -time = STM32F1.Time() -pc0 = STM32F1.GPIO() -pc0.init() -pc0.setPin('PC0') -pc0.setMode('out') -pc0.setPull('up') -pc0.enable() print('hello PikaScript!') -mem = PikaStdLib.MemChecker() -print('mem used max:') -mem.max() -while True: - pc0.high() - print('h') - time.sleep_ms(500) - pc0.low() - print('l') - time.sleep_ms(500) diff --git a/bsp/stm32f103rb/PikaScript/requestment.txt b/bsp/stm32f103rb/PikaScript/requestment.txt index 21195ff0b..82ae5cc6b 100644 --- a/bsp/stm32f103rb/PikaScript/requestment.txt +++ b/bsp/stm32f103rb/PikaScript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.11.8 PikaStdLib==v1.11.8 PikaStdDevice==v1.11.0 -STM32F1==v1.1.3 diff --git a/bsp/stm32f103rc/pikascript/main.py b/bsp/stm32f103rc/pikascript/main.py index ea555cb14..b62facdbd 100644 --- a/bsp/stm32f103rc/pikascript/main.py +++ b/bsp/stm32f103rc/pikascript/main.py @@ -1,5 +1,4 @@ import PikaStdLib -import STM32F1 print('hello PikaScript!') led = STM32F1.GPIO() diff --git a/bsp/stm32f103rc/pikascript/requestment.txt b/bsp/stm32f103rc/pikascript/requestment.txt index 21195ff0b..82ae5cc6b 100644 --- a/bsp/stm32f103rc/pikascript/requestment.txt +++ b/bsp/stm32f103rc/pikascript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.11.8 PikaStdLib==v1.11.8 PikaStdDevice==v1.11.0 -STM32F1==v1.1.3 diff --git a/bsp/stm32f103ze/pikascript/main.py b/bsp/stm32f103ze/pikascript/main.py index 2b2c93fdd..9278068a2 100644 --- a/bsp/stm32f103ze/pikascript/main.py +++ b/bsp/stm32f103ze/pikascript/main.py @@ -1,5 +1,4 @@ import PikaStdLib -import STM32F1 print('hello pikascript!') mem = PikaStdLib.MemChecker() print('mem used max:') diff --git a/bsp/stm32f103ze/pikascript/requestment.txt b/bsp/stm32f103ze/pikascript/requestment.txt index 21195ff0b..82ae5cc6b 100644 --- a/bsp/stm32f103ze/pikascript/requestment.txt +++ b/bsp/stm32f103ze/pikascript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.11.8 PikaStdLib==v1.11.8 PikaStdDevice==v1.11.0 -STM32F1==v1.1.3 diff --git a/bsp/stm32f401cc/pikascript/main.py b/bsp/stm32f401cc/pikascript/main.py index aa188da32..c114837bc 100644 --- a/bsp/stm32f401cc/pikascript/main.py +++ b/bsp/stm32f401cc/pikascript/main.py @@ -1,5 +1,4 @@ import PikaStdLib -import STM32F4 print('hello pikascript!') mem = PikaStdLib.MemChecker() diff --git a/bsp/stm32f401cc/pikascript/requestment.txt b/bsp/stm32f401cc/pikascript/requestment.txt index 32f68d14f..ae80bff74 100644 --- a/bsp/stm32f401cc/pikascript/requestment.txt +++ b/bsp/stm32f401cc/pikascript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.12.0 PikaStdLib==v1.12.0 PikaStdDevice==v1.11.0 -STM32F4==v0.1.1 diff --git a/bsp/stm32f407ze/PikaScript/requestment.txt b/bsp/stm32f407ze/PikaScript/requestment.txt index c904d1d3d..ab5c087c3 100644 --- a/bsp/stm32f407ze/PikaScript/requestment.txt +++ b/bsp/stm32f407ze/PikaScript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.12.0 PikaStdLib==v1.12.0 -PikaStdDevice==v2.0.0 -STM32F4==v0.1.2 \ No newline at end of file +PikaStdDevice==v2.0.0 \ No newline at end of file diff --git a/bsp/stm32f407zg/pikascript/requestment.txt b/bsp/stm32f407zg/pikascript/requestment.txt index c904d1d3d..ab5c087c3 100644 --- a/bsp/stm32f407zg/pikascript/requestment.txt +++ b/bsp/stm32f407zg/pikascript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.12.0 PikaStdLib==v1.12.0 -PikaStdDevice==v2.0.0 -STM32F4==v0.1.2 \ No newline at end of file +PikaStdDevice==v2.0.0 \ No newline at end of file diff --git a/bsp/stm32f411ce/pikascript/main.py b/bsp/stm32f411ce/pikascript/main.py index 0a38fb3d5..a31368dc4 100644 --- a/bsp/stm32f411ce/pikascript/main.py +++ b/bsp/stm32f411ce/pikascript/main.py @@ -1,5 +1,4 @@ import PikaStdLib -import STM32F4 print('hello PikaScript!') diff --git a/bsp/stm32f411ce/pikascript/requestment.txt b/bsp/stm32f411ce/pikascript/requestment.txt index 32f68d14f..ae80bff74 100644 --- a/bsp/stm32f411ce/pikascript/requestment.txt +++ b/bsp/stm32f411ce/pikascript/requestment.txt @@ -1,4 +1,3 @@ pikascript-core==v1.12.0 PikaStdLib==v1.12.0 PikaStdDevice==v1.11.0 -STM32F4==v0.1.1 diff --git a/packages.toml b/packages.toml index f5afcb7b6..facd64e32 100644 --- a/packages.toml +++ b/packages.toml @@ -441,20 +441,6 @@ releases = [ "v2.1.1 54a7495c9e9a893d04d1444c53af74061f7d7c82", ] -[[packages]] -name = "STM32F1" -releases = [ - "v1.0.0 04e2988d22c995ed0321eb4361e46867e4347e0a", - "v1.0.1 355f2253b16fa416ffae59fb35f7c71c75480b12", - "v1.0.2 4d7209bb174b1df26d22352a757cc43faaff4012", - "v1.0.3 86377d1a3c19cd01b1dc109180be437373ce7c5f", - "v1.1.0 186b951078c76b1c80b8111d76097970c21a3004", - "v1.1.1 567d0b19ce998a290fa538845d107c744ccd0258", - "v1.1.2 55164edbf2ab7e2e9e754663579e3c93040da8fa", - "v1.1.3 7a68bf910047fb055e5dbc0bdfdfec1366ca2469", - "v1.1.4 b9a0109c6125d16270cf02b2a07421a4baf9973c", -] - [[packages]] name = "ESP32" releases = [ @@ -468,18 +454,6 @@ releases = [ "v0.4.3 6ad787b3490f5440cf12b9dfd0042534af3ce7e9", ] -[[packages]] -name = "STM32F4" -releases = [ - "v0.0.1 5f992314b5ec9f201302eea8df8620e0cde600ae", - "v0.0.2 8bcb5ad868ec8961f2a3f08329a46ab0b780596b", - "v0.1.0 ac05e34d026344d0590f562a55c142b6e0879933", - "v0.1.1 55164edbf2ab7e2e9e754663579e3c93040da8fa", - "v0.1.2 27150fba49fd783536c2c6d0702f813604d3f0d8", - "v0.1.3 613b0c4c932da4f912ce3f0bfe632d52b801d322", - "v0.1.4 bc71a5d8393c1010afc78e1cee44fb5a27f77d68", -] - [[packages]] name = "PikaPiZero" releases = [