micropython/ports/nrf/boards/microbit/modules
Jim Mussared fb2a57800a all: Simplify buffer protocol to just a "get buffer" callback.
The buffer protocol type only has a single member, and this existing layout
creates problems for the upcoming split/slot-index mp_obj_type_t layout
optimisations.

If we need to make the buffer protocol more sophisticated in the future
either we can rely on the mp_obj_type_t optimisations to just add
additional slots to mp_obj_type_t or re-visit the buffer protocol then.

This change is a no-op in terms of generated code.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-19 18:40:39 +10:00
..
AUTHORS nrf/boards/microbit: Add copy of microbit display and image files. 2018-07-18 17:12:25 +10:00
boardmodules.h nrf: Make port-specific modules use MP_REGISTER_MODULE. 2022-05-18 20:57:09 +10:00
boardmodules.mk nrf/boards/microbit: Add framework updates to build micro:bit modules. 2018-07-18 17:12:25 +10:00
iters.c all: Simplify buffer protocol to just a "get buffer" callback. 2022-09-19 18:40:39 +10:00
iters.h nrf/boards/microbit: Add copy of microbit display and image files. 2018-07-18 17:12:25 +10:00
LICENSE nrf/boards/microbit: Add copy of microbit display and image files. 2018-07-18 17:12:25 +10:00
microbitconstimage.c nrf/boards/microbit: Update board modules from C++ to C-code. 2018-07-18 17:12:25 +10:00
microbitconstimage.h nrf: Quick-fix on const objects with open array dimension in objtuples. 2018-07-18 17:12:26 +10:00
microbitconstimagetuples.c nrf: Quick-fix on const objects with open array dimension in objtuples. 2018-07-18 17:12:26 +10:00
microbitdisplay.c all: Simplify buffer protocol to just a "get buffer" callback. 2022-09-19 18:40:39 +10:00
microbitdisplay.h nrf/boards/microbit: Update board modules from C++ to C-code. 2018-07-18 17:12:25 +10:00
microbitfont.h nrf/boards/microbit: Update board modules from C++ to C-code. 2018-07-18 17:12:25 +10:00
microbitimage.c all: Simplify buffer protocol to just a "get buffer" callback. 2022-09-19 18:40:39 +10:00
microbitimage.h nrf: Clean up source by removing tabs, trailing spaces, non-ASCII chars. 2019-08-28 13:34:45 +10:00
modmicrobit.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modmicrobit.h nrf/boards/microbit: Add modmicrobit.h to expose module init function. 2018-07-18 17:12:25 +10:00