Thats strange, because i can build PIO project for S2 (part of logs removed):
Code: Select all
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.2.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32S2 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (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 0.0.0+sha.21947eb
- tool-esptoolpy 1.30100.210531 (3.1.0)
- toolchain-esp32s2ulp 1.22851.191205 (2.28.51)
- toolchain-xtensa32s2 1.80400.210211 (8.4.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ deep, Compatibility ~ soft
Found 31 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <ESP32TinyUSB> 1.2.0+sha.a81de14
| |-- <FS> 2.0.0
| |-- <SD> 2.0.0
| | |-- <FS> 2.0.0
| | |-- <SPI> 2.0.0
| |-- <SPI> 2.0.0
Building in release mode
Compiling .pio/build/esp32dev/src/main.cpp.o
Generating partitions .pio/build/esp32dev/partitions.bin
.pio/libdeps/esp32dev/ESP32TinyUSB/src/classes/midi/midiusb.cpp: In function 'void tud_midi_rx_cb(uint8_t)':
.pio/libdeps/esp32dev/ESP32TinyUSB/src/classes/midi/midiusb.cpp:197:29: warning: 'bool tud_midi_receive(uint8_t*)' is deprecated: tud_midi_receive() is renamed to tud_midi_packet_read() [-Wdeprecated-declarations]
if(tud_midi_receive(_mid)) {
^
In file included from .pio/libdeps/esp32dev/ESP32TinyUSB/src/classes/midi/midiusb.cpp:5:
/home/chegewara/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s2/include/arduino_tinyusb/tinyusb/src/class/midi/midi_device.h:113:20: note: declared here
static inline bool tud_midi_receive(uint8_t packet[4])
^~~~~~~~~~~~~~~~
.pio/libdeps/esp32dev/ESP32TinyUSB/src/classes/midi/midiusb.cpp:197:29: warning: 'bool tud_midi_receive(uint8_t*)' is deprecated: tud_midi_receive() is renamed to tud_midi_packet_read() [-Wdeprecated-declarations]
if(tud_midi_receive(_mid)) {
^
In file included from .pio/libdeps/esp32dev/ESP32TinyUSB/src/classes/midi/midiusb.cpp:5:
/home/chegewara/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s2/include/arduino_tinyusb/tinyusb/src/class/midi/midi_device.h:113:20: note: declared here
static inline bool tud_midi_receive(uint8_t packet[4])
^~~~~~~~~~~~~~~~
Linking .pio/build/esp32dev/firmware.elf
Retrieving maximum program size .pio/build/esp32dev/firmware.elf
Checking size .pio/build/esp32dev/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [ ] 4.1% (used 13432 bytes from 327680 bytes)
Flash: [== ] 17.0% (used 223162 bytes from 1310720 bytes)
Building .pio/build/esp32dev/firmware.bin
esptool.py v3.1
Merged 2 ELF sections
EDIT Sorry, there is missing 1 line in that config:
Code: Select all
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.mcu = esp32s2
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#2.0.0-alpha1
platformio/tool-esptoolpy @ ~1.30100
For some reason i also have similar issue with current master, so new config is with 2.0.0-alpha1