diff --git a/bin/bin LILYGO TDisplay S3/0x10000_firmware.bin b/bin/bin LILYGO TDisplay S3/0x10000_firmware.bin new file mode 100644 index 0000000..72ef1ea Binary files /dev/null and b/bin/bin LILYGO TDisplay S3/0x10000_firmware.bin differ diff --git a/bin/bin LILYGO TDisplay S3/burnFirmware.ps1 b/bin/bin LILYGO TDisplay S3/burnFirmware.ps1 new file mode 100644 index 0000000..d100bc3 --- /dev/null +++ b/bin/bin LILYGO TDisplay S3/burnFirmware.ps1 @@ -0,0 +1,6 @@ +#GET CURRENT COMPORT IF MORE THAN ONE (NOT RESOLVED) +$PORT = [System.IO.Ports.SerialPort]::getportnames() + + +#BURN BOOTLOADER, FIRMWARE +python -m esptool -p $PORT -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x0000 0x0000_bootloader.bin 0x8000 0x8000_partitions.bin 0xe000 0xe000_boot_app0.bin 0x10000 0x10000_firmware.bin diff --git a/src/NerdMinerV2.ino.cpp b/src/NerdMinerV2.ino.cpp index 95a4359..f775825 100644 --- a/src/NerdMinerV2.ino.cpp +++ b/src/NerdMinerV2.ino.cpp @@ -40,6 +40,12 @@ const char* ntpServer = "pool.ntp.org"; /********* INIT *****/ void setup() { + //Init pin 15 to eneble 5V external power (LilyGo bug) + #ifdef PIN_ENABLE5V + pinMode(PIN_ENABLE5V, OUTPUT); + digitalWrite(PIN_ENABLE5V, HIGH); + #endif + #ifdef MONITOR_SPEED Serial.begin(MONITOR_SPEED); #else