ESP32 v1.3.0merge build error

LMSFan72 Aug 20, 2019

  1. LMSFan72

    LMSFan72 TrainBoard Member

    118
    18
    9
    Hi Mike

    I was just trying out a new board (a D1 R32 Uno) and Pololu shield so I thought i'd use the latest code I could find. I am having issues compiling, I get the following error:

    Compiling .pio\build\esp32\lib076\FS\vfs_api.cpp.o
    Compiling .pio\build\esp32\libf97\WiFi\ETH.cpp.o
    Compiling .pio\build\esp32\libf97\WiFi\WiFi.cpp.o
    .pio\libdeps\esp32\AsyncTCP_ID1826\src\AsyncTCP.cpp: In function 'bool _start_async_task()':
    .pio\libdeps\esp32\AsyncTCP_ID1826\src\AsyncTCP.cpp:205:141: error: 'xTaskCreateUniversal' was not declared in this scope
    xTaskCreateUniversal(_async_service_task, "async_tcp", 8192 * 2, NULL, 3, &_async_service_task_handle, CONFIG_ASYNC_TCP_RUNNING_CORE);
    ^
    *** [.pio\build\esp32\liba8f\AsyncTCP_ID1826\AsyncTCP.cpp.o] Error 1
    ================================================================== [ERROR] Took 30.96 seconds ==================================================================
    The terminal process terminated with exit code: 1

    Do you have any idea where the problem is and how to fix it Many Thanks, Andy
     
  2. Atani

    Atani TrainBoard Member

    1,460
    1,697
    36
    Refresh your PlatformIO installation to the Espressif 1.9.0 platform or later versions. From the UI you can click on the PlatformIO icon on the left side bar (the alien) and in the pane that opens in the bottom section "quick access" click "upgrade platformio core", restart PlatformIO when it prompts and then go back in and click "Update All" to update all installed platforms/libraries/etc.

    Also note that ESP32 CS 1.3.0 has not officially been released and is likely not to be release at this point beyond the RC1/2 builds that are tagged. V1.4.0 has already started on the development branch and is considerably more stable than v1.3.0 is currently. I'm working on stabilizing the code base further before tagging an alpha version but you are welcome to explore it on the development branch but be warned that it is not 100% stable (yet).
     
  3. LMSFan72

    LMSFan72 TrainBoard Member

    118
    18
    9
    OK, thanks Mike. I suspect I will wait until you release the later stable version then. Many Thanks, Andy
     
    Atani likes this.
  4. Atani

    Atani TrainBoard Member

    1,460
    1,697
    36
    Keep in mind that the update on PlatformIO will still be required even in v1.4.0 (which brings in a few other changes)
     
  5. LMSFan72

    LMSFan72 TrainBoard Member

    118
    18
    9
    Interestingly when I do try to update I get the following error:

    Platform Espressif 32 (Stage)
    --------
    Updating espressif32 @ 604ddc5 [839ae90]
    git version 2.20.1.windows.1
    error: Your local changes to the following files would be overwritten by merge:
    examples/espidf-http-request/src/sdkconfig.h
    examples/espidf-peripherals-uart/src/sdkconfig.h
    examples/espidf-storage-sdcard/src/sdkconfig.h
    platform.json
    Please commit your changes or stash them before you merge.
    Aborting
    Updating 604ddc5..839ae90
    Error: VCS: Could not process command ['git', 'pull', '--recurse-submodules']

    I had nothing open so how would I commit or stash the changes to those files?
     
  6. Atani

    Atani TrainBoard Member

    1,460
    1,697
    36
    That is an odd one, I'd suggest go into PIO Home -> Platforms and uninstall the "Espressif32 (Stage)" entry. It will be reinstalled (if/when needed) automatically during a build.
     
  7. LMSFan72

    LMSFan72 TrainBoard Member

    118
    18
    9
    OK, that got it! Thanks
     
    Atani likes this.

Share This Page