Initial commit
This commit is contained in:
29
README.md
Normal file
29
README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# ESP-IDF Template
|
||||
|
||||
A minimal ESP-IDF project template.
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
├── CMakeLists.txt
|
||||
├── sdkconfig
|
||||
├── main/
|
||||
│ ├── CMakeLists.txt
|
||||
│ └── main.c
|
||||
└── README.md
|
||||
```
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Install ESP-IDF
|
||||
2. Copy this template
|
||||
3. Configure with `idf.py menuconfig`
|
||||
4. Build with `idf.py build`
|
||||
5. Flash with `idf.py flash`
|
||||
|
||||
## Clangd Setup
|
||||
|
||||
For enhanced code intelligence with clangd:
|
||||
|
||||
1. Install ESP-specific clangd: `idf_tools.py install esp-clang`
|
||||
2. Configure the project for clangd: `idf.py -B build.clang -D IDF_TOOLCHAIN=clang reconfigure` (or use the `:ESPReconfigure` command in VSCode)
|
||||
Reference in New Issue
Block a user