kopia lustrzana https://github.com/OpenRTX/OpenRTX
Enable malloc on ESP32 BSP, specify ttwrplus battery type.
Mallocs now are working. This radio sports a single cell Li-Po battery. TG-553pull/193/head
rodzic
0c27c9ce28
commit
9a445f3b31
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue