Files
micropython/tests/multi_pyb_can/rx_callback.py.exp
T
Angus Gratton cda49bed27 py/objlist,stm32,esp32: Add helpers for creating/ensuring list args.
Simplifies the pattern of an optional arg which can be a list of at
least a certain length, otherwise one is lazily initialised.

Modify pyb.CAN and ESP-NOW APIs to use the helper. Note this changes
the return type of pyb.CAN.recv() from tuple to list.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2026-03-19 15:37:19 +11:00

10 lines
175 B
Plaintext

--- instance0 ---
rx0 reason full
rx0 reason overflow
rxed_spam True
[256, False, False, 0, b'aaaaa']
any False
--- instance1 ---
[85, False, False, 0, b'overflow']
any False