menu "NodeMCU modules"

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
  bool "Extended debug support"
  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


config LUA_MODULE_BIT
  bool "Bit module"
  default "n"
  help
      Includes the bit module. This module provide bit manipulation functions
      on Lua numbers.

config LUA_MODULE_BTHCI
  bool "BlueTooth HCI interface module"
  default "n"
  help
      Includes the simple BlueTooth HCI module.

config LUA_MODULE_DHT
  bool "DHT11/21/22/AM2301/AM2302 module"
  default "n"
  help
      Includes the dht module.

config LUA_MODULE_ENCODER
  bool "Encoder module"
  default "n"
  help
      Includes the encoder module. This provides hex and base64 encoding and
      decoding functionality.

config LUA_MODULE_FILE
  bool "File module"
  default "y"
  help
      Includes the file module (recommended).

config LUA_MODULE_GPIO
  bool "GPIO module"
  default "y"
  help
      Includes the GPIO module (recommended).

config LUA_MODULE_I2C
  bool "I2C module"
  default "y"
  help
      Includes the I2C module (recommended).

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).

config LUA_MODULE_OW
  bool "1-Wire module"
  default "y"
  help
      Includes the 1-Wire (ow) module (recommended).

config LUA_MODULE_SIGMA_DELTA
  bool "Sigma-Delta module"
  default "n"
  help
      Includes the sigma_delta module. This module provides access to the
      sigma-delta hardware.

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.

config LUA_MODULE_TMR
  bool "Timer module"
  default "y"
  help
      Includes the timer module (recommended).

config LUA_MODULE_WIFI
  bool "WiFi module"
  default "y"
  help
      Includes the WiFi module (recommended).

endmenu