Angus Gratton

Results 242 comments of Angus Gratton
trafficstars

Thanks @Gadgetoid! Agree it's best if we can merge this PR and #13763 together to minimise churn.

This is an automated heads-up that we've just merged a Pull Request that removes the STATIC macro from MicroPython's C API. See https://github.com/micropython/micropython/pull/13763 A search suggests this PR might apply...

@dpgeorge @jimmo Is there any reasonable place to include those tests in the code base? I saw there is a `tests/ports/stm32/spi.py` but it doesn't rely on any hardware configuration. These...

Have added regression test in `ports/stm32_hardware`. Would have preferred auto-skip idea, but couldn't think of a good way to programmatically find the GPIO for SPI2 MOSI to toggle it for...

This is an automated heads-up that we've just merged a Pull Request that removes the STATIC macro from MicroPython's C API. See https://github.com/micropython/micropython/pull/13763 A search suggests this PR might apply...

Hi @zeroone-kr, Thanks for submitting these security issue reports. You're correct that there is potential for the Python heap-allocated buffer inside Python object `value` to be accessed after it is...

Spoke to @dpgeorge and he reminded me there are port configurations with threading but no GIL, in which the use-after-free becomes an issue.

I agree with your description of the sequence of events, and also agree that this is a bug. I actually have a fix for this in testing, hope to push...

@PepperoniPingu Thanks for explaining the use case for this and providing this implementation. It's 9 clock cycles, not 10, isn't it? As per [I2C specification](https://www.nxp.com/docs/en/user-guide/UM10204.pdf) NXP Semiconductors UM10204 section *3.1.16...

> The address 0x7F is by the i2c specification reserved so there could be some undefined behavior with some peripherals? I also tried with the address 0x00 but that ended...