refactor
This commit is contained in:
parent
94fa6eb9be
commit
6ee6bfbdee
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
build/
|
||||
sdkconfig
|
||||
sdkconfig.old
|
||||
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
|
||||
|
||||
PORT := env("PORT", "/dev/ttyUSB0")
|
||||
ESPRESSIF := env("ESPRESSIF", "${HOME}/playground/espressif")
|
||||
ESPRESSIF := env("ESPRESSIF", "${HOME}/playground/esp-idf")
|
||||
|
||||
|
||||
init:
|
||||
@ -16,13 +16,15 @@ build:
|
||||
idf.py build
|
||||
|
||||
|
||||
alias flash := upload
|
||||
upload:
|
||||
#!/bin/sh
|
||||
. "{{ESPRESSIF}}/export.sh"
|
||||
idf.py -p "{{PORT}}" flash
|
||||
|
||||
|
||||
term:
|
||||
alias term := monitor
|
||||
monitor:
|
||||
#!/bin/sh
|
||||
. "{{ESPRESSIF}}/export.sh"
|
||||
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