microbit-foundation / micropython-microbit-v2

Temporary home for MicroPython for micro:bit v2 as we stablise it before pushing upstream
MIT License
41 stars 22 forks source link

codal_app: Update codal-microbit-v2 to v0.2.43. #132

Closed microbit-carlos closed 1 year ago

microbit-carlos commented 1 year ago

Also adds the MICROBIT_USB_SERIAL_WAKE flag to the CODAL config to enable wake up from UART.

Changes to codal-microbit-v2:

Changes to codal-core:


@dpgeorge This is what I've been using for the latest MicroPython testing. Feel free to close the PR if you prefer to update the CODAL tag differently or with other code changes.

microbit-carlos commented 1 year ago

Added a new commit set LEVEL_DETECTOR_SPL_8BIT_000_POINT to 52.0 dB.

This is to match the same floor as the previous implementation, as the new version is more sensitive to lower volume levels. This has been discussed in:

This change can be removed with the next CODAL tag 0.2.44, which will change the default value of LEVEL_DETECTOR_SPL_8BIT_000_POINT to 52. But in the meantime adding this here as a representation of the MicroPython build I've been using for testing.

dpgeorge commented 1 year ago

This is good, thank you! I tested deep_sleep() and it does wake on incoming UART character.