Aim of this project template is to make getting D (betterC) code to run on the ESP32 as easy as possible
sudo apt-get install git wget flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache
Make sure everything in install_ldc_xtensa.sh was executed.
Also Visual Studio Code and on Windows the "Remote - WSL" as well as the C/C++ extension
Install and Open Debian app (Windows Subsystem for Linux)
Open Clone this repository
git clone
Download submodules
git submodule update --init --recursive
Install ESP-IDF requirements
cd ./esp-idf
./install.sh
cd ..
Execute code command to open VSCode with this remote
Open the internal VSCode shell
Source the build environment
source ./env.sh
Build
make
The new build system is not yet supported, see Todo
idf.py build
Thanks for this guide!: https://wiki.dlang.org/D_on_esp32/esp8266(llvm-xtensa%2Bldc)_and_how_to_get_started