mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
21 lines
488 B
Python
21 lines
488 B
Python
from testlib.esp_dut import ESP
|
|
|
|
|
|
def test_basic_port(ESP):
|
|
ESP.openPort()
|
|
ESP.closePort()
|
|
|
|
|
|
def test_flash(ESP):
|
|
bin_dir = "testbinary"
|
|
ESP.writeFlash(bin_dir)
|
|
ESP.flash.verify("0x1000", f"{bin_dir}/bootloader_dio_40m.bin")
|
|
ESP.flash.verify("0x8000", f"{bin_dir}/partitions.bin")
|
|
ESP.flash.verify("0xe000", f"{bin_dir}/boot_app0.bin")
|
|
ESP.flash.verify("0x10000", f"{bin_dir}/firmware.bin")
|
|
ESP.flash.erase()
|
|
|
|
|
|
def test_aprs_login(APRSIS):
|
|
pass
|