Andrew Leech

Results 445 comments of Andrew Leech

It would be marginally faster to add a non-exception version of the filesystem function to use in cases like this.

@dpgeorge I've simplified this with a helper function to avoid the need for adding exception catch / handing in main, I think it's worked out pretty well.

> I would like to ask, my board uses the STM32F407ZGT6 firmware, why sometimes it loads very slowly when the board starts, and even after loading, boot.py and main.py are...

> OK, it is on the internal flash memory. After loading, my file still exists, but I don't run it anymore. These two files are placed on the file system....

@iabdalkader I had to also make a similar change in `drivers/esp_hosted_wifi: Replace EVENT_POLL_HOOK with mp_event_wait_ms.`, included in this PR. I don't have any hardware to test this on though, does...

@dpgeorge I've now done some basic testing and switched to `mp_event_wait_ms()` in a few places similar to a quick review of other ports.

Thanks @iabdalkader for the testing! No apologies necessary, this was just a bit of opportunistic cleanup for me and not in a rush for any reason.

> Although this PR has correct behaviour I think it will increase power consumption at an idle REPL (and other idle locations) because it's now doing a busy loop rather...

The RingIO module has been merged in micropython so this should be updated to use it

Updated this PR with the following changes: **API Updates:** - Replace deprecated `ringbuffer` with `RingIO` name (they're the same underlying C type, but `RingIO` is the documented API name) -...