PlatformIO Community

Couldn't update framework-arduinoespressif32


#1

Hello !

I am getting a rather strange error when trying to update framework-arduinoespressif32

Platform Espressif 32
--------
Updating espressif32                     @ 1.8.0          [Up-to-date]
Updating tool-esptoolpy                  @ 1.20600.0      [Up-to-date]
Updating tool-espotapy                   @ 1.1.3          [Up-to-date]
Updating toolchain-xtensa32              @ 2.50200.80     [Up-to-date]
Updating framework-arduinoespressif32    @ 2.10002.190416 [Up-to-date]
Updating tool-mkspiffs                   @ 2.230.0        [Up-to-date]

Platform Espressif 32 (Stage)
--------
Updating espressif32                     @ a9e10bb        [Up-to-date]
Updating tool-esptoolpy                  @ 1.20600.0      [Up-to-date]
Updating tool-espotapy                   @ 1.1.3          [Up-to-date]
Updating toolchain-xtensa32              @ 2.50200.80     [Up-to-date]
Updating framework-arduinoespressif32    @ da8b7c1        [fd5a2f0]
git version 2.17.1
remote: Enumerating objects: 456, done.
remote: Counting objects: 100% (341/341), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 180 (delta 143), reused 162 (delta 130), pack-reused 0
Receiving objects: 100% (180/180), 2.50 MiB | 3.38 MiB/s, done.
Resolving deltas: 100% (143/143), completed with 120 local objects.
From https://github.com/espressif/arduino-esp32
   50d1429..fd5a2f0  master     -> origin/master
 * [new tag]         1.0.3-rc1  -> 1.0.3-rc1
Fetching submodule libraries/AzureIoT
Fetching submodule libraries/BLE
Updating da8b7c1..fd5a2f0
error: The following untracked working tree files would be overwritten by merge:
        libraries/BLE/README.md
        libraries/BLE/examples/BLE_client/BLE_client.ino
        libraries/BLE/examples/BLE_iBeacon/BLE_iBeacon.ino
        libraries/BLE/examples/BLE_notify/BLE_notify.ino
        libraries/BLE/examples/BLE_scan/BLE_scan.ino
        libraries/BLE/examples/BLE_server/BLE_server.ino
        libraries/BLE/examples/BLE_server_multiconnect/BLE_server_multiconnect.ino
        libraries/BLE/examples/BLE_uart/BLE_uart.ino
        libraries/BLE/examples/BLE_write/BLE_write.ino
        libraries/BLE/library.properties
        libraries/BLE/src/BLE2902.cpp
        libraries/BLE/src/BLE2902.h
        libraries/BLE/src/BLE2904.cpp
        libraries/BLE/src/BLE2904.h
        libraries/BLE/src/BLEAddress.cpp
        libraries/BLE/src/BLEAddress.h
        libraries/BLE/src/BLEAdvertisedDevice.cpp
        libraries/BLE/src/BLEAdvertisedDevice.h
        libraries/BLE/src/BLEAdvertising.cpp
        libraries/BLE/src/BLEAdvertising.h
        libraries/BLE/src/BLEBeacon.cpp
        libraries/BLE/src/BLEBeacon.h
        libraries/BLE/src/BLECharacteristic.cpp
        libraries/BLE/src/BLECharacteristic.h
        libraries/BLE/src/BLECharacteristicMap.cpp
        libraries/BLE/src/BLEClient.cpp
        libraries/BLE/src/BLEClient.h
        libraries/BLE/src/BLEDescriptor.cpp
        libraries/BLE/src/BLEDescriptor.h
        libraries/BLE/src/BLEDescriptorMap.cpp
        libraries/BLE/src/BLEDevice.cpp
        libraries/BLE/src/BLEDevice.h
        libraries/BLE/src/BLEEddystoneTLM.cpp
        libraries/BLE/src/BLEEddystoneTLM.h
        libraries/BLE/src/BLEEddystoneURL.cpp
        libraries/BLE/src/BLEEddystoneURL.h
        libraries/BLE/src/BLEExceptions.cpp
        libraries/BLE/src/BLEExceptions.h
        libraries/BLE/src/BLEHIDDevice.cpp
        libraries/BLE/src/BLEHIDDevice.h
        libraries/BLE/src/BLERemoteCharacteristic.cpp
        libraries/BLE/src/BLERemoteCharacteristic.h
        libraries/BLE/src/BLERemoteDescriptor.cpp
        libraries/BLE/src/BLERemoteDescriptor.h
        libraries/BLE/src/BLERemoteService.cpp
        libraries/BLE/src/BLERemoteService.h
        libraries/BLE/src/BLEScan.cpp
        libraries/BLE/src/BLEScan.h
        libraries/BLE/src/BLESecurity.cpp
        libraries/BLE/src/BLESecurity.h
        libraries/BLE/src/BLEServer.cpp
        libraries/BLE/src/BLEServer.h
        libraries/BLE/src/BLEService.cpp
        libraries/BLE/src/BLEService.h
        libraries/BLE/src/BLEServiceMap.cpp
        libraries/BLE/src/BLEUUID.cpp
        libraries/BLE/src/BLEUUID.h
        libraries/BLE/src/BLEUtils.cpp
        libraries/BLE/src/BLEUtils.h
        libraries/BLE/src/BLEValue.cpp
        libraries/BLE/src/BLEValue.h
        libraries/BLE/src/FreeRTOS.cpp
        libraries/BLE/src/FreeRTOS.h
        libraries/BLE/src/GeneralUtils.cpp
        libraries/BLE/src/GeneralUtils.h
        libraries/BLE/src/HIDKeyboardTypes.h
        libraries/BLE/src/HIDTypes.h
Please move or remove them before you merge.
Aborting
Error: VCS: Could not process command ['git', 'pull', '--recurse-submodules']

I am using this line in every platformio.ini:
platform = https://github.com/platformio/platform-espressif32.git#feature/stage


#2

Delete libraries\BLE folder, then update once more time.


#3

The pathway was:
/.platformio/packages/framework-arduinoespressif32/libraries/

I moved BLE directory to desktop and it worked !
The update created and downloaded a new BLE.

Thank you, mate !