From 6ee6bfbdee280de8ff73e2d2c03da48899e330b9 Mon Sep 17 00:00:00 2001 From: thek4n Date: Fri, 5 Jun 2026 10:45:34 +0300 Subject: [PATCH] refactor --- .gitignore | 1 + README.md | 9 +++++++++ justfile | 6 ++++-- sdkconfig.defaults | 3 +++ 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 README.md create mode 100644 sdkconfig.defaults diff --git a/.gitignore b/.gitignore index a930493..7f09719 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ build/ sdkconfig +sdkconfig.old main/frontend.h diff --git a/README.md b/README.md new file mode 100644 index 0000000..7afa621 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ + + + + +Сохранение конфига: +```sh +. ~/playground/esp-idf/export.sh +idf.py save-defconfig +``` diff --git a/justfile b/justfile index 71b8f80..6b7a83f 100755 --- a/justfile +++ b/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 diff --git a/sdkconfig.defaults b/sdkconfig.defaults new file mode 100644 index 0000000..1aff95d --- /dev/null +++ b/sdkconfig.defaults @@ -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 +#