We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e33d238 commit 4a27ad0Copy full SHA for 4a27ad0
1 file changed
esp8266/scripts/port_diag.py
@@ -17,6 +17,8 @@ def main():
17
FREQ_MAP = {0: "40MHZ", 1: "26MHZ", 2: "20MHz", 0xf: "80MHz"}
18
print("Byte @2: %02x" % ROM[2])
19
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())
22
23
print("\nNetworking:")
24
print("STA ifconfig:", network.WLAN(network.STA_IF).ifconfig())
0 commit comments