2015-03-06 04:59:04 +01:00
|
|
|
#ifndef __USER_MODULES_H__
|
|
|
|
#define __USER_MODULES_H__
|
|
|
|
|
2015-03-06 08:55:24 +01:00
|
|
|
#define LUA_USE_BUILTIN_STRING // for string.xxx()
|
|
|
|
#define LUA_USE_BUILTIN_TABLE // for table.xxx()
|
|
|
|
#define LUA_USE_BUILTIN_COROUTINE // for coroutine.xxx()
|
2015-03-18 07:22:17 +01:00
|
|
|
#define LUA_USE_BUILTIN_MATH // for math.xxx(), partially work
|
2015-03-06 08:55:24 +01:00
|
|
|
// #define LUA_USE_BUILTIN_IO // for io.xxx(), partially work
|
|
|
|
|
|
|
|
// #define LUA_USE_BUILTIN_OS // for os.xxx(), not work
|
2015-08-31 13:18:57 +02:00
|
|
|
// #define LUA_USE_BUILTIN_DEBUG
|
|
|
|
#define LUA_USE_BUILTIN_DEBUG_MINIMAL // for debug.getregistry() and debug.traceback()
|
2015-03-06 08:55:24 +01:00
|
|
|
|
2015-09-01 07:11:36 +02:00
|
|
|
#ifndef LUA_CROSS_COMPILER
|
2015-03-06 04:59:04 +01:00
|
|
|
|
|
|
|
#define LUA_USE_MODULES_ADC
|
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
|
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
|
2015-03-16 02:00:33 +01:00
|
|
|
#define LUA_USE_MODULES_CJSON
|
2015-11-19 22:48:05 +01:00
|
|
|
#define LUA_USE_MODULES_COAP
|
2015-05-26 06:06:49 +02:00
|
|
|
#define LUA_USE_MODULES_CRYPTO
|
2015-06-18 10:31:40 +02:00
|
|
|
#define LUA_USE_MODULES_DHT
|
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_GPIO
|
2015-12-29 12:25:37 +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_MQTT
|
|
|
|
#define LUA_USE_MODULES_NET
|
|
|
|
#define LUA_USE_MODULES_NODE
|
|
|
|
#define LUA_USE_MODULES_OW
|
|
|
|
#define LUA_USE_MODULES_PWM
|
|
|
|
#define LUA_USE_MODULES_RC
|
|
|
|
#define LUA_USE_MODULES_RTCFIFO
|
2015-06-25 04:26:54 +02:00
|
|
|
#define LUA_USE_MODULES_RTCMEM
|
2015-06-25 07:32:21 +02:00
|
|
|
#define LUA_USE_MODULES_RTCTIME
|
2016-01-31 21:48:59 +01:00
|
|
|
//#define LUA_USE_MODULES_SIGMA_DELTA
|
2015-06-30 03:51:33 +02:00
|
|
|
#define LUA_USE_MODULES_SNTP
|
2015-11-19 22:48:05 +01:00
|
|
|
#define LUA_USE_MODULES_SPI
|
|
|
|
#define LUA_USE_MODULES_TMR
|
2015-08-22 00:15:28 +02:00
|
|
|
#define LUA_USE_MODULES_TSL2561
|
2015-11-19 22:48:05 +01:00
|
|
|
#define LUA_USE_MODULES_U8G
|
|
|
|
#define LUA_USE_MODULES_UART
|
|
|
|
//#define LUA_USE_MODULES_UCG
|
|
|
|
#define LUA_USE_MODULES_WIFI
|
|
|
|
//#define LUA_USE_MODULES_WS2801
|
|
|
|
#define LUA_USE_MODULES_WS2812
|
2015-06-12 00:07:16 +02:00
|
|
|
|
2015-03-06 04:59:04 +01:00
|
|
|
|
2015-12-16 06:04:58 +01:00
|
|
|
#endif /* LUA_CROSS_COMPILER */
|
2015-03-06 04:59:04 +01:00
|
|
|
#endif /* __USER_MODULES_H__ */
|