circuitpython/ports/nrf/boards/microbit
Jim Mussared 0e7bfc88c6 all: Use mp_obj_malloc everywhere it's applicable.
This replaces occurences of

    foo_t *foo = m_new_obj(foo_t);
    foo->base.type = &foo_type;

with

    foo_t *foo = mp_obj_malloc(foo_t, &foo_type);

Excludes any places where base is a sub-field or when new0/memset is used.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-05-03 22:28:14 +10:00
..
modules all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
board.json ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
custom_nrf51822_s110_microbit.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
mpconfigboard.h nrf: Use MICROPY_HW_ENABLE_RNG instead of MICROPY_PY_RANDOM_HW_RNG. 2020-02-18 12:43:16 +11:00
mpconfigboard.mk nrf/boards: Enable MICROPY_VFS_LFS2 for all target boards. 2021-08-08 23:17:55 +10:00
pins.csv nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00