refactor
This commit is contained in:
parent
94fa6eb9be
commit
6ee6bfbdee
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
build/
|
build/
|
||||||
sdkconfig
|
sdkconfig
|
||||||
|
sdkconfig.old
|
||||||
main/frontend.h
|
main/frontend.h
|
||||||
|
|||||||
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Сохранение конфига:
|
||||||
|
```sh
|
||||||
|
. ~/playground/esp-idf/export.sh
|
||||||
|
idf.py save-defconfig
|
||||||
|
```
|
||||||
6
justfile
6
justfile
@ -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
3
sdkconfig.defaults
Normal 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
|
||||||
|
#
|
||||||
Loading…
x
Reference in New Issue
Block a user