added micropython firmware and setup for webrepl over wifi
This commit is contained in:
parent
fce305fd9a
commit
2ccfc37ae8
14
micropython_firmware/boot.py
Normal file
14
micropython_firmware/boot.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
import network
|
||||
import time
|
||||
|
||||
# connect to local wifi network
|
||||
sta_if = network.WLAN(network.STA_IF)
|
||||
sta_if.active(True)
|
||||
# TODO: edit this line
|
||||
sta_if.connect("<SSID>", "<PASSWORD>")
|
||||
sta_if.ifconfig()
|
||||
|
||||
# start terminal over wifi
|
||||
time.sleep(5) # wait for wifi to connect
|
||||
import webrepl
|
||||
webrepl.start()
|
BIN
micropython_firmware/esp8266-20190125-v1.10.bin
Normal file
BIN
micropython_firmware/esp8266-20190125-v1.10.bin
Normal file
Binary file not shown.
1
micropython_firmware/main.py
Normal file
1
micropython_firmware/main.py
Normal file
|
@ -0,0 +1 @@
|
|||
# empty file
|
Loading…
Reference in New Issue
Block a user