diff --git a/platform/targets/ttwrplus/hwconfig.h b/platform/targets/ttwrplus/hwconfig.h index 0fd7622d..d12e51b7 100644 --- a/platform/targets/ttwrplus/hwconfig.h +++ b/platform/targets/ttwrplus/hwconfig.h @@ -30,7 +30,6 @@ #define SCREEN_HEIGHT DT_PROP(DISPLAY, height) #define PIX_FMT_BW -/* TODO: battery type */ -#define BAT_NONE +#define BAT_LIPO_1S #endif /* HWCONFIG_H */ diff --git a/platform/targets/ttwrplus/ttwrplus_defconfig b/platform/targets/ttwrplus/ttwrplus_defconfig index 5a2d2530..74021a02 100644 --- a/platform/targets/ttwrplus/ttwrplus_defconfig +++ b/platform/targets/ttwrplus/ttwrplus_defconfig @@ -8,3 +8,5 @@ CONFIG_DYNAMIC_THREAD=y CONFIG_DYNAMIC_THREAD_STACK_SIZE=4096 CONFIG_DYNAMIC_THREAD_PREFER_POOL=y CONFIG_DYNAMIC_THREAD_POOL_SIZE=4 +CONFIG_COMMON_LIBC_MALLOC=y +CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=131072