All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 3m42s
Check code formatting / Check-C-Format (push) Successful in 8s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 9s
Run pytests / Check-Pytest (push) Successful in 11s
In order to turn the Tonberry device on more reliably even if the power button is only pressed for a short time, move the setting of POWER_EN pin to high from the python board_init to the MICROPY_BOARD_STARTUP macro so that is is started in the C startup code run before the micropython interpreter is initialized. Measured time from power on to POWER_EN time was 600-800 ms with the python board_init, vs. 155 ms for the MICROPY_BOARD_STARTUP. Signed-off-by: Matthias Blankertz <matthias@blankertz.org>