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
|
|
|
|
// #define LUA_USE_BUILTIN_DEBUG // for debug.xxx(), not work
|
|
|
|
|
2015-03-06 04:59:04 +01:00
|
|
|
#define LUA_USE_MODULES
|
|
|
|
|
|
|
|
#ifdef LUA_USE_MODULES
|
|
|
|
#define LUA_USE_MODULES_NODE
|
|
|
|
#define LUA_USE_MODULES_FILE
|
|
|
|
#define LUA_USE_MODULES_GPIO
|
|
|
|
#define LUA_USE_MODULES_WIFI
|
|
|
|
#define LUA_USE_MODULES_NET
|
|
|
|
#define LUA_USE_MODULES_PWM
|
|
|
|
#define LUA_USE_MODULES_I2C
|
|
|
|
#define LUA_USE_MODULES_SPI
|
|
|
|
#define LUA_USE_MODULES_TMR
|
|
|
|
#define LUA_USE_MODULES_ADC
|
|
|
|
#define LUA_USE_MODULES_UART
|
|
|
|
#define LUA_USE_MODULES_OW
|
|
|
|
#define LUA_USE_MODULES_BIT
|
|
|
|
#define LUA_USE_MODULES_MQTT
|
2015-03-15 13:12:29 +01:00
|
|
|
#define LUA_USE_MODULES_COAP
|
2015-03-06 09:24:55 +01:00
|
|
|
#define LUA_USE_MODULES_U8G
|
2015-03-06 04:59:04 +01:00
|
|
|
#define LUA_USE_MODULES_WS2812
|
2015-03-16 02:00:33 +01:00
|
|
|
#define LUA_USE_MODULES_CJSON
|
2015-05-26 06:06:49 +02:00
|
|
|
#define LUA_USE_MODULES_CRYPTO
|
2015-06-12 00:07:16 +02:00
|
|
|
#define LUA_USE_MODULES_RC
|
|
|
|
|
2015-03-06 04:59:04 +01:00
|
|
|
#endif /* LUA_USE_MODULES */
|
|
|
|
|
|
|
|
#endif /* __USER_MODULES_H__ */
|