Damien George
Damien George
I tested this on ESP32 S2 and S3 and it works, and it looks all good except the comment above about `mp_hal_wake_main_task_from_isr()`.
Merged! Thanks very much @andrewleech for all your efforts on this, and everyone else who contributed and tested.
Is it an option to just delete this Windows+ESP specific code, and leave the RTS/DTR lines alone? Probably not, because then ESP boards will behave erratically (which is the reason...
Fantastic! Great to see this v3 work making it's way into the world. The code size increase would be the biggest concern for MicroPython. Any optimisations to get that down...
`I2CTargetMemory` does seem like a bit of an unusual name, but "I2C target" is officially what an "I2C slave" is called now. And in the future we may have a...
@robert-hh I've added a test to this PR which you should be able to run on an mimxrt board, to validate your implementation. Note: the API here will most likely...
> I was hoping for a blocking read callback that could update a register with fresh data before the reply using clock stretching during the callback. This is an important...
> Which wiring would you use for the automated test with the Teensy 4.1. I2C(0) as hardware I2C for the targeth, but which GPIO Pins for the controller port? I'd...
Thanks @robert-hh for working on this for the other ports, that's very helpful! Right now I'm reworking the API here to take into account the feedback, mainly to provide IRQs/callbacks...
I've now updated this PR: - renamed the class to `machine.I2CTarget` - now supports creating either a memory device, or an arbitrary device - now supports IRQs for various events...