Skip to content

Compilation Error #23

@zejdajan

Description

@zejdajan

Hi, I succesfully flashed ESP via Mongoose OS.
Now I am trying same thing via Arduino IDE 2.1.1. on Windows
I have installed mdash lib v1.2.16, I am trying to flash the "minimal example"
During the compilation, I am getting this error:

`d:\Projekty\Arduino\libraries\mDash\src\mDash.c: In function 'enable_wdt':
d:\Projekty\Arduino\libraries\mDash\src\mDash.c:85:3: error: implicit declaration of function 'esp_task_wdt_add'; did you mean 'esp_flash_read'? [-Werror=implicit-function-declaration]
esp_task_wdt_add(xTaskGetIdleTaskHandleForCPU(CPU_CORE));
^~~~~~~~~~~~~~~~
esp_flash_read
d:\Projekty\Arduino\libraries\mDash\src\mDash.c: In function 'disable_wdt':
d:\Projekty\Arduino\libraries\mDash\src\mDash.c:88:3: error: implicit declaration of function 'esp_task_wdt_delete'; did you mean 'esp_timer_delete'? [-Werror=implicit-function-declaration]
esp_task_wdt_delete(xTaskGetIdleTaskHandleForCPU(CPU_CORE));
^~~~~~~~~~~~~~~~~~~
esp_timer_delete
cc1.exe: some warnings being treated as errors

exit status 1

Compilation error: exit status 1`

Could you help me please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions