Browse Source

add:添加@tag头注释

Dozingfiretruck 3 years ago
parent
commit
cef6c90085

+ 1 - 0
components/ethernet/w5500/luat_lib_w5500.c

@@ -3,6 +3,7 @@
 @summary w5500以太网驱动
 @version 1.0
 @date    2022.04.11
+@tag LUAT_USE_W5500
 */
 
 #include "luat_base.h"

+ 1 - 0
components/miniz/luat_lib_miniz.c

@@ -3,6 +3,7 @@
 @summary 简易zlib压缩
 @version 1.0
 @date    2022.8.11
+@tag LUAT_USE_MINIZ
 @usage
 -- 准备好数据
 local bigdata = "123jfoiq4hlkfjbnasdilfhuqwo;hfashfp9qw38hrfaios;hfiuoaghfluaeisw"

+ 1 - 0
components/mlx90640-library/luat_lib_mlx90640.c

@@ -4,6 +4,7 @@
 @summary 红外测温(MLX90640)
 @version 1.0
 @date    2022.1.20
+@tag LUAT_USE_MLX90640
 */
 
 #include "luat_base.h"

+ 1 - 0
components/mobile/luat_lib_mobile.c

@@ -5,6 +5,7 @@
 @version 1.0
 @date    2022.8.9
 @demo    mobile
+@tag LUAT_USE_MOBILE
 @usage
 -- 简单演示
 

+ 1 - 0
components/network/adapter/luat_lib_socket.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2022.11.13
 @demo socket
+@tag LUAT_USE_NETWORK
 */
 #include "luat_base.h"
 #include "luat_malloc.h"

+ 1 - 0
components/network/libemqtt/luat_lib_mqtt.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2022.08.25
 @demo socket
+@tag LUAT_USE_MQTT
 */
 
 #include "luat_base.h"

+ 1 - 0
components/nimble/src/luat_lib_nimble.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2022.10.21
 @demo    nimble
+@tag LUAT_USE_NIMBLE
 @usage
 -- 本库当前支持Air101/Air103/ESP32/ESP32C3
 -- 理论上支持ESP32C2/ESP32S2/ESP32S3,但尚未测试

+ 1 - 0
components/rsa/binding/luat_lib_rsa.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2022.11.03
 @demo    rsa
+@tag LUAT_USE_RSA
 @usage
 -- 请在电脑上生成私钥和公钥, 当前最高支持4096bit, 一般来说2048bit就够用了
 -- openssl genrsa -out privkey.pem 2048

+ 1 - 0
components/serialization/protobuf/luat_lib_protobuf.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2022.09.08
 @demo protobuf
+@tag LUAT_USE_PROTOBUF
 @usage
 
 -- 加载 pb 文件, 这个是从pbtxt 转换得到的

+ 1 - 0
components/sfd/luat_lib_sfd.c

@@ -3,6 +3,7 @@
 @summary SPI FLASH操作库
 @version 1.0
 @date    2021.05.18
+@tag LUAT_USE_SFD
 */
 #include "luat_base.h"
 #include "luat_spi.h"

+ 1 - 0
components/sfud/luat_lib_sfud.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2021.09.23
 @demo sfud
+@tag LUAT_USE_SFUD
 */
 
 #include "luat_base.h"

+ 1 - 0
components/statem/luat_lib_statem.c

@@ -5,6 +5,7 @@
 @version 1.0
 @date    2021.09.26
 @demo statem
+@tag LUAT_USE_STATEM
 */
 
 #include "luat_base.h"

+ 1 - 0
components/u8g2/luat_lib_u8g2.c

@@ -5,6 +5,7 @@
 @version 1.0
 @date    2021.01.25
 @demo u8g2
+@tag LUAT_USE_U8G2
 */
 #include "luat_base.h"
 #include "luat_malloc.h"

+ 1 - 0
components/wlan/luat_lib_wlan.c

@@ -6,6 +6,7 @@
 @version 1.0
 @date    2022.09.30
 @demo wlan
+@tag LUAT_USE_WLAN
 */
 
 #include "luat_base.h"

+ 1 - 0
components/zlib/luat_lib_zlib.c

@@ -3,6 +3,7 @@
 @summary zlib压缩/解压缩
 @version 1.0
 @date    2022.01.06
+@tag LUAT_USE_ZLIB
 */
 
 #include "luat_base.h"

+ 1 - 0
lua/src/lstrlib_exts.c

