From 4f1dbc1fa56e54f46959094e8f9b8661997d4e2d Mon Sep 17 00:00:00 2001 From: Nic Limper Date: Fri, 27 Jan 2023 23:25:04 +0100 Subject: [PATCH] local config changes --- esp32_fw/include/settings.h | 20 ++++++++------------ esp32_fw/platformio.ini | 11 +++++------ tag_fw/make.bat | 14 ++++++++++++++ 3 files changed, 27 insertions(+), 18 deletions(-) create mode 100644 tag_fw/make.bat diff --git a/esp32_fw/include/settings.h b/esp32_fw/include/settings.h index 45b37172..279d774a 100644 --- a/esp32_fw/include/settings.h +++ b/esp32_fw/include/settings.h @@ -28,19 +28,15 @@ // flasher options #define CUSTOM_MAC_HDR 0x0000 -// connections to the tag -//#define RXD1 16 //was 16 - 13 -//#define TXD1 17 // was 17 - 12 +#define RXD1 16 +#define TXD1 17 -#define RXD1 13 // 1st -#define TXD1 12 // 2nd - -#define ZBS_SS 21 +#define ZBS_SS 5 #define ZBS_CLK 18 -#define ZBS_MoSi 22 +#define ZBS_MoSi 23 #define ZBS_MiSo 19 -#define ZBS_Reset 5 -#define ZBS_POWER1 15 -#define ZBS_POWER2 2 +#define ZBS_Reset 2 +#define ZBS_POWER1 13 +#define ZBS_POWER2 15 -#define MAX_WRITE_ATTEMPTS 5 \ No newline at end of file +#define MAX_WRITE_ATTEMPTS 5 diff --git a/esp32_fw/platformio.ini b/esp32_fw/platformio.ini index 1e540fb1..c22487e0 100644 --- a/esp32_fw/platformio.ini +++ b/esp32_fw/platformio.ini @@ -8,20 +8,19 @@ ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html -[env:esp32cam] +[env:lolin32_lite] platform = espressif32 -board = esp32cam +board = esp32dev framework = arduino -;board_build.partitions = min_spiffs.csv board_build.partitions = no_ota.csv platform_packages = monitor_filters = esp32_exception_decoder monitor_speed = 115200 board_build.f_cpu = 240000000L +board_build.filesystem = littlefs lib_deps = https://github.com/me-no-dev/ESPAsyncWebServer https://github.com/tzapu/WiFiManager.git#feature_asyncwebserver bblanchon/ArduinoJson - -upload_port = COM12 -monitor_port = COM12 \ No newline at end of file +upload_port = COM5 +monitor_port = COM5 diff --git a/tag_fw/make.bat b/tag_fw/make.bat new file mode 100644 index 00000000..8f656d19 --- /dev/null +++ b/tag_fw/make.bat @@ -0,0 +1,14 @@ +@echo off +makeit clean +makeit +del /s *.asm +del /s *.lst +del /s *.rst +del /s *.sym +del /s *.map +del /s *.mem +del /s *.ihx +del /s *.adb +del /s *.rel +del /s *.omf +