https://github.com/unclerus/esp-idf-lua
Lua component for ESP-IDF
https://github.com/unclerus/esp-idf-lua
esp-idf esp-idf-framework esp32 esp8266 lua
Last synced: 5 days ago
JSON representation
Lua component for ESP-IDF
- Host: GitHub
- URL: https://github.com/unclerus/esp-idf-lua
- Owner: UncleRus
- License: mit
- Created: 2019-09-27T07:33:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-29T14:14:23.000Z (over 2 years ago)
- Last Synced: 2025-03-16T19:20:06.039Z (7 months ago)
- Topics: esp-idf, esp-idf-framework, esp32, esp8266, lua
- Language: C
- Size: 377 KB
- Stars: 72
- Watchers: 6
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lua component for ESP-IDF
https://www.lua.org
Version 5.4.4
## What is Lua?
Lua is a powerful, efficient, lightweight, embeddable scripting language.
It supports procedural programming, object-oriented programming, functional
programming, data-driven programming, and data description.Lua combines simple procedural syntax with powerful data description
constructs based on associative arrays and extensible semantics. Lua is
dynamically typed, runs by interpreting bytecode with a register-based
virtual machine, and has automatic memory management with incremental
garbage collection, making it ideal for configuration, scripting, and
rapid prototyping.## How to use
Clone this repository into `components` subdir of yout project:
```Shell
cd ~/my_esp_idf_project
mkdir components
cd components
git clone https://github.com/UncleRus/esp-idf-lua.git
```Or clone it to any other directory and add it to your project `Makefile` or `CMakeLists.txt`:
```Makefile
PROJECT_NAME := my-esp-project
EXTRA_COMPONENT_DIRS := $(HOME)/my/work/path/esp-idf-lua
include $(IDF_PATH)/make/project.mk
``````cmake
cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS $ENV{HOME}/my/work/path/esp-idf-lua)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(my-esp-project)
```See examples.