Angus Gratton

Results 258 comments of Angus Gratton
trafficstars

@straga Does it still hang on the latest nightly build? See https://github.com/micropython/micropython/issues/14421#issuecomment-2412937043

@straga Some changes recently merged (#16015) that may help with avoiding MemoryErrors in Python, so you could test with a recently nightly preview build and check for any improvement. However,...

> I am now looking at defragmenting the memory. And if it's heavily defragmented. The maximum possible piece that can be allocated is too small, although the total amount of...

> How I am understand > > ``` > esp32.idf_heap_info(0) > ``` If you only care about data allocations then it's better to call `esp32.idf_heap_info(esp32.HEAP_DATA)` and ignore the IRAM entries....

> The behavior of doubling MicroPython heap doesn't help either - I cross 56000 bytes of heap only upon initialization/precomputation, then fall back below that. Unfortunately, the heap remains at...

A note for anyone following this: the linked PR will implement support, but `PHY_LAN8670` won't appear in any nightly builds until we start building with ESP-IDF V5.3.x (currently building with...

> Dear All, Thanks for this. At this time then, what do I need to clone to get _both) ESP-IDF 5.4 and LAN8670 support? Current master has supported for IDF...

Here's an extended version of @Gadgetoid's patch that gets the code size all the way down (PICO_W binary size is actually slightly smaller than the current master). I have verified...