Closed davexre closed 3 months ago
Post the complete platformio.ini
to help.
I don't understand why using tinyuf2 in general. Eats up flash space...
platformio.ini
is:
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:default]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.03/platform-espressif32.zip
board = adafruit_feather_esp32s3_reversetft
framework = arduino
lib_deps =
adafruit/Adafruit GFX Library@^1.11.10
adafruit/Adafruit ST7735 and ST7789 Library@^1.10.4
adafruit/Adafruit BusIO@^1.16.1
adafruit/Adafruit NeoPixel@^1.12.3
adafruit/Adafruit seesaw Library@^1.7.8
Wire
SPI
monitor_port = /dev/cu.usbmodem14401
monitor_speed = 115200
build_flags = -D GEM_DISABLE_U8G2
Looks like the partition file is being referenced from here: https://github.com/pioarduino/platform-espressif32/blob/77b00e457150251035218c89fbee064c902041dc/boards/adafruit_feather_esp32s3_reversetft.json#L5
Maybe try a workaround and force set a partition file in your platform.io file:
board_build.partitions = partitions-4MB-tinyuf2.csv
and this file at the project root: partitions-4MB-tinyuf2.csv
with this content:
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
# bootloader.bin,, 0x1000, 32K
# partition table, 0x8000, 4K
nvs, data, nvs, 0x9000, 20K,
otadata, data, ota, 0xe000, 8K,
ota_0, 0, ota_0, 0x10000, 1408K,
ota_1, 0, ota_1, 0x170000, 1408K,
uf2, app, factory,0x2d0000, 256K,
ffat, data, fat, 0x310000, 960K,
(content to be updated based on your needs)
Fixed in branch develop https://github.com/pioarduino/platform-espressif32/commit/fd59eadf6e09de421d35bcf2b28c9e3596defac2 One of the many bullshit boards manifests provided and merged upstream. Adafruit is horrible leader in providing boards with same name and different hardware specs.
Just trying this project for the first time (hoping to overcome an issue I was seeing with an Adafruit ESP32-S3 Reverse TFT board). I switched my platformio.ini file to use the current stable release of this project, and see this when I go to build:
Missing dependency, maybe?