Parcourir la source

change: 非tls/ble固件的内存也减少16k,这样w5500和其他网络应用的稳定性高很多

Wendal Chen il y a 2 ans
Parent
commit
bf5d9206b5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      luatos/components/luat/port/luat_malloc_idf5.c

+ 1 - 1
luatos/components/luat/port/luat_malloc_idf5.c

@@ -19,7 +19,7 @@
 #if defined(LUAT_USE_NIMBLE) || defined(LUAT_USE_TLS)
 #define LUAT_HEAP_SIZE (96*1024)
 #else
-#define LUAT_HEAP_SIZE (128*1024)
+#define LUAT_HEAP_SIZE (112*1024)
 #endif
 #elif defined(CONFIG_IDF_TARGET_ESP32C2)
 #define LUAT_HEAP_SIZE (68*1024)