10000 esp8266/scripts/port_diag.py: Include esp.check_fw() call. · sparkfun/circuitpython@4a27ad0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a27ad0

Browse files
committed
esp8266/scripts/port_diag.py: Include esp.check_fw() call.
1 parent e33d238 commit 4a27ad0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

esp8266/scripts/port_diag.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def main():
1717
FREQ_MAP = {0: "40MHZ", 1: "26MHZ", 2: "20MHz", 0xf: "80MHz"}
1818
print("Byte @2: %02x" % ROM[2])
1919
print("Byte @3: %02x (Flash size: %s Flash freq: %s)" % (ROM[3], SZ_MAP.get(ROM[3] >> 4, "?"), FREQ_MAP.get(ROM[3] & 0xf)))
20+
print("Firmware checksum:")
21+
print(esp.check_fw())
2022

2123
print("\nNetworking:")
2224
print("STA ifconfig:", network.WLAN(network.STA_IF).ifconfig())

0 commit comments

Comments
 (0)
0