感谢大佬, 我刷成功了但测试WIFI的时候出现崩溃, 请问应该去哪求助呢,
代码很简单问题也很好复现,就一直重复发字符串,过一会就会崩溃重启提示以下内容:
Guru Meditation Error: Core 0 panic'ed (Stack protection fault).
Detected in task "mp_task" at 0x400313de
Stack pointer: 0x40825dd0
Stack bounds: 0x40822228 - 0x40826220
Core 0 register dump:
MEPC : 0x420179da RA : 0x40803848 SP .............
以下是运行的python脚本
while True:
time.sleep_us(1)
if sta_if.isconnected():
try:
posture_sock.sendto(b'\x01\x22\x33\x44\x55\x66\x11\x22\x33\x44\x55\x66\x11\x22\x33\x44\x55\x66\x11\x22\x33\x44\x55\x66\x11\x22\x33\x44\x55\x66\x11\x22\x33\x44\x55\x66', (POSTURE_SERVER_IP, POSTURE_SERVER_PORT))
except OSError:
pass
多次尝试总是出现相同的错误