Because our code uses compilation tools for embedded operating systems (RIOT and Zephyr), if we want to run the code, we also need to configure the compilation environments for these two operating systems.
Firstly, you need to configure the Python environment.
pip install -r requirements.txtThen you start configuring the RIOT environment.
- RIOT OS 2024.04-311-g4fe8a15452
- xtensa-esp32-elf-gcc 8.2.0
- ESP32 toolchain 12.2.0
You should refer to the following link to configure the compilation and burning environment for RIOT OS. The version of RIOT OS I downloaded is 2024.04-311-g4fe8a15452.
https://gitee.com/emnets/emnets_experiment
Finally, you configure the Zephyr environment.
- Zephyr OS v3.7.0
- Zephyr SDK 0.16.8
- West 1.3.0
- xtensa-esp32-elf-gcc 8.2.0
- cmake 4.0.1
- Python 3.10.16
You should refer to the following link to configure the compilation and burning environment for Zephyr OS. The version of Zephyr OS I downloaded is 3.7.0.
https://zhuanlan.zhihu.com/p/3412624308
I have placed the makefile and app.overlay files for running RIOT and Zephyr code in the RIOT_makefile and Zephyr_ app.overlay folders, respectively.