nodemcu-firmware/app/include/user_modules.h

82 lines
2.9 KiB
C
Raw Normal View History

#ifndef __USER_MODULES_H__
#define __USER_MODULES_H__
#define LUA_USE_BUILTIN_STRING // for string.xxx()
#define LUA_USE_BUILTIN_TABLE // for table.xxx()
#define LUA_USE_BUILTIN_COROUTINE // for coroutine.xxx()
#define LUA_USE_BUILTIN_MATH // for math.xxx(), partially work
// #define LUA_USE_BUILTIN_IO // for io.xxx(), partially work
// #define LUA_USE_BUILTIN_OS // for os.xxx(), not work
// #define LUA_USE_BUILTIN_DEBUG
#define LUA_USE_BUILTIN_DEBUG_MINIMAL // for debug.getregistry() and debug.traceback()
2015-09-01 07:11:36 +02:00
#ifndef LUA_CROSS_COMPILER
2016-03-01 23:15:03 +01:00
// The default configuration is designed to run on all ESP modules including the 512 KB modules like ESP-01 and only
// includes general purpose interface modules which require at most two GPIO pins.
// See https://github.com/nodemcu/nodemcu-firmware/pull/1127 for discussions.
// New modules should be disabled by default and added in alphabetical order.
#define LUA_USE_MODULES_ADC
//#define LUA_USE_MODULES_ADS1115
//#define LUA_USE_MODULES_ADXL345
//#define LUA_USE_MODULES_AM2320
2015-12-09 22:35:50 +01:00
//#define LUA_USE_MODULES_APA102
#define LUA_USE_MODULES_BIT
2015-11-19 22:48:05 +01:00
//#define LUA_USE_MODULES_BMP085
//#define LUA_USE_MODULES_BME280
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_COAP
2016-12-26 14:19:12 +01:00
//#define LUA_USE_MODULES_CRON
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_CRYPTO
#define LUA_USE_MODULES_DHT
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_ENCODER
2015-11-19 22:48:05 +01:00
//#define LUA_USE_MODULES_ENDUSER_SETUP // USE_DNS in dhcpserver.h needs to be enabled for this module to work.
#define LUA_USE_MODULES_FILE
//#define LUA_USE_MODULES_GDBSTUB
2015-11-19 22:48:05 +01:00
#define LUA_USE_MODULES_GPIO
//#define LUA_USE_MODULES_HDC1080
//#define LUA_USE_MODULES_HMC5883L
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_HTTP
2015-11-19 22:48:05 +01:00
//#define LUA_USE_MODULES_HX711
#define LUA_USE_MODULES_I2C
//#define LUA_USE_MODULES_L3G4200D
//#define LUA_USE_MODULES_MDNS
2015-11-19 22:48:05 +01:00
#define LUA_USE_MODULES_MQTT
#define LUA_USE_MODULES_NET
#define LUA_USE_MODULES_NODE
#define LUA_USE_MODULES_OW
//#define LUA_USE_MODULES_PCM
//#define LUA_USE_MODULES_PERF
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_PWM
//#define LUA_USE_MODULES_RC
//#define LUA_USE_MODULES_RFSWITCH
//#define LUA_USE_MODULES_ROTARY
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_RTCFIFO
//#define LUA_USE_MODULES_RTCMEM
//#define LUA_USE_MODULES_RTCTIME
//#define LUA_USE_MODULES_SI7021
2016-01-31 21:48:59 +01:00
//#define LUA_USE_MODULES_SIGMA_DELTA
//#define LUA_USE_MODULES_SJSON
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_SNTP
2016-10-14 00:49:58 +02:00
//#define LUA_USE_MODULES_SOMFY
2015-11-19 22:48:05 +01:00
#define LUA_USE_MODULES_SPI
//#define LUA_USE_MODULES_STRUCT
//#define LUA_USE_MODULES_SWITEC
// #define LUA_USE_MODULES_TCS34725
//#define LUA_USE_MODULES_TM1829
#define LUA_USE_MODULES_TLS
2015-11-19 22:48:05 +01:00
#define LUA_USE_MODULES_TMR
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_TSL2561
//#define LUA_USE_MODULES_U8G
2015-11-19 22:48:05 +01:00
#define LUA_USE_MODULES_UART
//#define LUA_USE_MODULES_UCG
//#define LUA_USE_MODULES_WEBSOCKET
2015-11-19 22:48:05 +01:00
#define LUA_USE_MODULES_WIFI
//#define LUA_USE_MODULES_WPS
2015-11-19 22:48:05 +01:00
//#define LUA_USE_MODULES_WS2801
2016-03-01 23:15:03 +01:00
//#define LUA_USE_MODULES_WS2812
//#define LUA_USE_MODULES_XPT2046
2015-06-12 00:07:16 +02:00
#endif /* LUA_CROSS_COMPILER */
#endif /* __USER_MODULES_H__ */