mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
clear STM32F1 and STM32F4 package ref
This commit is contained in:
parent
01c906403e
commit
7b27d3169b
@ -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
|
@ -1,5 +1,4 @@
|
||||
import PikaStdLib
|
||||
import machine
|
||||
print('hello pikascript!')
|
||||
mem = PikaStdLib.MemChecker()
|
||||
print('mem used max:')
|
||||
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.11.8
|
||||
PikaStdLib==v1.11.8
|
||||
PikaStdDevice==v1.11.0
|
||||
STM32F1==v1.1.3
|
||||
|
@ -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
|
@ -1,5 +1,4 @@
|
||||
import PikaStdLib
|
||||
import machine
|
||||
print('hello pikascript!')
|
||||
mem = PikaStdLib.MemChecker()
|
||||
print('mem used max:')
|
||||
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.11.8
|
||||
PikaStdLib==v1.11.8
|
||||
PikaStdDevice==v1.11.0
|
||||
STM32F1==v1.1.3
|
||||
|
@ -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)
|
||||
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.11.8
|
||||
PikaStdLib==v1.11.8
|
||||
PikaStdDevice==v1.11.0
|
||||
STM32F1==v1.1.3
|
||||
|
@ -1,5 +1,4 @@
|
||||
import PikaStdLib
|
||||
import STM32F1
|
||||
|
||||
print('hello PikaScript!')
|
||||
led = STM32F1.GPIO()
|
||||
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.11.8
|
||||
PikaStdLib==v1.11.8
|
||||
PikaStdDevice==v1.11.0
|
||||
STM32F1==v1.1.3
|
||||
|
@ -1,5 +1,4 @@
|
||||
import PikaStdLib
|
||||
import STM32F1
|
||||
print('hello pikascript!')
|
||||
mem = PikaStdLib.MemChecker()
|
||||
print('mem used max:')
|
||||
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.11.8
|
||||
PikaStdLib==v1.11.8
|
||||
PikaStdDevice==v1.11.0
|
||||
STM32F1==v1.1.3
|
||||
|
@ -1,5 +1,4 @@
|
||||
import PikaStdLib
|
||||
import STM32F4
|
||||
|
||||
print('hello pikascript!')
|
||||
mem = PikaStdLib.MemChecker()
|
||||
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.12.0
|
||||
PikaStdLib==v1.12.0
|
||||
PikaStdDevice==v1.11.0
|
||||
STM32F4==v0.1.1
|
||||
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.12.0
|
||||
PikaStdLib==v1.12.0
|
||||
PikaStdDevice==v2.0.0
|
||||
STM32F4==v0.1.2
|
||||
PikaStdDevice==v2.0.0
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.12.0
|
||||
PikaStdLib==v1.12.0
|
||||
PikaStdDevice==v2.0.0
|
||||
STM32F4==v0.1.2
|
||||
PikaStdDevice==v2.0.0
|
@ -1,5 +1,4 @@
|
||||
import PikaStdLib
|
||||
import STM32F4
|
||||
|
||||
print('hello PikaScript!')
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
pikascript-core==v1.12.0
|
||||
PikaStdLib==v1.12.0
|
||||
PikaStdDevice==v1.11.0
|
||||
STM32F4==v0.1.1
|
||||
|
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user