micropython/tests/multi_pyb_can
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
..
rx_callback.py tests/multi_pyb_can: Add multitests for pyboard CAN controller. 2025-03-14 14:52:38 +11:00
rx_callback.py.exp py/objlist,stm32,esp32: Add helpers for creating/ensuring list args. 2026-03-19 15:37:19 +11:00
rx_filters.py tests/multi_pyb_can: Add multitests for pyboard CAN controller. 2025-03-14 14:52:38 +11:00
rx_filters.py.exp py/objlist,stm32,esp32: Add helpers for creating/ensuring list args. 2026-03-19 15:37:19 +11:00