-
Notifications
You must be signed in to change notification settings - Fork 122
Add Lua component (IEC-470) #658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
lua/include/luaconf.h
Outdated
| /* | ||
| @@ LUA_32BITS enables Lua with 32-bit integers and 32-bit floats. | ||
| */ | ||
| #define LUA_32BITS 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't have to fork the whole header file, can we try other header injection approach?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Replaced by lua/port/include/luaconf.h
lua/include/luaconf.h
Outdated
| ** (It must fit into max(int)/2.) | ||
| */ | ||
| #if 1000000 < (INT_MAX / 2) | ||
| #define LUAI_MAXSTACK CONFIG_LUA_MAXSTACK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this macro isn't available in the upstream https://github.com/lua/lua/blob/master/luaconf.h
|
All builds are green, just one is failing in picolib with from ESP-IDF, I guess this is not specific to this component: Any idea how to resolve it? |
The Lua component is getting popular, so idea is to move it under Espressif namespace.
Formerly it was hosted here: https://github.com/georgik/esp-idf-component-lua
Component Registry: https://components.espressif.com/components/georgik/lua/