2015-03-06 04:59:04 +01:00
|
|
|
#ifndef __USER_MODULES_H__
|
|
|
|
#define __USER_MODULES_H__
|
|
|
|
|
2015-09-01 07:11:36 +02:00
|
|
|
#ifndef LUA_CROSS_COMPILER
|
2015-03-06 04:59:04 +01:00
|
|
|
|
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.
|
2019-05-07 17:49:16 +02:00
|
|
|
#define LUA_USE_MODULES_ADC
|
2017-05-07 09:49:57 +02:00
|
|
|
//#define LUA_USE_MODULES_ADS1115
|
2016-06-05 22:59:55 +02:00
|
|
|
//#define LUA_USE_MODULES_ADXL345
|
2016-02-13 12:57:19 +01:00
|
|
|
//#define LUA_USE_MODULES_AM2320
|
2015-12-09 22:35:50 +01:00
|
|
|
//#define LUA_USE_MODULES_APA102
|
2015-03-06 04:59:04 +01:00
|
|
|
#define LUA_USE_MODULES_BIT
|
2017-12-03 13:10:59 +01:00
|
|
|
//#define LUA_USE_MODULES_BLOOM
|
2015-11-19 22:48:05 +01:00
|
|
|
//#define LUA_USE_MODULES_BMP085
|
2016-02-07 14:26:43 +01:00
|
|
|
//#define LUA_USE_MODULES_BME280
|
2017-11-19 20:49:07 +01:00
|
|
|
//#define LUA_USE_MODULES_BME680
|
2016-03-01 23:15:03 +01:00
|
|
|
//#define LUA_USE_MODULES_COAP
|
2018-01-23 21:05:04 +01:00
|
|
|
//#define LUA_USE_MODULES_COLOR_UTILS
|
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
|
2019-05-07 17:49:16 +02:00
|
|
|
#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
|
2019-05-07 17:49:16 +02:00
|
|
|
//#define LUA_USE_MODULES_GDBSTUB
|
|
|
|
#define LUA_USE_MODULES_GPIO
|
2018-01-10 21:08:39 +01:00
|
|
|
//#define LUA_USE_MODULES_GPIO_PULSE
|
2017-04-20 22:23:51 +02:00
|
|
|
//#define LUA_USE_MODULES_HDC1080
|
2016-06-05 22:59:39 +02:00
|
|
|
//#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
|
2019-05-07 17:49:16 +02:00
|
|
|
#define LUA_USE_MODULES_I2C
|
2016-06-05 23:00:37 +02:00
|
|
|
//#define LUA_USE_MODULES_L3G4200D
|
2017-05-21 16:30:26 +02:00
|
|
|
//#define LUA_USE_MODULES_MCP4725
|
2016-01-28 03:57:58 +01:00
|
|
|
//#define LUA_USE_MODULES_MDNS
|
2019-05-07 17:49:16 +02:00
|
|
|
#define LUA_USE_MODULES_MQTT
|
2015-11-19 22:48:05 +01:00
|
|
|
#define LUA_USE_MODULES_NET
|
|
|
|
#define LUA_USE_MODULES_NODE
|
|
|
|
#define LUA_USE_MODULES_OW
|
2016-06-05 23:21:36 +02:00
|
|
|
//#define LUA_USE_MODULES_PCM
|
2016-02-21 21:12:13 +01:00
|
|
|
//#define LUA_USE_MODULES_PERF
|
2019-06-19 14:16:17 +02:00
|
|
|
//#define LUA_USE_MODULES_PIPE
|
2016-03-01 23:15:03 +01:00
|
|
|
//#define LUA_USE_MODULES_PWM
|
2019-05-25 22:08:13 +02:00
|
|
|
//#define LUA_USE_MODULES_PWM2
|
2016-03-01 23:15:03 +01:00
|
|
|
//#define LUA_USE_MODULES_RC
|
2016-12-01 22:19:01 +01:00
|
|
|
//#define LUA_USE_MODULES_RFSWITCH
|
2016-02-28 20:48:41 +01:00
|
|
|
//#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
|
2017-04-27 23:16:33 +02:00
|
|
|
//#define LUA_USE_MODULES_SI7021
|
2016-01-31 21:48:59 +01:00
|
|
|
//#define LUA_USE_MODULES_SIGMA_DELTA
|
2017-03-22 01:24:32 +01:00
|
|
|
//#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
|
2019-05-07 17:49:16 +02:00
|
|
|
#define LUA_USE_MODULES_SPI
|
2018-01-10 22:45:56 +01:00
|
|
|
//#define LUA_USE_MODULES_SQLITE3
|
2016-02-12 18:15:36 +01:00
|
|
|
//#define LUA_USE_MODULES_STRUCT
|
2016-06-26 14:19:06 +02:00
|
|
|
//#define LUA_USE_MODULES_SWITEC
|
2018-03-08 01:20:59 +01:00
|
|
|
//#define LUA_USE_MODULES_TCS34725
|
2016-06-03 23:47:36 +02:00
|
|
|
//#define LUA_USE_MODULES_TM1829
|
2018-03-08 01:20:59 +01:00
|
|
|
//#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
|
2015-11-19 22:48:05 +01:00
|
|
|
#define LUA_USE_MODULES_UART
|
2017-11-18 21:29:57 +01:00
|
|
|
//#define LUA_USE_MODULES_U8G2
|
2015-11-19 22:48:05 +01:00
|
|
|
//#define LUA_USE_MODULES_UCG
|
2016-08-18 13:59:44 +02:00
|
|
|
//#define LUA_USE_MODULES_WEBSOCKET
|
2015-11-19 22:48:05 +01:00
|
|
|
#define LUA_USE_MODULES_WIFI
|
2018-01-10 21:24:41 +01:00
|
|
|
//#define LUA_USE_MODULES_WIFI_MONITOR
|
2017-01-09 08:43:47 +01:00
|
|
|
//#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
|
2018-01-23 21:05:04 +01:00
|
|
|
//#define LUA_USE_MODULES_WS2812_EFFECTS
|
2017-03-09 07:20:01 +01:00
|
|
|
//#define LUA_USE_MODULES_XPT2046
|
2015-06-12 00:07:16 +02:00
|
|
|
|
2018-04-13 21:41:14 +02:00
|
|
|
//debug modules
|
|
|
|
//#define LUA_USE_MODULES_SWTMR_DBG //SWTMR timer suspend Debug functions
|
|
|
|
|
|
|
|
|
2015-12-16 06:04:58 +01:00
|
|
|
#endif /* LUA_CROSS_COMPILER */
|
2015-03-06 04:59:04 +01:00
|
|
|
#endif /* __USER_MODULES_H__ */
|