|
|
@@ -14,13 +14,30 @@ demo地址: https://gitee.com/openLuat/LuatOS/tree/master/demo/wlan/esp32c3
|
|
|
|
|
|
## 编译说明
|
|
|
|
|
|
-本代码库需要idf5最新代码进行编译, 且依赖LuatOS库.
|
|
|
+本代码库需要idf5最新代码进行编译, 且**依赖LuatOS主库**.
|
|
|
|
|
|
-首先, 将LuatOS主库下载/clone下下来,
|
|
|
-然后, 修改本库的luatos目录下的`CMakeLists.txt`, 里面有 LUATOS_ROOT, 修改成本地正确的路径
|
|
|
+主库不是当前库的luatos目录, 是另一个git库!! https://gitee.com/openLuat/LuatOS
|
|
|
+
|
|
|
+* 首先, 将[LuatOS主库](https://gitee.com/openLuat/LuatOS)下载/clone下来
|
|
|
+* 然后, 修改本库的luatos目录下的`CMakeLists.txt`, 里面有 LUATOS_ROOT, 修改成主库的本地完整路径
|
|
|
+
|
|
|
+最终的目录结构类似这样:
|
|
|
+```
|
|
|
+D:\
|
|
|
+ gitee\
|
|
|
+ - LuatOS # 这是主库的代码
|
|
|
+ - lua
|
|
|
+ - luat
|
|
|
+ - 其他目录未列出
|
|
|
+ - luatos-soc-idf5
|
|
|
+ - idf5
|
|
|
+ - luatos # 这是适配LuatOS的代码,不是主库
|
|
|
+```
|
|
|
|
|
|
### 关于工具链
|
|
|
|
|
|
+要用CMD, 不要用PowerShell!!!
|
|
|
+
|
|
|
方案1 : 使用本代码库自带的idf5
|
|
|
|
|
|
* idf5目录当前更新 2022.10.18 master分支
|