File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ INC_CYW43 := \
3939 -isystem sdk/src/rp2_common/pico_lwip/include/ \
4040 -isystem sdk/src/rp2_common/pico_rand/include/ \
4141
42- CFLAGS_CYW43 := -DCYW43_LWIP=1 -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_USE_SPI -DIGNORE_GPIO25 -DIGNORE_GPIO23 -DIGNORE_GPIO24 -DCYW43_LOGIC_DEBUG=0 -DCYW43_NETUTILS=1
42+ CFLAGS_CYW43 := -DCYW43_LWIP=1 -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_USE_SPI -DIGNORE_GPIO25 -DIGNORE_GPIO23 -DIGNORE_GPIO24 -DCYW43_LOGIC_DEBUG=0 -DCYW43_NETUTILS=1 -DPICO_BUILD
4343SRC_SDK_CYW43 := \
4444 src/common/pico_sync/sem.c \
4545 src/rp2_common/pico_async_context/async_context_base.c \
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ typedef unsigned int uint;
7373#define m_new_obj_var_maybe (obj_type , var_type , var_num ) ((obj_type *)m_malloc_maybe(sizeof(obj_type) + sizeof(var_type) * (var_num)))
7474#if MICROPY_ENABLE_FINALISER
7575#define m_new_obj_with_finaliser (type ) ((type *)(m_malloc_with_finaliser(sizeof(type))))
76+ #define m_new_ll_obj_with_finaliser (type ) m_new_obj_with_finaliser(type) // CIRCUITPY: clue to long-lived allocator
7677#define m_new_obj_var_with_finaliser (type , var_type , var_num ) ((type *)m_malloc_with_finaliser(sizeof(type) + sizeof(var_type) * (var_num)))
7778#else
7879#define m_new_obj_with_finaliser (type ) m_new_obj(type)
You can’t perform that action at this time.
0 commit comments