alf45tar / PedalinoMini

Wireless and Bluetooth MIDI Foot Controller
GNU General Public License v3.0
474 stars 83 forks source link

Can't build tag 3.3.4 lilygo-t-display-s3 #518

Closed zavorra closed 1 month ago

zavorra commented 1 month ago

Hi,

build of tag 3.3.4 for lilygo-t-display-s3 fails, essentially because of

.pio/libdeps/lilygo-t-display-s3/OSC/OSCData.h:65:16: error: 'struct midi' redeclared as different kind of symbol

full log below


 *  Executing task: platformio run 

Processing lilygo-t-display-s3 (platform: espressif32@^6.0.0; framework: arduino; board: lilygo-t-display-s3)
--------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/lilygo-t-display-s3.html
PLATFORM: Espressif 32 (6.6.0+sha.2fd630e) > LilyGo T-Display-S3
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-arduinoespressif32 @ 3.20015.0 (2.0.15) 
 - tool-esptoolpy @ 1.40501.0 (4.5.1) 
 - toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 
 - toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 55 compatible libraries
Scanning dependencies...
Dependency Graph
|-- AceButton @ 1.10.1
|-- ArduinoJson @ 7.0.4
|-- AsyncTCP-esphome @ 2.1.3
|-- ESPAsyncWebServer-esphome @ 3.2.2
|-- FastLED @ 3.7.0
|-- HC-SR04 @ 1.1.2
|-- Improv @ 1.2.3
|-- MD_REncoder @ 1.0.1
|-- NimBLE-Arduino @ 1.4.1
|-- OSC @ 3.5.8+sha.debf01b
|-- ResponsiveAnalogRead @ 1.2.1
|-- TFT_eSPI @ 2.5.33
|-- MIDI Library @ 5.0.2
|-- AppleMIDI @ 3.3.0
|-- BLE-MIDI @ 2.2.0
|-- ipMIDI @ 1.0.3
|-- Hello Drum @ 0.7.7
|-- Adafruit TinyUSB Library @ 2.4.1
|-- WiFi @ 2.0.0
|-- Ticker @ 2.0.0
|-- Preferences @ 2.0.0
|-- SPIFFS @ 2.0.0
|-- SPI @ 2.0.0
|-- Wire @ 2.0.0
|-- HTTPClient @ 2.0.0
|-- Update @ 2.0.0
|-- WiFiClientSecure @ 2.0.0
|-- ArduinoOTA @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- ESP32 Async UDP @ 2.0.0
|-- FS @ 2.0.0
Building in release mode
Compiling .pio/build/lilygo-t-display-s3/src/PedalinoMini.cpp.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
In file included from .pio/libdeps/lilygo-t-display-s3/TFT_eSPI/TFT_eSPI.h:97,
                 from src/DisplayTFT.h:13,
                 from src/PedalinoMini.cpp:58:
.pio/libdeps/lilygo-t-display-s3/TFT_eSPI/Processors/TFT_eSPI_ESP32_S3.h:110:3: warning: #warning >>>>------>> DMA is not supported in parallel mode [-Wcpp]
  #warning >>>>------>> DMA is not supported in parallel mode
   ^~~~~~~
In file included from src/DisplayTFT.h:13,
                 from src/PedalinoMini.cpp:58:
.pio/libdeps/lilygo-t-display-s3/TFT_eSPI/TFT_eSPI.h:973:8: warning: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! [-Wcpp]
       #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available!
        ^~~~~~~
In file included from .pio/libdeps/lilygo-t-display-s3/FastLED/src/FastLED.h:79,
                 from src/Pedalino.h:137,
                 from src/PedalinoMini.cpp:45:
.pio/libdeps/lilygo-t-display-s3/FastLED/src/fastspi.h:157:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output
 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/lilygo-t-display-s3/OSC/OSCMessage.h:29,
                 from src/UdpMidiOut.h:19,
                 from src/PedalinoMini.cpp:50:
