Closed JasJassal closed 1 year ago
Realise now I probably should have raised this on microbit-v2-samples repo.
Thanks for the report @JasJassal!
This should be fixed in the latest commits, could you clean your environment and try again (you can delete the build
and librarires
folder to download everything again and rebuild from zero).
Verified builds using build.py. Thanks.
Following the build instructions from microbit-v2-samples results in pulling down the codal-core repo headed at the following patch: d7ea466 (HEAD) Exposd a call to dump the heap state when not in full memory debug mode
This errors with: microbit-v2-samples/libraries/codal-core/source/streams/StreamRecording.cpp:80:9: error: 'codal_dmesg_flush' was not declared in this scope codal_dmesg_flush();
Rolling back to HEAD (commit a116354) on codal-core seems to result in a successful build. (Debian based host)
Using the dockerfile instructions also results in the same error:
/opt/microbit-samples/libraries/codal-core/source/streams/StreamRecording.cpp: In member function 'void codal::StreamRecording::printChain()': /opt/microbit-samples/libraries/codal-core/source/streams/StreamRecording.cpp:80:9: error: 'codal_dmesg_flush' was not declared in this scope codal_dmesg_flush(); ^
~~~~