Latest ESP-IDF version

Sysprogs forums Forums VisualGDB Latest ESP-IDF version

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28363
    m.ridoni
    Participant

    Hello,

    is ESP-IDF 4.1 (not 4.0.1) supported? If I try to check it out and build my project, I get:

    C:\sysgcc\esp32\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -Iconfig -IC:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/newlib/platform_include -IC:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/freertos/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/heap/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/log/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/lwip/include/apps -IC:/sysgcc/esp32/esp-idf/v4.0/components/lwip/include/apps/sntp -IC:/sysgcc/esp32/esp-idf/v4.0/components/lwip/lwip/src/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/lwip/port/esp32/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/lwip/port/esp32/include/arch -IC:/sysgcc/esp32/esp-idf/v4.0/components/soc/esp32/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/soc/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/esp_rom/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/esp_common/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/xtensa/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/xtensa/esp32/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/esp32/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/driver/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/esp_ringbuf/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/esp_event/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/tcpip_adapter/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/efuse/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/efuse/esp32/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/vfs/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/esp_wifi/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/esp_wifi/esp32/include -IC:/sysgcc/esp32/esp-idf/v4.0/components/app_trace/include -mlongcalls -Wno-frame-address -g -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.1-beta2-141-g84b51781c\" -DESP_PLATFORM -std=gnu11 -MD -MT esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/esp_eth.c.obj -MF esp-idf\esp_eth\CMakeFiles\__idf_esp_eth.dir\src\esp_eth.c.obj.d -o esp-idf/esp_eth/CMakeFiles/__idf_esp_eth.dir/src/esp_eth.c.obj -c C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c
    In file included from C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c:15:
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h: In function 'atomic_flag_test_and_set_explicit':
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:271:31: error: request for member '__val' in something not a structure or union
    __atomic_exchange_n(&(object)->__val, desired, order)
    ^~
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:387:10: note: in expansion of macro 'atomic_exchange_explicit'
    return (atomic_exchange_explicit(&__object->__flag, 1, __order));
    ^~~~~~~~~~~~~~~~~~~~~~~~
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h: In function 'atomic_flag_clear_explicit':
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:285:28: error: request for member '__val' in something not a structure or union
    __atomic_store_n(&(object)->__val, desired, order)
    ^~
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:394:2: note: in expansion of macro 'atomic_store_explicit'
    atomic_store_explicit(&__object->__flag, 0, __order);
    ^~~~~~~~~~~~~~~~~~~~~
    In file included from C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c:15:
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c: In function 'esp_eth_driver_install':
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:91:47: error: request for member '__val' in something not a structure or union
    #define atomic_init(obj, value) ((void)((obj)->__val = (value)))
    ^~
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c:175:5: note: in expansion of macro 'atomic_init'
    atomic_init(&eth_driver->ref_count, 1);
    ^~~~~~~~~~~
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c: In function 'esp_eth_driver_uninstall':
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:283:27: error: request for member '__val' in something not a structure or union
    __atomic_load_n(&(object)->__val, order)
    ^~
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c:27:15: note: in definition of macro 'ETH_CHECK'
    if (!(a)) \
    ^
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:365:2: note: in expansion of macro 'atomic_load_explicit'
    atomic_load_explicit(object, memory_order_seq_cst)
    ^~~~~~~~~~~~~~~~~~~~
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c:216:15: note: in expansion of macro 'atomic_load'
    ETH_CHECK(atomic_load(&eth_driver->ref_count) == 1,
    ^~~~~~~~~~~
    In file included from C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c:15:
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c: In function 'esp_eth_increase_reference':
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:273:30: error: request for member '__val' in something not a structure or union
    __atomic_fetch_add(&(object)->__val, operand, order)
    ^~
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:355:2: note: in expansion of macro 'atomic_fetch_add_explicit'
    atomic_fetch_add_explicit(object, operand, memory_order_seq_cst)
    ^~~~~~~~~~~~~~~~~~~~~~~~~
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c:346:5: note: in expansion of macro 'atomic_fetch_add'
    atomic_fetch_add(&eth_driver->ref_count, 1);
    ^~~~~~~~~~~~~~~~
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c: In function 'esp_eth_decrease_reference':
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:279:30: error: request for member '__val' in something not a structure or union
    __atomic_fetch_sub(&(object)->__val, operand, order)
    ^~
    C:/sysgcc/esp32/esp-idf/v4.0/components/newlib/include/stdatomic.h:361:2: note: in expansion of macro 'atomic_fetch_sub_explicit'
    atomic_fetch_sub_explicit(object, operand, memory_order_seq_cst)
    ^~~~~~~~~~~~~~~~~~~~~~~~~
    C:/sysgcc/esp32/esp-idf/v4.0/components/esp_eth/src/esp_eth.c:357:5: note: in expansion of macro 'atomic_fetch_sub'
    atomic_fetch_sub(&eth_driver->ref_count, 1);

    The weird thing is that though I selected v4.1 in VisualGDB Project properties, it still seems to use the 4.0 checkout. I could try to start anew and re-import the project, but only if I know that 4.1 is supported indeed.

     

    Thanks

    #28365
    support
    Keymaster

    Hi,

    Please see the following page for a detailed explanation on supported ESP-IDF versions: https://visualgdb.com/documentation/espidf/#troubleshooting

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.