.pio/libdeps/lilygo-t-display-s3/OSC/OSCData.h:65:16: error: 'struct midi' redeclared as different kind of symbol
 typedef struct midi {
                ^~~~
In file included from .pio/libdeps/lilygo-t-display-s3/MIDI Library/src/midi_Defs.h:30,
                 from .pio/libdeps/lilygo-t-display-s3/MIDI Library/src/MIDI.h:30,
                 from src/SerialMidiOut.h:12,
                 from src/PedalinoMini.cpp:48:
.pio/libdeps/lilygo-t-display-s3/MIDI Library/src/midi_Namespace.h:30:41: note: previous declaration 'namespace midi { }'
 #define MIDI_NAMESPACE                  midi
                                         ^~~~
.pio/libdeps/lilygo-t-display-s3/MIDI Library/src/midi_Namespace.h:31:51: note: in expansion of macro 'MIDI_NAMESPACE'
 #define BEGIN_MIDI_NAMESPACE            namespace MIDI_NAMESPACE {
                                                   ^~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/MIDI Library/src/midi_Namespace.h:36:1: note: in expansion of macro 'BEGIN_MIDI_NAMESPACE'
 BEGIN_MIDI_NAMESPACE
 ^~~~~~~~~~~~~~~~~~~~
In file included from .pio/libdeps/lilygo-t-display-s3/OSC/OSCMessage.h:29,
                 from src/UdpMidiOut.h:19,
                 from src/PedalinoMini.cpp:50:
.pio/libdeps/lilygo-t-display-s3/OSC/OSCData.h:124:5: error: 'OSCData::OSCData(midi_t)' cannot be overloaded with 'OSCData::OSCData(intOSC_t)'
     OSCData  (midi_t);
     ^~~~~~~
.pio/libdeps/lilygo-t-display-s3/OSC/OSCData.h:112:3: note: previous declaration 'OSCData::OSCData(intOSC_t)'
   OSCData (intOSC_t);
   ^~~~~~~
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/ext/tinycrypt/src/utils.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_adv.c.o
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_conn.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_conn_hci.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_ctrl.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_dtm.c.o
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_hci.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
In file included from src/PedalinoMini.cpp:62:
src/Controller.h: In function 'void fire_action(action*, byte, byte, byte)':
src/Controller.h:1410:29: warning: 'void adc_power_off()' is deprecated [-Wdeprecated-declarations]
               adc_power_off();
                             ^
In file included from /home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/esp_adc_cal/include/esp_adc_cal.h:12,
                 from src/PedalinoMini.cpp:39:
/home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/adc.h:134:6: note: declared here
 void adc_power_off(void) __attribute__((deprecated));
      ^~~~~~~~~~~~~
In file included from src/PedalinoMini.cpp:62:
src/Controller.h:1410:29: warning: 'void adc_power_off()' is deprecated [-Wdeprecated-declarations]
               adc_power_off();
                             ^
In file included from /home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/esp_adc_cal/include/esp_adc_cal.h:12,
                 from src/PedalinoMini.cpp:39:
/home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/adc.h:134:6: note: declared here
 void adc_power_off(void) __attribute__((deprecated));
      ^~~~~~~~~~~~~
<command-line>: warning: "ARDUINO_USB_MODE" redefined
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_hci_ev.c.o
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_iso.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_rand.c.o
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_resolv.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_rfmgmt.c.o
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_scan.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_sched.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_supp_cmd.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_sync.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_trace.c.o
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_utils.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
In file included from src/PedalinoMini.cpp:68:
src/WebConfigAsync.h: In function 'void http_handle_post_options(AsyncWebServerRequest*)':
src/WebConfigAsync.h:6168:19: warning: 'void adc_power_off()' is deprecated [-Wdeprecated-declarations]
     adc_power_off();
                   ^
In file included from /home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/esp_adc_cal/include/esp_adc_cal.h:12,
                 from src/PedalinoMini.cpp:39:
/home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/adc.h:134:6: note: declared here
 void adc_power_off(void) __attribute__((deprecated));
      ^~~~~~~~~~~~~
In file included from src/PedalinoMini.cpp:68:
src/WebConfigAsync.h:6168:19: warning: 'void adc_power_off()' is deprecated [-Wdeprecated-declarations]
     adc_power_off();
                   ^
In file included from /home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/esp_adc_cal/include/esp_adc_cal.h:12,
                 from src/PedalinoMini.cpp:39:
/home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/adc.h:134:6: note: declared here
 void adc_power_off(void) __attribute__((deprecated));
      ^~~~~~~~~~~~~
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/controller/src/ble_ll_whitelist.c.o
src/PedalinoMini.cpp: In function 'void setup()':
src/PedalinoMini.cpp:221:81: warning: 'ADC_ATTEN_DB_11' is deprecated [-Wdeprecated-declarations]
   esp_adc_cal_value_t           val_type = esp_adc_cal_characterize(ADC_UNIT_1, ADC_ATTEN_DB_11, ADC_WIDTH_BIT_12, 1100, &adc_chars);
                                                                                 ^~~~~~~~~~~~~~~
In file included from /home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/driver/include/driver/adc.h:14,
                 from /home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/esp_adc_cal/include/esp_adc_cal.h:12,
                 from src/PedalinoMini.cpp:39:
/home/giorgio/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/include/hal/include/hal/adc_types.h:54:5: note: declared here
     ADC_ATTEN_DB_11 __attribute__((deprecated)) = ADC_ATTEN_DB_12,  ///<This is deprecated, it behaves the same as `ADC_ATTEN_DB_12`
     ^~~~~~~~~~~~~~~
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/drivers/nrf51/src/ble_hw.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/drivers/nrf51/src/ble_phy.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/drivers/nrf52/src/ble_hw.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/drivers/nrf52/src/ble_phy.c.o
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/drivers/nrf52/src/ble_phy_trace.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/access.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/adv.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/aes-ccm.c.o
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/app_keys.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/beacon.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/cdb.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/cfg.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/cfg_cli.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/cfg_srv.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/crypto.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/friend.c.o
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/glue.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/health_cli.c.o
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
Compiling .pio/build/lilygo-t-display-s3/lib2ec/NimBLE-Arduino/nimble/nimble/host/mesh/src/health_srv.c.o
*** [.pio/build/lilygo-t-display-s3/src/PedalinoMini.cpp.o] Error 1
<command-line>: warning: "ARDUINO_USB_MODE" redefined
<command-line>: note: this is the location of the previous definition
======================================================== [FAILED] Took 8.33 seconds ========================================================

Environment          Status    Duration
-------------------  --------  ------------
lilygo-t-display-s3  FAILED    00:00:08.330
================================================== 1 failed, 0 succeeded in 00:00:08.330 ==================================================

 *  The terminal process "platformio 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
zavorra commented 1 month ago

Also, could you consider adding to the README how to flash the official .bin file locally instead of relying on an online tool?

alf45tar commented 1 month ago

It is an issue with the latest changes in the linked library. Replace in platform.ini

https://github.com/CNMAT/OSC@^3.5.8

with

https://github.com/CNMAT/OSC.git#3.5.8

alf45tar commented 1 month ago

Also, could you consider adding to the README how to flash the official .bin file locally instead of relying on an online tool?

Use Verbose Upload under Advanced in Platformio to see the command used.

It should similar to this

"/Users/alf45tar/.platformio/penv/bin/python" "/Users/alf45tar/.platformio/packages/tool-esptoolpy/esptool.py" --chip esp32s3 --port "/dev/cu.usbmodem14201" --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0000 /var/folders/3_/qh1y3s4x79g4rh4_gk92stqm0000gn/T/PedalinoMini/build/lilygo-t-display-s3/bootloader.bin 0x8000 /var/folders/3_/qh1y3s4x79g4rh4_gk92stqm0000gn/T/PedalinoMini/build/lilygo-t-display-s3/partitions.bin 0xe000 /Users/alf45tar/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin 0x10000 /var/folders/3_/qh1y3s4x79g4rh4_gk92stqm0000gn/T/PedalinoMini/build/lilygo-t-display-s3/firmware.bin

zavorra commented 1 month ago

Also, could you consider adding to the README how to flash the official .bin file locally instead of relying on an online tool?

Use Verbose Upload under Advanced in Platformio to see the command used.

It should similar to this

"/Users/alf45tar/.platformio/penv/bin/python" "/Users/alf45tar/.platformio/packages/tool-esptoolpy/esptool.py" --chip esp32s3 --port "/dev/cu.usbmodem14201" --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0000 /var/folders/3_/qh1y3s4x79g4rh4_gk92stqm0000gn/T/PedalinoMini/build/lilygo-t-display-s3/bootloader.bin 0x8000 /var/folders/3_/qh1y3s4x79g4rh4_gk92stqm0000gn/T/PedalinoMini/build/lilygo-t-display-s3/partitions.bin 0xe000 /Users/alf45tar/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin 0x10000 /var/folders/3_/qh1y3s4x79g4rh4_gk92stqm0000gn/T/PedalinoMini/build/lilygo-t-display-s3/firmware.bin

Thanks for both. I think this can be closed

It seems that, since the "official" .bin files (those in the firmware subdir) are already composed of bootloadr+partitions+boot_app+firmware all I nedded was something similar to

/home/giorgio/.platformio/penv/bin/python "/home/giorgio/.platformio/packages/tool-esptoolpy/esptool.py" --chip esp32s3 --port /dev/ttyACM* --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0000 firmware/lilygo-t-display-s3/lilygo-t-display-s3-3.2.4-firmware.bin

Writing here for the records..