@@ -1,6 +1,7 @@
 /*
 @module  string
 @summary 字符串操作函数
+@tag LUAT_CONF_BSP
 */
 #include "luat_base.h"
 #include "luat_malloc.h"

+ 1 - 0
luat/modules/luat_lib_otp.c

@@ -4,6 +4,7 @@
 @summary OTP操作库
 @version 1.0
 @date    2021.12.08
+@tag LUAT_USE_OTP
 */
 #include "luat_base.h"
 #include "luat_otp.h"

+ 1 - 0
luat/modules/luat_lib_pack.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2021.12.20
 @video https://www.bilibili.com/video/BV1Sr4y1n7bP
+@tag LUAT_USE_PACK
 */
 
 #define	OP_ZSTRING	      'z'		/* zero-terminated string */

+ 1 - 0
luat/modules/luat_lib_pm.c

@@ -5,6 +5,7 @@
 @version 1.0
 @date    2020.07.02
 @demo pm
+@tag LUAT_USE_PM
 */
 #include "lua.h"
 #include "lauxlib.h"

+ 1 - 0
luat/modules/luat_lib_pwm.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2020.07.03
 @demo pwm
+@tag LUAT_USE_PWM
 */
 #include "luat_base.h"
 #include "luat_pwm.h"

+ 1 - 0
luat/modules/luat_lib_rtc.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2021.08.31
 @demo rtc
+@tag LUAT_USE_RTC
 */
 #include "luat_base.h"
 #include "luat_rtc.h"

+ 1 - 0
luat/modules/luat_lib_rtos.c

@@ -3,6 +3,7 @@
 @summary RTOS底层操作库
 @version 1.0
 @date    2020.03.30
+@tag LUAT_CONF_BSP
 */
 #include "luat_base.h"
 #include "luat_sys.h"

+ 1 - 0
luat/modules/luat_lib_sdio.c

@@ -4,6 +4,7 @@
 @summary sdio
 @version 1.0
 @date    2021.09.02
+@tag LUAT_USE_SDIO
 */
 #include "luat_base.h"
 #include "luat_sdio.h"

+ 1 - 0
luat/modules/luat_lib_sensor.c

@@ -4,6 +4,7 @@
 @summary 传感器操作库
 @version 1.0
 @date    2020.03.30
+@tag LUAT_USE_SENSOR
 */
 #include "luat_base.h"
 #include "luat_timer.h"

+ 1 - 0
luat/modules/luat_lib_spi.c

@@ -5,6 +5,7 @@
 @date    2020.04.23
 @demo spi
 @video https://www.bilibili.com/video/BV1VY411M7YH
+@tag LUAT_USE_SPI
 */
 #include "luat_base.h"
 #include "luat_log.h"

+ 1 - 0
luat/modules/luat_lib_sys_doc.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2019.11.23
 @video https://www.bilibili.com/video/BV1194y1o7q2
+@tag LUAT_CONF_BSP
 */
 
 /*

+ 1 - 0
luat/modules/luat_lib_timer.c

@@ -3,6 +3,7 @@
 @summary 操作底层定时器
 @version 1.0
 @date    2020.03.30
+@tag LUAT_USE_TIMER
 */
 #include "luat_base.h"
 #include "luat_log.h"

+ 1 - 0
luat/modules/luat_lib_touchkey.c

@@ -3,6 +3,7 @@
 @summary 触摸按键
 @version 1.0
 @date    2022.01.15
+@tag LUAT_USE_TOUCHKEY
 */
 #include "luat_base.h"
 #include "luat_touchkey.h"

+ 1 - 0
luat/modules/luat_lib_uart.c

@@ -5,6 +5,7 @@
 @date    2020.03.30
 @demo uart
 @video https://www.bilibili.com/video/BV1er4y1p75y
+@tag LUAT_USE_UART
 */
 #include "luat_base.h"
 #include "luat_uart.h"

+ 1 - 0
luat/modules/luat_lib_wdt.c

@@ -4,6 +4,7 @@
 @version 1.0
 @date    2021.08.06
 @demo wdt
+@tag LUAT_USE_WDT
 */
 #include "luat_base.h"
 #include "luat_wdt.h"

+ 1 - 0
luat/modules/luat_lib_zbuff.c

@@ -4,6 +4,7 @@
 @version 0.1
 @date    2021.03.31
 @video https://www.bilibili.com/video/BV1gr4y1V7HN
+@tag LUAT_USE_ZBUFF
 */
 #include "luat_base.h"
 #include "luat_zbuff.h"