2016-09-20 05:35:56 +02:00
|
|
|
menu "NodeMCU modules"
|
|
|
|
|
2016-10-04 05:47:41 +02:00
|
|
|
menu "Core Lua modules"
|
|
|
|
|
|
|
|
config LUA_BUILTIN_STRING
|
|
|
|
bool "String module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the string module (recommended).
|
|
|
|
|
|
|
|
config LUA_BUILTIN_TABLE
|
|
|
|
bool "Table module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the table module (recommended).
|
|
|
|
|
|
|
|
config LUA_BUILTIN_COROUTINE
|
|
|
|
bool "Coroutine module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the coroutine module (recommended).
|
|
|
|
|
|
|
|
config LUA_BUILTIN_MATH
|
|
|
|
bool "Math module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the math module (recommended).
|
|
|
|
|
|
|
|
config LUA_BUILTIN_DEBUG
|
|
|
|
bool "Debug module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the debug module.
|
|
|
|
|
|
|
|
config LUA_BUILTIN_DEBUG_EXTENDED
|
|
|
|
depends on LUA_BUILTIN_DEBUG
|
2016-10-06 08:24:08 +02:00
|
|
|
bool "Extended debug support"
|
2016-10-04 05:47:41 +02:00
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the full debug module, rather than just getregistry and traceback.
|
|
|
|
|
|
|
|
config LUA_BUILTIN_DEBUG_MINIMAL
|
|
|
|
depends on LUA_BUILTIN_DEBUG
|
|
|
|
bool
|
|
|
|
default !LUA_BUILTIN_DEBUG_EXTENDED
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2016-09-20 05:35:56 +02:00
|
|
|
|
2017-04-24 21:36:01 +02:00
|
|
|
config LUA_MODULE_ADC
|
|
|
|
bool "ADC module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the adc module. This module provides access to the
|
|
|
|
adc1 hardware.
|
|
|
|
|
2016-11-17 11:56:51 +01:00
|
|
|
config LUA_MODULE_BIT
|
|
|
|
bool "Bit module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the bit module. This module provide bit manipulation functions
|
|
|
|
on Lua numbers.
|
2016-10-06 08:24:08 +02:00
|
|
|
|
|
|
|
config LUA_MODULE_BTHCI
|
|
|
|
bool "BlueTooth HCI interface module"
|
|
|
|
default "n"
|
2018-10-07 12:33:40 +02:00
|
|
|
select BT_ENABLED
|
2016-09-22 09:18:22 +02:00
|
|
|
help
|
2016-10-06 08:24:08 +02:00
|
|
|
Includes the simple BlueTooth HCI module.
|
2016-09-22 09:18:22 +02:00
|
|
|
|
2017-05-07 09:35:17 +02:00
|
|
|
config LUA_MODULE_CAN
|
|
|
|
bool "CAN module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the can module.
|
|
|
|
|
2018-10-14 12:29:30 +02:00
|
|
|
config LUA_MODULE_DAC
|
|
|
|
bool "DAC module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the dac module.
|
|
|
|
|
2017-03-30 15:26:02 +02:00
|
|
|
config LUA_MODULE_DHT
|
|
|
|
bool "DHT11/21/22/AM2301/AM2302 module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the dht module.
|
|
|
|
|
2016-09-28 09:58:44 +02:00
|
|
|
config LUA_MODULE_ENCODER
|
|
|
|
bool "Encoder module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the encoder module. This provides hex and base64 encoding and
|
|
|
|
decoding functionality.
|
|
|
|
|
2016-10-06 08:24:08 +02:00
|
|
|
config LUA_MODULE_FILE
|
|
|
|
bool "File module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the file module (recommended).
|
|
|
|
|
2016-11-26 11:54:05 +01:00
|
|
|
config LUA_MODULE_GPIO
|
|
|
|
bool "GPIO module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the GPIO module (recommended).
|
|
|
|
|
2018-11-08 20:24:18 +01:00
|
|
|
config LUA_MODULE_HTTP
|
|
|
|
bool "HTTP module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the HTTP module (recommended).
|
|
|
|
|
2017-01-16 21:33:30 +01:00
|
|
|
config LUA_MODULE_I2C
|
|
|
|
bool "I2C module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the I2C module (recommended).
|
|
|
|
|
2017-04-28 22:27:57 +02:00
|
|
|
config LUA_MODULE_I2S
|
|
|
|
bool "I2S module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the I2S module.
|
|
|
|
|
2017-08-11 19:11:12 +02:00
|
|
|
config LUA_MODULE_LEDC
|
|
|
|
bool "LEDC module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the LEDC module.
|
|
|
|
|
2018-07-14 21:07:39 +02:00
|
|
|
config LUA_MODULE_MQTT
|
|
|
|
bool "MQTT module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the MQTT module.
|
|
|
|
|
2016-10-06 08:24:08 +02:00
|
|
|
config LUA_MODULE_NET
|
|
|
|
bool "Net module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the net module (recommended).
|
|
|
|
|
|
|
|
config LUA_MODULE_NODE
|
|
|
|
bool "Node module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the node module (recommended).
|
|
|
|
|
2017-03-15 23:13:30 +01:00
|
|
|
config LUA_MODULE_OW
|
|
|
|
bool "1-Wire module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the 1-Wire (ow) module (recommended).
|
|
|
|
|
2018-11-15 22:17:43 +01:00
|
|
|
config LUA_MODULE_QRCODEGEN
|
|
|
|
bool "QR Code Generator module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the QR Code Generator from
|
|
|
|
https://www.nayuki.io/page/qr-code-generator-library
|
|
|
|
|
2017-04-15 17:38:20 +02:00
|
|
|
config LUA_MODULE_SDMMC
|
|
|
|
bool "SD-MMC module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the sdmmc module.
|
|
|
|
|
2017-03-07 23:05:09 +01:00
|
|
|
config LUA_MODULE_SIGMA_DELTA
|
2017-01-11 15:28:10 +01:00
|
|
|
bool "Sigma-Delta module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the sigma_delta module. This module provides access to the
|
|
|
|
sigma-delta hardware.
|
2018-11-22 20:58:27 +01:00
|
|
|
|
|
|
|
config LUA_MODULE_SJSON
|
|
|
|
bool "SJSON module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the sjson module.
|
2017-01-11 15:28:10 +01:00
|
|
|
|
2018-11-15 18:04:00 +01:00
|
|
|
config LUA_MODULE_SODIUM
|
|
|
|
bool "Sodium module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the libsodium crypto module.
|
|
|
|
|
2017-05-01 22:02:07 +02:00
|
|
|
config LUA_MODULE_SPI
|
|
|
|
bool "SPI module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the spi module.
|
|
|
|
|
2016-11-17 11:48:31 +01:00
|
|
|
config LUA_MODULE_STRUCT
|
|
|
|
bool "Struct module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the struct module. This module provides [un]packing of raw
|
|
|
|
byte strings into Lua values and vice versa.
|
|
|
|
|
2017-03-05 20:52:55 +01:00
|
|
|
config LUA_MODULE_TMR
|
|
|
|
bool "Timer module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the timer module (recommended).
|
|
|
|
|
2017-05-26 21:39:29 +02:00
|
|
|
config LUA_MODULE_U8G2
|
|
|
|
bool "U8G2 module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the u8g2 module.
|
|
|
|
|
2017-06-13 19:03:25 +02:00
|
|
|
source "$PROJECT_PATH/components/u8g2/u8g2.kconfig"
|
2017-05-26 21:39:29 +02:00
|
|
|
|
2018-10-04 23:01:34 +02:00
|
|
|
config LUA_MODULE_UCG
|
|
|
|
bool "UCG module"
|
|
|
|
default "n"
|
|
|
|
select LUA_MODULE_SPI
|
|
|
|
help
|
|
|
|
Includes the ucg module.
|
|
|
|
|
|
|
|
source "$PROJECT_PATH/components/ucg/ucg.kconfig"
|
|
|
|
|
2016-10-03 08:42:28 +02:00
|
|
|
config LUA_MODULE_WIFI
|
|
|
|
bool "WiFi module"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Includes the WiFi module (recommended).
|
|
|
|
|
2017-04-06 22:59:19 +02:00
|
|
|
config LUA_MODULE_WS2812
|
|
|
|
bool "WS2812 module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the ws2812 module.
|
2018-11-26 21:03:24 +01:00
|
|
|
|
|
|
|
config LUA_MODULE_TIME
|
|
|
|
bool "time module"
|
|
|
|
default "n"
|
|
|
|
help
|
|
|
|
Includes the time module.
|
2017-04-06 22:59:19 +02:00
|
|
|
|
2016-09-20 05:35:56 +02:00
|
|
|
endmenu
|