micropython/ports/nrf/modules/nrf
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
..
flashbdev.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
flashbdev.h nrf/modules/nrf: Add new nrf module with flash block device. 2021-08-08 23:09:26 +10:00
modnrf.c nrf/modules/nrf: Add function to enable/disable DCDC. 2021-08-09 14:55:59 +10:00