Cannot build esp-rainmaker\examples\switch>
Posted: Tue Aug 11, 2020 12:44 am
Hi there,
I'm trying to build an example rainmaker project (switch), but I encountered some errors.
Anyone encountered this? I'm using v4.0.1 on Windows 10.
I'm trying to build an example rainmaker project (switch), but I encountered some errors.
Anyone encountered this? I'm using v4.0.1 on Windows 10.
- C:/msys32/home/y.tan/esp/esp-rainmaker/components/led_strip/src/led_strip_rmt_ws2812.c: In function 'led_strip_new_rmt_ws2812':
- C:/msys32/home/y.tan/esp/esp-rainmaker/components/led_strip/src/led_strip_rmt_ws2812.c:148:17: error: implicit declaration of function 'rmt_get_counter_clock'; did you mean 'rmt_get_source_clk'? [-Werror=implicit-function-declaration]
- STRIP_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev, &counter_clk_hz) == ESP_OK,
- ^~~~~~~~~~~~~~~~~~~~~
- C:/msys32/home/y.tan/esp/esp-rainmaker/components/led_strip/src/led_strip_rmt_ws2812.c:26:15: note: in definition of macro 'STRIP_CHECK'
- if (!(a)) \
- ^