Repository navigation
Conversation
On my machine, the script got stuck reading os.ldr around 802k. This fixed it and Pyserial recommends to manage read buffers this way.
|
Thanks a lot for this, @neoqix, and for taking the time to track it down! 🙏 It's merged. Your commits went into the lab repository and came across to We couldn't reproduce the stall itself, though. With
I'm closing this since the change is in |
On my machine, the script got stuck reading os.ldr around 802k. This fixed it and Pyserial recommends to manage read buffers this way.
What this changes
opz_os_read.py now reads files from the serial in smaller chunks depending on bytes in buffer.
Kind
guides/submit-an-engine.md)research/OPEN_QUESTIONS.md)DRAFTpatch record; issue first)Checklist
make -C sim testpasses (with new or re-rendered golden hashes committed, and the reason in the commit)python3 -m unittest discover -s tools/testspassesnpm --prefix core testpasses (ifcore/changed)For a new engine
opz_build.py,opz_crashcheck.py --fullandopz_cycles.pyrun clean (or: please run them for me, I have no Blackfin toolchain)sdk/docs/memory-slots.md; test plug id until a maintainer assigns the released one