This commit is contained in:
thek4n 2026-06-05 10:45:34 +03:00
parent 94fa6eb9be
commit 6ee6bfbdee
4 changed files with 17 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
build/ build/
sdkconfig sdkconfig
sdkconfig.old
main/frontend.h main/frontend.h

9
README.md Normal file
View File

@ -0,0 +1,9 @@
Сохранение конфига:
```sh
. ~/playground/esp-idf/export.sh
idf.py save-defconfig
```

View File

@ -1,7 +1,7 @@
#!/usr/bin/env -S just --justfile #!/usr/bin/env -S just --justfile
PORT := env("PORT", "/dev/ttyUSB0") PORT := env("PORT", "/dev/ttyUSB0")
ESPRESSIF := env("ESPRESSIF", "${HOME}/playground/espressif") ESPRESSIF := env("ESPRESSIF", "${HOME}/playground/esp-idf")
init: init:
@ -16,13 +16,15 @@ build:
idf.py build idf.py build
alias flash := upload
upload: upload:
#!/bin/sh #!/bin/sh
. "{{ESPRESSIF}}/export.sh" . "{{ESPRESSIF}}/export.sh"
idf.py -p "{{PORT}}" flash idf.py -p "{{PORT}}" flash
term: alias term := monitor
monitor:
#!/bin/sh #!/bin/sh
. "{{ESPRESSIF}}/export.sh" . "{{ESPRESSIF}}/export.sh"
idf.py -p "{{PORT}}" monitor idf.py -p "{{PORT}}" monitor

3
sdkconfig.defaults Normal file
View File

@ -0,0 +1,3 @@
# This file was generated using idf.py save-defconfig or menuconfig [D] key. It can be edited manually.
# Espressif IoT Development Framework (ESP-IDF) 6.2.0 Project Minimal Configuration
#