esp-aliyun sdk compile error

yexiaojun
Posts: 3
Joined: Wed Jul 15, 2020 5:51 am

esp-aliyun sdk compile error

Postby yexiaojun » Tue Aug 04, 2020 7:36 am

Hi, everyone
i get esp-aliyun sdk. then under esp-aliyun directory execute command below:
cd examples/solutions/smart_light
make chip=esp32 defconfig
make menuconfig
make

but compile error, log see below:
/home/jack/work/esp/esp-aliyun/examples/solutions/smart_light/components/pwm/include/xpwm.h:18:10: fatal error: esp8266/gpio_register.h: No such file or directory
#include "esp8266/gpio_register.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

i can not understand my target chip is esp32 ,why need esp8266 header file.
can someone get it ?
thanks!

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: esp-aliyun sdk compile error

Postby ESP_YJM » Thu Jun 10, 2021 11:57 am

Could you please execute "echo $IDF_PATH" to check your SDK PATH is ESP8266 or ESP-IDF.

Who is online

Users browsing this forum: No registered users and 11 guests