Init
This commit is contained in:
BIN
firmware/ESP32_GENERIC-20240602-v1.23.0.bin
Normal file
BIN
firmware/ESP32_GENERIC-20240602-v1.23.0.bin
Normal file
Binary file not shown.
BIN
firmware/ESP32_GENERIC-20240602-v1.23.0.elf
Normal file
BIN
firmware/ESP32_GENERIC-20240602-v1.23.0.elf
Normal file
Binary file not shown.
19
firmware/boot.py
Normal file
19
firmware/boot.py
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
def do_connect():
|
||||||
|
import network
|
||||||
|
wlan = network.WLAN(network.STA_IF)
|
||||||
|
wlan.active(True)
|
||||||
|
if not wlan.isconnected():
|
||||||
|
print('connecting to network...')
|
||||||
|
wlan.connect('nubbe', 'MFhBB!MThAuE!')
|
||||||
|
while not wlan.isconnected():
|
||||||
|
pass
|
||||||
|
print('network config:', wlan.ifconfig())
|
||||||
|
|
||||||
|
do_connect()
|
||||||
|
import gc
|
||||||
|
import webrepl
|
||||||
|
|
||||||
|
webrepl.start()
|
||||||
|
|
||||||
|
gc.collect()
|
||||||
|
|
||||||
Reference in New Issue
Block a user