We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a1c099 commit c4a8b94Copy full SHA for c4a8b94
2 files changed
examples/lua_basic/main.c
@@ -27,7 +27,11 @@
27
28
#include "blob/main.lua.h"
29
30
+#if (__SIZEOF_POINTER__ == 8)
31
+#define LUA_MEM_SIZE (22000)
32
+#else
33
#define LUA_MEM_SIZE (11000)
34
+#endif
35
static char lua_mem[LUA_MEM_SIZE] __attribute__ ((aligned(__BIGGEST_ALIGNMENT__)));
36
37
int lua_run_script(const uint8_t *buffer, size_t buffer_len)
tests/pkg/lua_loader/main.c
@@ -69,7 +69,11 @@ const size_t lua_riot_builtin_lua_table_len =
69
const size_t lua_riot_builtin_c_table_len =
70
ARRAY_SIZE(_lua_riot_builtin_c_table);
71
72
73
74
75
76
77
78
79
#define LINEBUF_SZ (32)
0 commit comments