Page 1 of 1

Compilation error

Posted: Sun Dec 10, 2023 12:30 am
by gamename
Hi,

I'm getting this error when I compile for esp32 (below). I haven't touched `sleep_modes.c`, so I'm assuming there is an ifdef missing. Anyone have any ideas?

Code: Select all

/Users/tennis/esp/esp-idf/components/esp_hw_support/sleep_modes.c: In function 'esp_sleep_get_touchpad_wakeup_status':
/Users/tennis/esp/esp-idf/components/esp_hw_support/sleep_modes.c:1432:5: error: implicit declaration of function 'touch_hal_get_wakeup_status'; did you mean 'rtc_hal_ext1_get_wakeup_status'? [-Werror=implicit-function-declaration]
 1432 |     touch_hal_get_wakeup_status(&pad_num);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     rtc_hal_ext1_get_wakeup_status
cc1: some warnings being treated as errors
Thanks,
-T

Re: Compilation error

Posted: Sun Dec 10, 2023 10:33 am
by gamename
found the problem.

Re: Compilation error

Posted: Sun Dec 10, 2023 11:50 am
by a2800276
gamename wrote:
Sun Dec 10, 2023 10:33 am
found the problem.
It really helps out forum ecosystems if you add a quick summary about what the problem was and how you solved it :)

Re: Compilation error

Posted: Sun Dec 10, 2023 3:59 pm
by gamename
a2800276 wrote:
Sun Dec 10, 2023 11:50 am
gamename wrote:
Sun Dec 10, 2023 10:33 am
found the problem.
It really helps out forum ecosystems if you add a quick summary about what the problem was and how you solved it :)
Very true. I didn't include the correct headers in CMakeLists.txt. That caused the error.

But, I'm still wrestling with getting compilation to work and I'm recreating the CMakeLists.txt file altogether now.