File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ INC_CYW43 := \
39
39
-isystem sdk/src/rp2_common/pico_lwip/include/ \
40
40
-isystem sdk/src/rp2_common/pico_rand/include/ \
41
41
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
43
43
SRC_SDK_CYW43 := \
44
44
src/common/pico_sync/sem.c \
45
45
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;
73
73
#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)))
74
74
#if MICROPY_ENABLE_FINALISER
75
75
#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
76
77
#define m_new_obj_var_with_finaliser (type , var_type , var_num ) ((type *)m_malloc_with_finaliser(sizeof(type) + sizeof(var_type) * (var_num)))
77
78
#else
78
79
#define m_new_obj_with_finaliser (type ) m_new_obj(type)
You can’t perform that action at this time.
0 commit comments