Closed wrpooley closed 4 years ago
Did you installed git from https://git-scm.com/?
No. I missed that step :). doing it now...
Still seeing 'command not found'. Do I need to configure Git?
Still love to get some guidance on this. If someone could walk me through the installation procedure with a bit more detail I'd greatly appreciate it
If Git:Clone doesn't work I can suggest to download the zip file from github, unzip into a folder and open the folder with VSC.
I've got it installed (sort of). I hadn't yet installed the Command Line editor on my Mac. However...
After many attempts to upload I've yet to get BLE active. In some cases the serial monitor shows the service is advertising but it does not show up as a device on my phone, etc.
I tried commenting out different boards during the upload and and there are often 'problems' but I still get a successful upload - or so it reports.
I've tried with 2 boards: ESP32 DEVKIT 32D (http://hiletgo.com/ProductDetail/1906566.html) and the adafruit Huzzah32 (https://learn.adafruit.com/adafruit-huzzah32-esp32-feather/overview).
Also, even though I can ultimately open the web page configuration file, I've not been successful in connecting it either to my laptop (Mac 10.14.6) or my iPhoneXS.
Any ideas?
Which env did you uploaded? Attach here your platformio.ini and the serial log to receive support.
I upload both the esp32doit-devkit-v1-ble and the esp32doit-devkit-v1-wifi.
platformio.ini.zip
This is the serial log after reboot (I'll have to try uploading again to reproduce that serial log):
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wpdrv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
ChipRevision 1, CPU Freq 240 MHz, SDK Version v3.2.3-14-gd3e562907
Flash Size 4194304, Flash Speed 80000000 Hz
Internal Total Heap 243872, Internal Free Heap 215348
PSRAM Total Heap 0, PSRAM Free Heap 0
____ ._ . . ___ . . ____
__ \ __ | _/ | | || __ __ / \ || __ || / / __ / \ \ \
| // \ / |_ \ | | | |/ \ / \ / \ / | |/ | | / / | | / \ / \ \ \
| | \ // // | / | || | | ( <> ) Y \ | | \ | ( ( | |/ Y \ ) )
|_| \ > |( /__/|| /__/__| /|| /| \ \ |__|_| / / /
\/ \/ \/ \/ \/ \/ _\ \/ /__/
(c) 2018-2020 alf45star
https://github.com/alf45tar/PedalinoMini
Hostname: B6286F24 PSRAM not found Bluetooth Classic disabled: 15252 bytes released Internal Total Heap 259240, Internal Free Heap 230600 PSRAM Total Heap 0, PSRAM Free Heap 0 'nvs' partition was successfully initialized Reading NVS Global ... done
[NVS][Global][STA SSID]:
[NVS][Global][STA Password]:
[NVS][Global][Blynk Token]:
[NVS][Global][Ladder]: Ladder 0 Threshold 497 Tolerance 82
[NVS][Global][Ladder]: Ladder 1 Threshold 660 Tolerance 47
[NVS][Global][Ladder]: Ladder 2 Threshold 752 Tolerance 33
[NVS][Global][Ladder]: Ladder 3 Threshold 816 Tolerance 31
[NVS][Global][Ladder]: Ladder 4 Threshold 876 Tolerance 31
[NVS][Global][Ladder]: Ladder 5 Threshold 945 Tolerance 35
Boot WIFI USB MIDI started DIN MIDI started SYSTEM_EVENT_WIFI_READY SYSTEM_EVENT_AP_STOP SmartConfig started SYSTEM_EVENT_STA_START SYSTEM_EVENT_STA_START SmartConfig timeout WPS started WPS timeout AP Pedalino-B6286F24 started with password B6286F24 AP SSID : Pedalino-B6286F24 AP PSK : B6286F24 SYSTEM_EVENT_AP_START AP MAC : 24:6F:28:B6:19:C9 SYSTEM_EVENT_AP_STOP SYSTEM_EVENT_AP_START SYSTEM_EVENT_AP_START AP IP : 192.168.4.1 Channel : 1 Connect to Pedalino-B6286F24 wireless network with password B6286F24 mDNS responder started OTA update started SPIFFS mount OK HTTP server started Connect to http://B6286F24.local/update for firmware update Connect to http://B6286F24.local for configuration ipMIDI server started RTP-MIDI started OSC server started Internal Total Heap 254408, Internal Free Heap 115296 Loading profile ... Reading NVS Profile A ... done Pedal autosensing... Pedal 1 autosensing disabled Pedal 2 autosensing disabled Pedal 3 autosensing disabled Pedal 4 autosensing disabled Pedal 5 autosensing disabled Pedal 6 autosensing disabled Bank 1 Pedal 1 MIDI PRESS_1 POLARITY+ NOTE_ON_OFF 60 Channel 1 Pedal 2 MIDI PRESS_1 POLARITY+ NOTE_ON_OFF 62 Channel 1 Pedal 3 MIDI PRESS_1 POLARITY+ NOTE_ON_OFF 64 Channel 1 Pedal 4 MIDI PRESS_1 POLARITY+ NOTE_ON_OFF 65 Channel 1 Pedal 5 MIDI PRESS_1 POLARITY- CONTROL_CHANGE 12 Channel 1 Pedal 6 MIDI PRESS_1 POLARITY- CONTROL_CHANGE 13 Channel 1 MTC None Received from Serial MIDI AfterTouchChannel Pressure 0x80 Channel 07 Received from Serial MIDI AfterTouchChannel Pressure 0x00 Channel 07 Received from Serial MIDI AfterTouchChannel Pressure 0x40 Channel 07 Received from Serial MIDI AfterTouchChannel Pressure 0x00 Channel 07 Received from Serial MIDI NoteOff 0x00 Velocity 0x00 Channel 01 Received from Serial MIDI NoteOff 0x00 Velocity 0x00 Channel 01 Received from Serial MIDI NoteOff 0x00 Velocity 0x00 Channel 01 Received from Serial MIDI NoteOff 0x00 Velocity 0x00 Channel 01 Received from Serial MIDI NoteOff 0x00 Velocity 0x02 Channel 01 Received from Serial MIDI NoteOff 0x00 Velocity 0x00 Channel 01 Received from Serial MIDI NoteOff 0x00 Velocity 0x40 Channel 01
this is the serial log after Build:
/Users/waynep/Documents/Arduino/PedalinoMini-1/.pio/build
. Please remove it manually to avoid build issues
Processing esp32doit-devkit-v1-ble (board: esp32doit-devkit-v1; platform: espressif32; framework: arduino)Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 1.11.2 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 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:
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 1.11.2 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 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:
Environment Status Duration
esp32dev IGNORED esp32doit-devkit-v1 IGNORED esp32doit-devkit-v1-ble SUCCESS 00:00:05.263 esp32doit-devkit-v1-wifi SUCCESS 00:00:10.943 ttgo-t-eight IGNORED ttgo-t-eight-ble IGNORED ttgo-t-eight-wifi IGNORED ============================================================================= 2 succeeded in 00:00:16.206 =============================================================================
First of all select the version you want to test and upload it. If you upload the ble version wifi and web config will not available.
However the attached log is for the wifi version in AP mode (without BLE of course). Didi you connected to the Pedalino hotspot as indicated in the log?
Connect to Pedalino-B6286F24 wireless network with password B6286F24
In any case you built the wifi version with NOWEBCONFIG flag. The web UI will not available.
Hmm. I see what you mean about NOWEBCONFIG flag. I tried to upload both the ble and the wifi versions and this is the serial log from that. Also, I set it to Normal Boot mode. Even though it reports [SUCCESS] I think there may be something wrong this but I'm not nearly experienced enough to figure it out! :)
Executing task: platformio run --target upload --target monitor <
/Users/waynep/Documents/Arduino/PedalinoMini-1/.pio/build
. Please remove it manually to avoid build issues
Processing esp32doit-devkit-v1-ble (board: esp32doit-devkit-v1; platform: espressif32; framework: arduino)Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 1.11.2 > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 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:
^ In file included from .pio/libdeps/esp32doit-devkit-v1-ble/MIDI Library/src/MIDI.h:30:0, from src/Pedalino.h:73, from src/PedalinoMini.cpp:58: .pio/libdeps/esp32doit-devkit-v1-ble/MIDI Library/src/midi_Defs.h:48:0: note: this is the location of the previous definition
^ In file included from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/common/midiCommon.h:30:0, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h:9, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.h:14, from src/BLEMidiOut.h:13, from src/PedalinoMini.cpp:62: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/common/midi_Defs.h:74:0: warning: "MIDI_CHANNEL_OFF" redefined
^ In file included from .pio/libdeps/esp32doit-devkit-v1-ble/MIDI Library/src/MIDI.h:30:0, from src/Pedalino.h:73, from src/PedalinoMini.cpp:58: .pio/libdeps/esp32doit-devkit-v1-ble/MIDI Library/src/midi_Defs.h:49:0: note: this is the location of the previous definition
^ Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/ETH.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFi.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFiAP.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFiClient.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFiGeneric.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib4cd/libAppleMIDI_ID222.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib4cd/libAppleMIDI_ID222.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFiMulti.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib947/libBattery Sense_ID735.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib947/libBattery Sense_ID735.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFiSTA.cpp.o In file included from src/PedalinoMini.cpp:58:0: src/Config.h: In function 'void eeprom_update_press_time(long int, long int, long int, long int)': src/Pedalino.h:404:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
^
src/Config.h:357:3: note: in expansion of macro 'DPRINT' DPRINT("[NVS][Global[Single Time]: %d\n", p1); ^ src/Pedalino.h:404:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
^
src/Config.h:358:3: note: in expansion of macro 'DPRINT' DPRINT("[NVS][Global[Double Time]: %d\n", p2); ^ src/Pedalino.h:404:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
^
src/Config.h:359:3: note: in expansion of macro 'DPRINT' DPRINT("[NVS][Global[Long Time]: %d\n", p3); ^ src/Pedalino.h:404:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
^
src/Config.h:360:3: note: in expansion of macro 'DPRINT' DPRINT("[NVS][Global[Repeat Time]: %d\n", p4); ^ src/Config.h: In function 'void eeprom_read_global()': src/Pedalino.h:404:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
^
src/Config.h:470:5: note: in expansion of macro 'DPRINT' DPRINT("[NVS][Global][Single Time]: %d\n", pressTime); ^ src/Pedalino.h:404:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
^
src/Config.h:471:5: note: in expansion of macro 'DPRINT' DPRINT("[NVS][Global][Double Time]: %d\n", doublePressTime); ^ src/Pedalino.h:404:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
^
src/Config.h:472:5: note: in expansion of macro 'DPRINT' DPRINT("[NVS][Global][Long Time]: %d\n", longPressTime); ^ src/Pedalino.h:404:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
^
src/Config.h:473:5: note: in expansion of macro 'DPRINT' DPRINT("[NVS][Global][Repeat Time]: %d\n", repeatPressTime); ^ In file included from src/PedalinoMini.cpp:60:0: src/Config.h: In function 'void eeprom_read_profile(byte)': src/Config.h:489:73: warning: deleting object of polymorphic class type 'Bounce' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pedals[i].debouncer[0] != nullptr) delete pedals[i].debouncer[0]; ^ src/Config.h:490:73: warning: deleting object of polymorphic class type 'Bounce' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pedals[i].debouncer[1] != nullptr) delete pedals[i].debouncer[1]; ^ src/Config.h:491:74: warning: deleting object of abstract class type 'MD_UISwitch' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pedals[i].footSwitch[0] != nullptr) delete pedals[i].footSwitch[0]; ^ src/Config.h:492:74: warning: deleting object of abstract class type 'MD_UISwitch' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pedals[i].footSwitch[1] != nullptr) delete pedals[i].footSwitch[1]; ^ Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFiScan.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFiServer.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib111/WiFi/WiFiUdp.cpp.o In file included from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.h:14:0, from src/BLEMidiOut.h:13, from src/PedalinoMini.cpp:62: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h: In member function 'void bleMidi::BleMidiInterface::sendMIDI(Midi::StatusByte, Midi::DataByte, Midi::DataByte)': .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h:232:12: warning: enumeration value 'InvalidType' not handled in switch [-Wswitch] switch (type) { ^ .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h:232:12: warning: enumeration value 'SystemExclusiveEnd' not handled in switch [-Wswitch] In file included from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.h:15:0, from src/BLEMidiOut.h:13, from src/PedalinoMini.cpp:62: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleClient_esp32.h: In member function 'void bleMidi::BleMidiInterfaceClient::sendMIDI(Midi::StatusByte, Midi::DataByte, Midi::DataByte)': .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleClient_esp32.h:361:12: warning: enumeration value 'InvalidType' not handled in switch [-Wswitch] switch (type) { ^ .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleClient_esp32.h:361:12: warning: enumeration value 'SystemExclusiveEnd' not handled in switch [-Wswitch] In file included from src/PedalinoMini.cpp:66:0: src/Controller.h: In function 'void controller_delete()': src/Controller.h:1224:73: warning: deleting object of polymorphic class type 'Bounce' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pedals[i].debouncer[0] != nullptr) delete pedals[i].debouncer[0]; ^ src/Controller.h:1225:73: warning: deleting object of polymorphic class type 'Bounce' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pedals[i].debouncer[1] != nullptr) delete pedals[i].debouncer[1]; ^ src/Controller.h:1226:74: warning: deleting object of abstract class type 'MD_UISwitch' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pedals[i].footSwitch[0] != nullptr) delete pedals[i].footSwitch[0]; ^ src/Controller.h:1227:74: warning: deleting object of abstract class type 'MD_UISwitch' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pedals[i].footSwitch[1] != nullptr) delete pedals[i].footSwitch[1]; ^ src/PedalinoMini.cpp: In function 'void loop()': src/PedalinoMini.cpp:429:10: warning: enumeration value 'KEY_NULL' not handled in switch [-Wswitch] switch (bootButton.read()){ ^ src/PedalinoMini.cpp:429:10: warning: enumeration value 'KEY_DOWN' not handled in switch [-Wswitch] src/PedalinoMini.cpp:429:10: warning: enumeration value 'KEY_UP' not handled in switch [-Wswitch] src/PedalinoMini.cpp:429:10: warning: enumeration value 'KEY_RPTPRESS' not handled in switch [-Wswitch] In file included from src/Pedalino.h:65:0, from src/PedalinoMini.cpp:58: src/ShiftOut.h: In instantiation of 'void _ShiftOut<chipCount, ShiftType>::setHigh(int) [with unsigned char chipCount = 1u; ShiftType = unsigned char]': src/Controller.h:21:27: required from here src/ShiftOut.h:62:32: warning: operation on '((_ShiftOut<1u, unsigned char>)this)->_ShiftOut<1u, unsigned char>::state' may be undefined [-Wsequence-point] inline void setHigh(int id) { state = bitSet(state, id); } ^ src/ShiftOut.h: In instantiation of 'void _ShiftOut<chipCount, ShiftType>::setLow(int) [with unsigned char chipCount = 1u; ShiftType = unsigned char]': src/Controller.h:29:28: required from here src/ShiftOut.h:63:31: warning: operation on '((_ShiftOut<1u, unsigned char>)this)->_ShiftOut<1u, unsigned char>::state' may be undefined [-Wsequence-point] inline void setLow(int id) { state = bitClear(state, id); } ^ Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLE2902.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLE2904.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEAddress.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEAdvertisedDevice.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEAdvertising.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib111/libWiFi.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEBeacon.cpp.o Indexing .pio/build/esp32doit-devkit-v1-ble/lib111/libWiFi.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLECharacteristic.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLECharacteristicMap.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEClient.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEDescriptor.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEDescriptorMap.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEDevice.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEEddystoneTLM.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEEddystoneURL.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEExceptions.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEHIDDevice.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLERemoteCharacteristic.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLERemoteDescriptor.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLERemoteService.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEScan.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLESecurity.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEServer.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEService.cpp.o /Users/waynep/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src/BLERemoteService.cpp: In member function 'void BLERemoteService::getCharacteristics(std::map<short unsigned int, BLERemoteCharacteristic>)': /Users/waynep/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src/BLERemoteService.cpp:246:89: warning: parameter 'pCharacteristicMap' set but not used [-Wunused-but-set-parameter] void BLERemoteService::getCharacteristics(std::map<uint16_t, BLERemoteCharacteristic> pCharacteristicMap) { ^ In file included from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/common/midiCommon.h:31:0, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h:9, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.h:14, from src/BLEMidiOut.h:13, from src/PedalinoMini.cpp:62: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/common/midi_Helpers.h: At global scope: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/common/midi_Helpers.h:70:17: warning: 'bool Midi::isChannelMessage(Midi::MidiType)' defined but not used [-Wunused-function] static bool isChannelMessage(MidiType type) ^ Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEServiceMap.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEUUID.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEUtils.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/BLEValue.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/FreeRTOS.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib155/BLE/GeneralUtils.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib645/WiFiClientSecure/WiFiClientSecure.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib645/WiFiClientSecure/ssl_client.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib643/Blynk_ID415/utility/BlynkDebug.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib643/Blynk_ID415/utility/BlynkHandlers.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib643/Blynk_ID415/utility/BlynkTimer.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib643/Blynk_ID415/utility/utility.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib922/Bounce2_ID1106/Bounce2.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib381/AsyncTCP_ID1826/AsyncTCP.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib155/libBLE.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib91b/FS/FS.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib91b/FS/vfs_api.cpp.o Indexing .pio/build/esp32doit-devkit-v1-ble/lib155/libBLE.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib755/ESP Async WebServer_ID306/AsyncEventSource.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib922/libBounce2_ID1106.a Archiving .pio/build/esp32doit-devkit-v1-ble/lib643/libBlynk_ID415.a Archiving .pio/build/esp32doit-devkit-v1-ble/lib645/libWiFiClientSecure.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib922/libBounce2_ID1106.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib643/libBlynk_ID415.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib645/libWiFiClientSecure.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib755/ESP Async WebServer_ID306/AsyncWebSocket.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib755/ESP Async WebServer_ID306/SPIFFSEditor.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib755/ESP Async WebServer_ID306/WebAuthentication.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib755/ESP Async WebServer_ID306/WebHandlers.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib755/ESP Async WebServer_ID306/WebRequest.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib91b/libFS.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib91b/libFS.a Archiving .pio/build/esp32doit-devkit-v1-ble/lib381/libAsyncTCP_ID1826.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib755/ESP Async WebServer_ID306/WebResponses.cpp.o Indexing .pio/build/esp32doit-devkit-v1-ble/lib381/libAsyncTCP_ID1826.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib755/ESP Async WebServer_ID306/WebServer.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/liba95/Wire/Wire.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/liba95/libWire.a Indexing .pio/build/esp32doit-devkit-v1-ble/liba95/libWire.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib11f/SPI/SPI.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib11f/libSPI.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib11f/libSPI.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib72f/ESP8266_SSD1306_ID562/OLEDDisplay.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib72f/ESP8266_SSD1306_ID562/OLEDDisplayUi.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib321/MD_UISwitch_ID1954/MD_UISwitch.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib35f/MD_REncoder_ID1397/MD_REncoder.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/liba00/MIDI Library/MIDI.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib72f/libESP8266_SSD1306_ID562.a Archiving .pio/build/esp32doit-devkit-v1-ble/lib35f/libMD_REncoder_ID1397.a Archiving .pio/build/esp32doit-devkit-v1-ble/lib321/libMD_UISwitch_ID1954.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib35f/libMD_REncoder_ID1397.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib72f/libESP8266_SSD1306_ID562.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib321/libMD_UISwitch_ID1954.a Compiling .pio/build/esp32doit-devkit-v1-ble/libaf9/OSC_ID423/OSCBoards.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaf9/OSC_ID423/OSCBundle.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaf9/OSC_ID423/OSCData.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaf9/OSC_ID423/OSCMatch.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaf9/OSC_ID423/OSCMessage.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/liba00/libMIDI Library.a Indexing .pio/build/esp32doit-devkit-v1-ble/liba00/libMIDI Library.a Compiling .pio/build/esp32doit-devkit-v1-ble/libaf9/OSC_ID423/OSCTiming.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaf9/OSC_ID423/SLIPEncodedSerial.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaf9/OSC_ID423/SLIPEncodedUSBSerial.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaa8/RemoteDebug_ID1266/RemoteDebug.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaa8/RemoteDebug_ID1266/RemoteDebugWS.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaa8/RemoteDebug_ID1266/utility/WebSockets.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaa8/RemoteDebug_ID1266/utility/WebSocketsClient.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaa8/RemoteDebug_ID1266/utility/WebSocketsServer.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libaa8/RemoteDebug_ID1266/utility/libb64/cdecode.c.o Archiving .pio/build/esp32doit-devkit-v1-ble/libaf9/libOSC_ID423.a Compiling .pio/build/esp32doit-devkit-v1-ble/libaa8/RemoteDebug_ID1266/utility/libb64/cencode.c.o Indexing .pio/build/esp32doit-devkit-v1-ble/libaf9/libOSC_ID423.a Compiling .pio/build/esp32doit-devkit-v1-ble/libaa8/RemoteDebug_ID1266/utility/libsha1/libsha1.c.o .pio/libdeps/esp32doit-devkit-v1-ble/RemoteDebug_ID1266/src/RemoteDebug.cpp: In member function 'void RemoteDebug::processCommand()': .pio/libdeps/esp32doit-devkit-v1-ble/RemoteDebug_ID1266/src/RemoteDebug.cpp:1520:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] DebugWS.printf("$app:M:%lu:\n", free); ^ .pio/libdeps/esp32doit-devkit-v1-ble/RemoteDebug_ID1266/src/RemoteDebug.cpp: In member function 'void RemoteDebug::wsSendInfo()': .pio/libdeps/esp32doit-devkit-v1-ble/RemoteDebug_ID1266/src/RemoteDebug.cpp:1931:117: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] DebugWS.printf("$app:V:%s:%s:%c:%lu:%c:N\n", version.c_str(), board.c_str(), features, getFreeMemory(), dbgEnabled); ^ Compiling .pio/build/esp32doit-devkit-v1-ble/lib7ed/ResponsiveAnalogRead_ID913/ResponsiveAnalogRead.cpp.o .pio/libdeps/esp32doit-devkit-v1-ble/RemoteDebug_ID1266/src/RemoteDebugWS.cpp: In function 'void webSocketEvent(uint8_t, WStype_t, uint8_t*, size_t)': .pio/libdeps/esp32doit-devkit-v1-ble/RemoteDebug_ID1266/src/RemoteDebugWS.cpp:233:6: warning: unused variable 'blk_count' [-Wunused-variable] int blk_count = 0; ^ .pio/libdeps/esp32doit-devkit-v1-ble/RemoteDebug_ID1266/src/RemoteDebugWS.cpp:234:7: warning: unused variable 'ipaddr' [-Wunused-variable] char ipaddr[26]; ^ Compiling .pio/build/esp32doit-devkit-v1-ble/lib9e0/BLE-MIDI/BleMidi.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/libfb1/AsyncUDP/AsyncUDP.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib7ed/libResponsiveAnalogRead_ID913.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib7ed/libResponsiveAnalogRead_ID913.a In file included from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.h:14:0, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.cpp:1: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h: In member function 'void bleMidi::BleMidiInterface::sendMIDI(Midi::StatusByte, Midi::DataByte, Midi::DataByte)': .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h:232:12: warning: enumeration value 'InvalidType' not handled in switch [-Wswitch] switch (type) { ^ .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h:232:12: warning: enumeration value 'SystemExclusiveEnd' not handled in switch [-Wswitch] In file included from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.h:15:0, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.cpp:1: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleClient_esp32.h: In member function 'void bleMidi::BleMidiInterfaceClient::sendMIDI(Midi::StatusByte, Midi::DataByte, Midi::DataByte)': .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleClient_esp32.h:361:12: warning: enumeration value 'InvalidType' not handled in switch [-Wswitch] switch (type) { ^ .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleClient_esp32.h:361:12: warning: enumeration value 'SystemExclusiveEnd' not handled in switch [-Wswitch] In file included from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/common/midiCommon.h:31:0, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/Ble_esp32.h:9, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.h:14, from .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/BleMidi.cpp:1: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/common/midi_Helpers.h: At global scope: .pio/libdeps/esp32doit-devkit-v1-ble/BLE-MIDI/src/common/midi_Helpers.h:70:17: warning: 'bool Midi::isChannelMessage(Midi::MidiType)' defined but not used [-Wunused-function] static bool isChannelMessage(MidiType type) ^ Compiling .pio/build/esp32doit-devkit-v1-ble/lib3d4/Update/Updater.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib8bf/Ticker/Ticker.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib5cc/Preferences/Preferences.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib8bf/libTicker.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib8bf/libTicker.a Compiling .pio/build/esp32doit-devkit-v1-ble/libd3d/ESPmDNS/ESPmDNS.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/libaa8/libRemoteDebug_ID1266.a Archiving .pio/build/esp32doit-devkit-v1-ble/lib9e0/libBLE-MIDI.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib9e0/libBLE-MIDI.a Indexing .pio/build/esp32doit-devkit-v1-ble/libaa8/libRemoteDebug_ID1266.a Compiling .pio/build/esp32doit-devkit-v1-ble/lib5a4/ArduinoOTA/ArduinoOTA.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/lib8e4/SPIFFS/SPIFFS.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/Esp.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib3d4/libUpdate.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib3d4/libUpdate.a Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/FunctionalInterrupt.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib5cc/libPreferences.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib5cc/libPreferences.a Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/HardwareSerial.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/libfb1/libAsyncUDP.a Indexing .pio/build/esp32doit-devkit-v1-ble/libfb1/libAsyncUDP.a Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/IPAddress.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/libd3d/libESPmDNS.a Indexing .pio/build/esp32doit-devkit-v1-ble/libd3d/libESPmDNS.a Archiving .pio/build/esp32doit-devkit-v1-ble/lib755/libESP Async WebServer_ID306.a Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/IPv6Address.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/MD5Builder.cpp.o Indexing .pio/build/esp32doit-devkit-v1-ble/lib755/libESP Async WebServer_ID306.a Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/Print.cpp.o Archiving .pio/build/esp32doit-devkit-v1-ble/lib8e4/libSPIFFS.a Indexing .pio/build/esp32doit-devkit-v1-ble/lib8e4/libSPIFFS.a Archiving .pio/build/esp32doit-devkit-v1-ble/lib5a4/libArduinoOTA.a Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/Stream.cpp.o Indexing .pio/build/esp32doit-devkit-v1-ble/lib5a4/libArduinoOTA.a Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/StreamString.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/WMath.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/WString.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/base64.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/cbuf.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-adc.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-bt.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-cpu.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-dac.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-gpio.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-i2c.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-ledc.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-matrix.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-misc.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-psram.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-rmt.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-sigmadelta.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-spi.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-time.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-timer.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-touch.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/esp32-hal-uart.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/libb64/cdecode.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/libb64/cencode.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/main.cpp.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/stdlib_noniso.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/wiring_pulse.c.o Compiling .pio/build/esp32doit-devkit-v1-ble/FrameworkArduino/wiring_shift.c.o Archiving .pio/build/esp32doit-devkit-v1-ble/libFrameworkArduino.a Indexing .pio/build/esp32doit-devkit-v1-ble/libFrameworkArduino.a Linking .pio/build/esp32doit-devkit-v1-ble/firmware.elf Retrieving maximum program size .pio/build/esp32doit-devkit-v1-ble/firmware.elf Checking size .pio/build/esp32doit-devkit-v1-ble/firmware.elf Building .pio/build/esp32doit-devkit-v1-ble/firmware.bin Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [= ] 12.3% (used 40368 bytes from 327680 bytes) Flash: [===== ] 54.8% (used 1078283 bytes from 1966080 bytes) esptool.py v2.6 Configuring upload protocol... AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = esptool Looking for upload port... Use manually specified: /dev/cu.SLAB_USBtoUART Uploading .pio/build/esp32doit-devkit-v1-ble/firmware.bin esptool.py v2.6 Serial port /dev/cu.SLABUSBtoUART Connecting........ Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: 24:6f:28:b6:19:c8 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Auto-detected Flash size: 4MB Compressed 15856 bytes to 10276... Wrote 15856 bytes (10276 compressed) at 0x00001000 in 0.2 seconds (effective 523.3 kbit/s)... Hash of data verified. Compressed 3072 bytes to 129... Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.0 seconds (effective 1616.7 kbit/s)... Hash of data verified. Compressed 8192 bytes to 47... Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 5151.0 kbit/s)... Hash of data verified. Compressed 1078400 bytes to 602933... Wrote 1078400 bytes (602933 compressed) at 0x00010000 in 14.6 seconds (effective 590.6 kbit/s)... Hash of data verified.
Leaving...
Hard resetting via RTS pin...
============================================================================= [SUCCESS] Took 58.79 seconds =============================================================================
Looking for advanced Serial Monitor with UI? Check http://bit.ly/pio-advanced-monitor
--- Miniterm on /dev/cu.SLABUSBtoUART 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ChipRevision 1, CPU Freq 240 MHz, SDK Version v3.2.3-14-gd3e562907
Flash Size 4194304, Flash Speed 80000000 Hz
Internal Total Heap 295060, Internal Free Heap 266920
PSRAM Total Heap 0, PSRAM Free Heap 0
____ ._ . . ___ . . ____
__ \ __ | _/ | | || __ __ / \ || __ || / / __ / \ \ \
| // \ / |_ \ | | | |/ \ / \ / \ / | |/ | | / / | | / \ / \ \ \
| | \ // // | / | || | | ( <> ) Y \ | | \ | ( ( | |/ Y \ ) )
|_| \ > |( /__/|| /__/__| /|| /| \ \ |__|_| / / /
\/ \/ \/ \/ \/ \/ _\ \/ /__/
(c) 2018-2020 alf45star
https://github.com/alf45tar/PedalinoMini
Hostname: B6286F24 PSRAM not found Bluetooth Classic disabled: 15252 bytes released Internal Total Heap 310428, Internal Free Heap 282172 PSRAM Total Heap 0, PSRAM Free Heap 0 'nvs' partition was successfully initialized Reading NVS Global ... done
[NVS][Global][STA SSID]:
[NVS][Global][STA Password]:
[NVS][Global][Blynk Token]:
[NVS][Global][Ladder]: Ladder 0 Threshold 497 Tolerance 82
[NVS][Global][Ladder]: Ladder 1 Threshold 660 Tolerance 47
[NVS][Global][Ladder]: Ladder 2 Threshold 752 Tolerance 33
[NVS][Global][Ladder]: Ladder 3 Threshold 816 Tolerance 31
[NVS][Global][Ladder]: Ladder 4 Threshold 876 Tolerance 31
[NVS][Global][Ladder]: Ladder 5 Threshold 945 Tolerance 35
Boot NORMAL USB MIDI started DIN MIDI started BLE MIDI service advertising started Internal Total Heap 307016, Internal Free Heap 186392 Loading profile ... Reading NVS Profile A ... done Pedal autosensing... Pedal 1 autosensing disabled Pedal 2 autosensing disabled Pedal 3 autosensing disabled Pedal 4 autosensing disabled Pedal 5 Tip Pin 12 Value 1023 Ring Pin 32 Value 905 Pedal 6 Tip Pin 13 Value 1023 Ring Pin 33 Value 834 Bank 1 Pedal 1 MIDI MOMENTARY1 PRESS_1 POLARITY+ NOTE_ON_OFF 60 Channel 1 Pin D25 Pedal 2 MIDI MOMENTARY1 PRESS_1 POLARITY+ NOTE_ON_OFF 62 Channel 1 Pin D26 Pedal 3 MIDI MOMENTARY1 PRESS_1 POLARITY+ NOTE_ON_OFF 64 Channel 1 Pin D27 Pedal 4 MIDI MOMENTARY1 PRESS_1 POLARITY+ NOTE_ON_OFF 65 Channel 1 Pin D14 Pedal 5 MIDI ANALOG PRESS_1 POLARITY- CONTROL_CHANGE 12 Channel 1 Pin A32 D12 Pedal 6 MIDI ANALOG PRESS_1 POLARITY- CONTROL_CHANGE 13 Channel 1 Pin A33 D13 Pedal 5 calibration min 102 Pedal 5 calibration max 102 Pedal 5 input 102 output 127 velocity 0.07 Pedal 6 calibration min 0 Pedal 6 input 0 output 127 velocity 0.07 Pedal 5 calibration min 38 Pedal 5 calibration min 0 MTC None Pedal 5 calibration max 103 Pedal 5 input 103 output 0 velocity -0.00 CONTROL CHANGE.....Code 12......Value 0.....Channel 1 CONTROL CHANGE.....Code 12......Value 0.....Channel 1 Pedal 5 input 0 output 127 velocity 947.76 CONTROL CHANGE.....Code 12......Value 127.....Channel 1 CONTROL CHANGE.....Code 12......Value 127.....Channel 1 Pedal 5 input 61 output 0 velocity -0.08 CONTROL CHANGE.....Code 12......Value 0.....Channel 1 CONTROL CHANGE.....Code 12......Value 0.....Channel 1 Pedal 5 input 47 output 127 velocity 5.17 CONTROL CHANGE.....Code 12......Value 127.....Channel 1 CONTROL CHANGE.....Code 12......Value 127.....Channel 1 Pedal 5 input 93 output 0 velocity -0.08 CONTROL CHANGE.....Code 12......Value 0.....Channel 1 CONTROL CHANGE.....Code 12......Value 0.....Channel 1 Pedal 5 input 45 output 127 velocity 5.18 CONTROL CHANGE.....Code 12......Value 127.....Channel 1 CONTROL CHANGE.....Code 12......Value 127.....Channel 1 Pedal 5 input 63 output 0 velocity -0.08 CONTROL CHANGE.....Code 12......Value 0.....Channel 1 CONTROL CHANGE.....Code 12......Value 0.....Channel 1 Pedal 5 input 48 output 127 velocity 5.02 CONTROL CHANGE.....Code 12......Value 127.....Channel 1 CONTROL CHANGE.....Code 12......Value 127.....Channel 1 Loading profile ... Reading NVS Profile B ... done Pedal autosensing... Pedal 1 autosensing disabled Pedal 2 autosensing disabled Pedal 3 autosensing disabled Pedal 4 autosensing disabled Pedal 5 Tip Pin 12 Value 1023 Ring Pin 32 Value 754 Pedal 6 Tip Pin 13 Value 1023 Ring Pin 33 Value 628 Bank 1 Pedal 1 MIDI MOMENTARY1 PRESS_1 POLARITY+ NOTE_ON_OFF 60 Channel 1 Pin D25 Pedal 2 MIDI MOMENTARY1 PRESS_1 POLARITY+ NOTE_ON_OFF 62 Channel 1 Pin D26 Pedal 3 MIDI MOMENTARY1 PRESS_1 POLARITY+ NOTE_ON_OFF 64 Channel 1 Pin D27 Pedal 4 MIDI MOMENTARY1 PRESS_1 POLARITY+ NOTE_ON_OFF 65 Channel 1 Pin D14 Pedal 5 MIDI ANALOG PRESS_1 POLARITY- CONTROL_CHANGE 12 Channel 1 Pin A32 D12 Pedal 6 MIDI ANALOG PRESS_1 POLARITY- CONTROL_CHANGE 13 Channel 1 Pin A33 D13 Pedal 5 calibration min 83 Pedal 5 calibration max 83 Pedal 6 calibration min 0 Pedal 5 calibration min 13 Pedal 5 calibration min 0 MTC None
It looks like you are running the BLE version (esp32doit-devkit-v1-ble). Web configuration is not available but PedaliniMini should be discoverable by your iPhone. You can try with Garageband for example using the following procedure:
I’m admittedly fumbling in the dark a bit! After your most recent reply I looked for a BLE device from within a music app like you suggested and to my surprise I did see the pedaling! I incorrectly was looking for a device in my Bluetooth pairing. It was VERY late (EST) so I didn’t confirm it it was working and it didn’t stay connected long. I went to bed after that.
However I can’t seem to be able to get back to that place where I see it being advertised. Can you clarify a few things?
Should I be trying to install multiple ‘env’s? I’ve confirmed the whenever I include the TTGO env the board just reboots over and over again.
I’ve tried commenting everything but the ESP32-ble and I’ve never been able to see that service advertise again.
Is the concept to upload multiple ‘builds’ and then choose which one is active at the boot up?
Apologies for all the questions but this is pretty much all over my head but I am learning 😀
I would comment out the builds you don’t need, if for no other reason, than to prevent having to wait for them to build each time. However, PlatformIO will only upload the ones that match your board. Then, yes, you can select Bluetooth, WiFi, or Both on startup, with the caveat that the web interface will make PedalinoMini crash if BT and WiFi are loaded at the same time.
Thanks for the response! Any recommendations for troubleshooting the lack of BLE? I felt like there was somewhere in the serial monitor that showed when the service was activated but I can’t see that find that anymore. Come to think of it I also haven’t successfully sent any ipMidi either as my Mac throws up an error saying no midi was received/check firewall - I’ve seen this under other circumstance so it may be a Mojave thing. But my phone doesn’t seem to connect either.
First of all try the latest version just uploaded and reset Pedalino to factory default.
You don't need to build everything and upload everything. You can select which version you want to build and upload.
If it is still not working attach the log (only the boot log not the compile log).
Thanks alf45tar
Thanks for the suggestions on how to focus on specific builds. I seem to be able to make BLE connections from Pedalino to my phone but no evidence it's going the other way. Is there a way to confirm that it's receiving anything? One thing to add is that even though I've set all but one pedal to none and turned off auto-sensing everywhere, I end up seeing a lot of spurious data being sent over BLE. NOTE: I have only wired a single switch to D1 on a breadboard. Any thoughts on where/how all the extra midi data is being generated?
Try the following app to see incoming midi messages https://apps.apple.com/us/app/midi-wrench/id589243566
or AmpliTube to control it https://apps.apple.com/it/app/amplitube-cs/id373309342
I am familiar with those apps and actually use midi wrench. I use an app called midi pipe to inspect incoming messages on my MacBook Pro. Band helper for iOS has a pretty deep midi implementation so I can inspect there as well.
Interestingly, it looks like all of the spurious midi noise is coming displayed as ‘Received from Serial MIDI’. I’ve removed all switches in each profile except for one in A. This ‘noise’ only shows up when I connect to either my Mac or phone over BLE.
Is the PedalinoMini display (or serial monitor) supposed to display incoming midi messages? It does not for me at least.
No luck on network midi either. OSC or RTP.
I tried building from scratch with the latest and no change in behavior.
If you didn't implemented the Serial MIDI hadrware interface disable from web config to avoid spurious incoming messages.
Is the PedalinoMini display (or serial monitor) supposed to display incoming midi messages?
Yes, only for ipMidi for the moment, Is this feature important for you?
Added display incoming MIDI messages for Serial, USB and RTC.
How does one disable the serial midi hardware interface?
Having the display show incoming messages was more a way to troubleshoot BLE and Network Midi connections. So far I’ve had limited success making BLE connections but no Network/OSC as of yet. OSC is of more interest to me at the moment.
Boot in WiFi mode and use the web ui.
I'm making progress at least! I figured out that I'm not able to make network midi (& OSC) connections when in AP mode however I can if I join an existing network.
My next hurdle is to eradicate all the Serial MIDI data that makes makes the screen go crazy! I can't seem to turn it off and I don't see a pattern in it. Attached is a sample of what the serial monitor is seeing.
UPDATE: I commented this part from PedalinoMini.cpp and it did stop screen from showing extra data.
// Listen to incoming messages /*
if (USB_MIDI.read()) DPRINTMIDI("USB MIDI", USB_MIDI.getType(), USB_MIDI.getChannel(), USB_MIDI.getData1(), USB_MIDI.getData2()); if (DIN_MIDI.read()) DPRINTMIDI("Serial MIDI", DIN_MIDI.getType(), DIN_MIDI.getChannel(), DIN_MIDI.getData1(), DIN_MIDI.getData2());
*/ if (wifiEnabled) { // Listen to incoming AppleMIDI messages from WiFi rtpMIDI_listen();
One more thing: How do you get the display to show what note/controller/Program change is being triggered in addition to the bank name (A, for example)?
disregard question about display showing details. I figured out removing the name field accomplished this.
Might not be the right place for this but I'm stuck early in the installation process. I've installed Platformio into Visual Studio Code (Mac) but in trying to run the Git: Clone command I get an error the command is not found. It seems no commands are found either. I am more familiar with the Arduino IDE so forgive my ignorance! Looking forward to tinkering with this project.
Intended hardware is an Espressif WROOM32D or an ADAFruit Huzzah32.