-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Kconfig: rename LUA_MODULE_* to NODEMCU_CMODULE_* #3135
Conversation
Please see my discussion on #3130. This change makes no sense to me as these are Lua runtime modules, albeit written in C. If we really want to emphasise the "C-ness" of these then |
Synchronize with nodemcu/nodemcu-firmware#3135
Using the NODEMCU_ namespace prefix makes it obvious that these are not part of Lua proper (contrast, e.g., LUA_BUILTIN_STRING). Using "CMODULE" gives us room to differentiate between modules whose implementation is in C and whose implemenation is in Lua ("LMODULE"). The ESP8266 branch can adopt the same convention when it moves to Kconfig; see nodemcu#3130
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 it's ready, but it'd be good for someone with an ESP32 environment to look over my shoulder. |
@@ -6,9 +6,9 @@ | |||
#define NODE_VERSION_REVISION 0U | |||
#define NODE_VERSION_INTERNAL 0U | |||
|
|||
#define NODE_VERSION "NodeMCU ESP32" | |||
#define NODE_VERSION "NodeMCU ESP32" " built with Docker provided by frightanic.com\n\tbranch: dev-esp32\n\tcommit: f4887bf134235c05e6c9b2efad370e6d5018f91a\n\tSSL: true\n\tmodules: -\n" |
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.
Arghh, missed this one...shouldn't have ended up in this change set.
As we begin to contemplate baking into firmware modules entirely written
in Lua or which are split between both Lua and C, the name LUA_MODULE_*
more obviously refers to the in-Lua bits, so rename the C ones out of
the way.
dev-esp32
branch rather than formaster
.docs/*
.I have not yet convinced my machine to build for the esp32, but I think this is probably about right. Still, someone checking for me would be welcome.
This is part of #3130, indirectly, at least in keeping with the idea of harmonizing the two branches.