Очистить структуру ESP32-скетчей

This commit is contained in:
AidarKC
2026-12-03 13:44:08 +03:00
parent eae8280062
commit 08969ecb13
35 changed files with 21 additions and 21 deletions
@@ -32,27 +32,27 @@ case "${MODE}" in
hello) SKETCH_DIR="${DEMO_BASE}/examples/01_HelloWorld" ;;
widgets) SKETCH_DIR="${DEMO_BASE}/examples/05_LVGL_Widgets" ;;
audio) SKETCH_DIR="${DEMO_BASE}/examples/07_ES8311" ;;
simple) SKETCH_DIR="${ROOT_DIR}/simple_av_test" ;;
argon2) SKETCH_DIR="${ROOT_DIR}/argon2_sd_test" ;;
homeserver-ui) SKETCH_DIR="${ROOT_DIR}/shine_homeserver_main" ;;
simple) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/simple_av_test" ;;
argon2) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/argon2_sd_test" ;;
homeserver-ui) SKETCH_DIR="${BOARD_DIR}/old_version/shine_homeserver_main" ;;
registration-signer) SKETCH_DIR="${ROOT_DIR}/shine_registration_signer" ;;
shine-homeserver-main) SKETCH_DIR="${ROOT_DIR}/shine_homeserver_main" ;;
shine-homeserver-ui-main) SKETCH_DIR="${ROOT_DIR}/shine_homeserver_main" ;;
legacy-homeserver-ui) SKETCH_DIR="${ROOT_DIR}/shine_homeserver_ui" ;;
text-test) SKETCH_DIR="${ROOT_DIR}/text_render_test" ;;
gfx-text-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/gfx_text_render_test" ;;
gfx-layout-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/gfx_button_layout_test" ;;
lvgl-basic-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/lvgl_basic_test" ;;
lvgl-interaction-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/lvgl_interaction_test" ;;
lvgl-touch-debug-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/lvgl_touch_debug_test" ;;
lvgl-official-based-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/lvgl_official_based_test" ;;
lvgl-subserver-touch-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/lvgl_subserver_touch_test" ;;
lvgl-russian-font-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/lvgl_russian_font_test" ;;
usb-contact-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/usb_contact_sensor_test" ;;
usb-contact-debug-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/usb_contact_sensor_debug_test" ;;
usb-contact-resistance-test) SKETCH_DIR="${ROOT_DIR}/test_sketches/usb_contact_resistance_test" ;;
usb-contact-screen-start-stub) SKETCH_DIR="${ROOT_DIR}/test_sketches/usb_contact_screen_start_stub" ;;
lvgl-nav-minimal-test) SKETCH_DIR="${ROOT_DIR}/shine_homeserver_main" ;;
shine-homeserver-main) SKETCH_DIR="${BOARD_DIR}/old_version/shine_homeserver_main" ;;
shine-homeserver-ui-main) SKETCH_DIR="${BOARD_DIR}/old_version/shine_homeserver_main" ;;
legacy-homeserver-ui) SKETCH_DIR="${BOARD_DIR}/old_version/shine_homeserver_ui" ;;
text-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/text_render_test" ;;
gfx-text-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/gfx_text_render_test" ;;
gfx-layout-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/gfx_button_layout_test" ;;
lvgl-basic-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/lvgl_basic_test" ;;
lvgl-interaction-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/lvgl_interaction_test" ;;
lvgl-touch-debug-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/lvgl_touch_debug_test" ;;
lvgl-official-based-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/lvgl_official_based_test" ;;
lvgl-subserver-touch-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/lvgl_subserver_touch_test" ;;
lvgl-russian-font-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/lvgl_russian_font_test" ;;
usb-contact-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/usb_contact_sensor_test" ;;
usb-contact-debug-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/usb_contact_sensor_debug_test" ;;
usb-contact-resistance-test) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/usb_contact_resistance_test" ;;
usb-contact-screen-start-stub) SKETCH_DIR="${BOARD_DIR}/старые_скетчи/test_sketches/usb_contact_screen_start_stub" ;;
lvgl-nav-minimal-test) SKETCH_DIR="${BOARD_DIR}/old_version/shine_homeserver_main" ;;
*)
echo "Unknown mode: ${MODE}" >&2
echo "Use one of: registration-signer, hello, widgets, audio, simple, argon2, homeserver-ui, shine-homeserver-main, shine-homeserver-ui-main, legacy-homeserver-ui, text-test, gfx-text-test, gfx-layout-test, lvgl-basic-test, lvgl-interaction-test, lvgl-touch-debug-test, lvgl-official-based-test, lvgl-subserver-touch-test, lvgl-russian-font-test, usb-contact-test, usb-contact-debug-test, usb-contact-resistance-test, usb-contact-screen-start-stub" >&2
@@ -75,7 +75,7 @@ compile_args=(
--library "${DEMO_BASE}/libraries/XPowersLib"
--library "${DEMO_BASE}/libraries/lvgl"
--library "${DEMO_BASE}/libraries/Mylibrary"
--library "${ROOT_DIR}/simple_av_test"
--library "${BOARD_DIR}/старые_скетчи/simple_av_test"
"${SKETCH_DIR}"
)