feat: add lua module uart

This commit is contained in:
yanke
2026-04-22 21:19:06 +08:00
committed by Xiangao Lu
parent 10f2835894
commit 8dbc56fb7d
11 changed files with 506 additions and 0 deletions
@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "esp_err.h"
#include "lua.h"
#ifdef __cplusplus
extern "C" {
#endif
int luaopen_uart(lua_State *L);
esp_err_t lua_module_uart_register(void);
#ifdef __cplusplus
}
#endif