You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for your great work. I'm pretty new to ESP and I've tried to build ESP32_gpio_blinky but it faced the following error:
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:26: error: 'SOC_RTC_DATA_LOW' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:60: error: 'SOC_RTC_DATA_HIGH' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
In file included from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/portmacro.h:86:0,
from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/portable.h:94,
from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/FreeRTOS.h:105,
from /home/farshid/esp32/esp-idf/components/driver/./sdspi_private.h:20,
from /home/farshid/esp32/esp-idf/components/driver/./sdspi_transaction.c:24:
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_dma_capable':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: error: 'SOC_DMA_LOW' undeclared (first use in this function)
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: note: each undeclared identifier is reported only once for each function it appears in
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:56: error: 'SOC_DMA_HIGH' undeclared (first use in this function)
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_executable':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:19: error: 'SOC_IROM_LOW' undeclared (first use in this function)
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:40: error: 'SOC_IROM_HIGH' undeclared (first use in this function)
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:19: error: 'SOC_IRAM_LOW' undeclared (first use in this function)
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:40: error: 'SOC_IRAM_HIGH' undeclared (first use in this function)
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:19: error: 'SOC_RTC_IRAM_LOW' undeclared (first use in this function)
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:44: error: 'SOC_RTC_IRAM_HIGH' undeclared (first use in this function)
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_byte_accessible':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:25: error: 'SOC_BYTE_ACCESSIBLE_LOW' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:66: error: 'SOC_BYTE_ACCESSIBLE_HIGH' undeclared (first use in this function)
/home/farshid/esp32/esp-idf/make/component_wrapper.mk:242: recipe for target 'esp32/rtc_clk.o' failed
/home/farshid/esp32/esp-idf/make/project.mk:435: recipe for target 'component-soc-build' failed
/home/farshid/esp32/esp-idf/components/bootloader/Makefile.projbuild:40: recipe for target '/home/farshid/workspace/ESP32_gpio_blinky/build/bootloader/bootloader.bin' failed
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_internal':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:25: error: 'SOC_MEM_INTERNAL_LOW' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:63: error: 'SOC_MEM_INTERNAL_HIGH' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:26: error: 'SOC_RTC_DATA_LOW' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:60: error: 'SOC_RTC_DATA_HIGH' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/driver/./ledc.c: In function 'ledc_ls_channel_update':
/home/farshid/esp32/esp-idf/components/driver/./ledc.c:73:66: error: 'volatile union ' has no member named 'low_speed_update'
LEDC.channel_group[speed_mode].channel[channel_num].conf0.low_speed_update = 1;
^
/home/farshid/esp32/esp-idf/components/driver/./ledc.c: In function 'ledc_timer_config':
/home/farshid/esp32/esp-idf/components/driver/./ledc.c:223:22: error: 'volatile union ' has no member named 'slow_clk_sel'
LEDC.conf.slow_clk_sel = 1;
^
make[1]: *** [sdspi_transaction.o] Error 1
/home/farshid/esp32/esp-idf/components/driver/./uart.c: In function 'uart_set_baudrate':
/home/farshid/esp32/esp-idf/components/driver/./uart.c:182:25: error: 'REF_CLK_FREQ' undeclared (first use in this function)
uart_clk_freq = REF_CLK_FREQ;
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c: In function 'should_map':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:375:26: error: 'SOC_IROM_LOW' undeclared (first use in this function)
return (load_addr >= SOC_IROM_LOW && load_addr < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:375:26: note: each undeclared identifier is reported only once for each function it appears in
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:375:54: error: 'SOC_IROM_HIGH' undeclared (first use in this function)
return (load_addr >= SOC_IROM_LOW && load_addr < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:376:26: error: 'SOC_DROM_LOW' undeclared (first use in this function)
|| (load_addr >= SOC_DROM_LOW && load_addr < SOC_DROM_HIGH);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:376:54: error: 'SOC_DROM_HIGH' undeclared (first use in this function)
|| (load_addr >= SOC_DROM_LOW && load_addr < SOC_DROM_HIGH);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c: In function 'should_load':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:398:26: error: 'SOC_RTC_IRAM_LOW' undeclared (first use in this function)
if (load_addr >= SOC_RTC_IRAM_LOW && load_addr < SOC_RTC_IRAM_HIGH) {
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:398:58: error: 'SOC_RTC_IRAM_HIGH' undeclared (first use in this function)
if (load_addr >= SOC_RTC_IRAM_LOW && load_addr < SOC_RTC_IRAM_HIGH) {
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:402:26: error: 'SOC_RTC_DATA_LOW' undeclared (first use in this function)
if (load_addr >= SOC_RTC_DATA_LOW && load_addr < SOC_RTC_DATA_HIGH) {
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:402:58: error: 'SOC_RTC_DATA_HIGH' undeclared (first use in this function)
if (load_addr >= SOC_RTC_DATA_LOW && load_addr < SOC_RTC_DATA_HIGH) {
^
In file included from /home/farshid/esp32/esp-idf/components/log/./log.c:60:0:
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_dma_capable':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: error: 'SOC_DMA_LOW' undeclared (first use in this function)
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: note: each undeclared identifier is reported only once for each function it appears in
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:56: error: 'SOC_DMA_HIGH' undeclared (first use in this function)
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_executable':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:19: error: 'SOC_IROM_LOW' undeclared (first use in this function)
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:40: error: 'SOC_IROM_HIGH' undeclared (first use in this function)
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:19: error: 'SOC_IRAM_LOW' undeclared (first use in this function)
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:40: error: 'SOC_IRAM_HIGH' undeclared (first use in this function)
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:19: error: 'SOC_RTC_IRAM_LOW' undeclared (first use in this function)
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:44: error: 'SOC_RTC_IRAM_HIGH' undeclared (first use in this function)
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_byte_accessible':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:25: error: 'SOC_BYTE_ACCESSIBLE_LOW' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:66: error: 'SOC_BYTE_ACCESSIBLE_HIGH' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_internal':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:25: error: 'SOC_MEM_INTERNAL_LOW' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:63: error: 'SOC_MEM_INTERNAL_HIGH' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:26: error: 'SOC_RTC_DATA_LOW' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:60: error: 'SOC_RTC_DATA_HIGH' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c: In function 'should_map':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:377:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: some warnings being treated as errors
make[2]: *** [log.o] Error 1
make[1]: *** [component-log-build] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [src/esp_image_format.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [ledc.o] Error 1
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c: In function 'bootloader_random_enable':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c:68:5: error: implicit declaration of function 'DPORT_SET_PERI_REG_MASK' [-Werror=implicit-function-declaration]
DPORT_SET_PERI_REG_MASK(DPORT_WIFI_CLK_EN_REG, DPORT_WIFI_CLK_RNG_EN);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c:68:52: error: 'DPORT_WIFI_CLK_RNG_EN' undeclared (first use in this function)
DPORT_SET_PERI_REG_MASK(DPORT_WIFI_CLK_EN_REG, DPORT_WIFI_CLK_RNG_EN);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c:68:52: note: each undeclared identifier is reported only once for each function it appears in
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c: In function 'bootloader_random_disable':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c:118:5: error: implicit declaration of function 'DPORT_CLEAR_PERI_REG_MASK' [-Werror=implicit-function-declaration]
DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_I2S0_CLK_EN);
^
cc1: some warnings being treated as errors
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_pm.c: In function 'pm_set_sleep_mode':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_pm.c:51:23: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
cfg.soc_clk_sel = RTC_CNTL_SOC_CLK_SEL_XTL;
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_pm.c:51:23: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [i2s.o] Error 1
make[2]: *** [src/bootloader_random.o] Error 1
make[1]: *** [component-bootloader_support-build] Error 2
make[2]: *** [esp32/rtc_pm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [uart.o] Error 1
make: *** [component-driver-build] Error 2
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:17:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c: In function 'rtc_init':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:38:53: error: 'RTC_CNTL_DBIAS_1V10' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:38:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:38:53: note: each undeclared identifier is reported only once for each function it appears in
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:38:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:43:9: error: implicit declaration of function 'DPORT_CLEAR_PERI_REG_MASK' [-Werror=implicit-function-declaration]
DPORT_CLEAR_PERI_REG_MASK(DPORT_PRO_CACHE_CTRL1_REG, DPORT_PRO_CMMU_FORCE_ON);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:46:9: error: implicit declaration of function 'DPORT_SET_PERI_REG_BITS' [-Werror=implicit-function-declaration]
DPORT_SET_PERI_REG_BITS(DPORT_ROM_FO_CTRL_REG, DPORT_SHARE_ROM_FO, 0, DPORT_SHARE_ROM_FO_S);
^
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:17:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:86:51: error: 'RTC_CNTL_CPU_ROM_RAM_FORCE_PU' undeclared (first use in this function)
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_CPU_ROM_RAM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:86:9: note: in expansion of macro 'CLEAR_PERI_REG_MASK'
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_CPU_ROM_RAM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:87:47: error: 'RTC_CNTL_MEM_FORCE_PU' undeclared (first use in this function)
CLEAR_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:87:9: note: in expansion of macro 'CLEAR_PERI_REG_MASK'
CLEAR_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:91:51: error: 'RTC_CNTL_CPU_ROM_RAM_FORCE_NOISO' undeclared (first use in this function)
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_ISO_REG, RTC_CNTL_CPU_ROM_RAM_FORCE_NOISO);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:91:9: note: in expansion of macro 'CLEAR_PERI_REG_MASK'
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_ISO_REG, RTC_CNTL_CPU_ROM_RAM_FORCE_NOISO);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:92:47: error: 'RTC_CNTL_MEM_FORCE_NOISO' undeclared (first use in this function)
CLEAR_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_NOISO);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:92:9: note: in expansion of macro 'CLEAR_PERI_REG_MASK'
CLEAR_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_NOISO);
^
cc1: some warnings being treated as errors
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c: In function 'rtc_sleep_pd':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:78:5: error: implicit declaration of function 'DPORT_REG_SET_FIELD' [-Werror=implicit-function-declaration]
DPORT_REG_SET_FIELD(DPORT_MEM_PD_MASK_REG, DPORT_LSLP_MEM_PD_MASK, ~cfg.cpu_pd);
^
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:16:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:19: error: 'BBPD_CTRL' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:19: note: each undeclared identifier is reported only once for each function it appears in
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:30: error: 'BB_FFT_FORCE_PU' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:30: error: 'BB_FFT_FORCE_PU_S' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:82:30: error: 'BB_DC_EST_FORCE_PU' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_DC_EST_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:82:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_DC_EST_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:82:30: error: 'BB_DC_EST_FORCE_PU_S' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_DC_EST_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:82:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_DC_EST_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/include/soc/nrx_reg.h:23:21: error: 'DR_REG_NRX_BASE' undeclared (first use in this function)
#define NRXPD_CTRL (DR_REG_NRX_BASE + 0x00d4)
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:83:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(NRXPD_CTRL, NRX_RX_ROT_FORCE_PU, ~cfg.nrx_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:83:19: note: in expansion of macro 'NRXPD_CTRL'
REG_SET_FIELD(NRXPD_CTRL, NRX_RX_ROT_FORCE_PU, ~cfg.nrx_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c: In function 'rtc_sleep_init':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:97:63: error: 'RTC_CNTL_XTL_BUF_WAIT_DEFAULT' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_XTL_BUF_WAIT, RTC_CNTL_XTL_BUF_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:97:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_XTL_BUF_WAIT, RTC_CNTL_XTL_BUF_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:98:60: error: 'RTC_CNTL_CK8M_WAIT_DEFAULT' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:98:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:115:28: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
if (cfg.soc_clk_sel == RTC_CNTL_SOC_CLK_SEL_PLL) {
^
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:16:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:116:67: error: 'RTC_CNTL_PLL_BUF_WAIT_DEFAULT' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_PLL_BUF_WAIT, RTC_CNTL_PLL_BUF_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:116:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_PLL_BUF_WAIT, RTC_CNTL_PLL_BUF_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:117:35: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
} else if (cfg.soc_clk_sel == RTC_CNTL_SOC_CLK_SEL_XTL) {
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:120:35: error: 'RTC_CNTL_SOC_CLK_SEL_8M' undeclared (first use in this function)
} else if (cfg.soc_clk_sel == RTC_CNTL_SOC_CLK_SEL_8M) {
^
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:16:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:135:45: error: 'RTC_CNTL_MEM_FORCE_PU' undeclared (first use in this function)
SET_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:135:9: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:141:45: error: 'RTC_CNTL_MEM_FOLW_CPU' undeclared (first use in this function)
SET_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FOLW_CPU);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:141:9: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FOLW_CPU);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:179:49: error: 'RTC_CNTL_CPU_ROM_RAM_PD_EN' undeclared (first use in this function)
SET_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_CPU_ROM_RAM_PD_EN);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:179:9: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_CPU_ROM_RAM_PD_EN);
^
cc1: some warnings being treated as errors
make[2]: *** [esp32/rtc_sleep.o] Error 1
make[2]: *** [esp32/rtc_init.o] Error 1
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_8m_enable':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:139:64: error: 'RTC_CNTL_CK8M_WAIT_DEFAULT' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:139:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:139:64: note: each undeclared identifier is reported only once for each function it appears in
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:139:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_apll_enable':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:160:71: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
REG_GET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL) != RTC_CNTL_SOC_CLK_SEL_PLL) {
^
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_bbpll_set':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:273:61: error: 'RTC_CNTL_DBIAS_1V25' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V25);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:273:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V25);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_cpu_freq_to_xtal':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:332:57: error: 'RTC_CNTL_DBIAS_1V10' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:332:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/include/soc/apb_ctrl_reg.h:18:44: error: 'DR_REG_APB_CTRL_BASE' undeclared (first use in this function)
#define APB_CTRL_SYSCLK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x0)
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:333:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT, 0);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:333:19: note: in expansion of macro 'APB_CTRL_SYSCLK_CONF_REG'
REG_SET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT, 0);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:334:64: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_XTL);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:334:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_XTL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:335:5: error: implicit declaration of function 'DPORT_REG_WRITE' [-Werror=implicit-function-declaration]
DPORT_REG_WRITE(DPORT_CPU_PER_CONF_REG, 0); // clear DPORT_CPUPERIOD_SEL
^
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_cpu_freq_to_pll':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:365:61: error: 'RTC_CNTL_DBIAS_1V25' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V25);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:365:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V25);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:369:64: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_PLL);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:369:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_PLL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_cpu_freq_set':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:393:57: error: 'RTC_CNTL_DBIAS_1V10' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:393:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:394:64: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_XTL);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:394:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_XTL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/include/soc/apb_ctrl_reg.h:18:44: error: 'DR_REG_APB_CTRL_BASE' undeclared (first use in this function)
#define APB_CTRL_SYSCLK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x0)
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:395:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT, 0);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:395:19: note: in expansion of macro 'APB_CTRL_SYSCLK_CONF_REG'
REG_SET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT, 0);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:403:5: error: implicit declaration of function 'DPORT_REG_SET_FIELD' [-Werror=implicit-function-declaration]
DPORT_REG_SET_FIELD(DPORT_CPU_PER_CONF_REG, DPORT_CPUPERIOD_SEL, 0);
^
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:425:61: error: 'RTC_CNTL_DBIAS_1V00' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V00);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:425:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V00);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:445:68: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_PLL);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:445:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_PLL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_cpu_freq_get':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:456:14: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
case RTC_CNTL_SOC_CLK_SEL_XTL: {
^
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/include/soc/apb_ctrl_reg.h:18:44: error: 'DR_REG_APB_CTRL_BASE' undeclared (first use in this function)
#define APB_CTRL_SYSCLK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x0)
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:68:46: note: in definition of macro 'REG_READ'
#define REG_READ(_r) ((volatile uint32_t )(_r))
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:457:32: note: in expansion of macro 'REG_GET_FIELD'
uint32_t pre_div = REG_GET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:457:46: note: in expansion of macro 'APB_CTRL_SYSCLK_CONF_REG'
uint32_t pre_div = REG_GET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:467:14: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
case RTC_CNTL_SOC_CLK_SEL_PLL: {
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:468:38: error: implicit declaration of function 'DPORT_REG_GET_FIELD' [-Werror=implicit-function-declaration]
uint32_t cpuperiod_sel = DPORT_REG_GET_FIELD(DPORT_CPU_PER_CONF_REG, DPORT_CPUPERIOD_SEL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:480:14: error: 'RTC_CNTL_SOC_CLK_SEL_APLL' undeclared (first use in this function)
case RTC_CNTL_SOC_CLK_SEL_APLL:
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:481:14: error: 'RTC_CNTL_SOC_CLK_SEL_8M' undeclared (first use in this function)
case RTC_CNTL_SOC_CLK_SEL_8M:
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_init':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:623:71: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
if (REG_GET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL) == RTC_CNTL_SOC_CLK_SEL_PLL) {
^
cc1: some warnings being treated as errors
make[2]: *** [esp32/rtc_clk.o] Error 1
make[1]: *** [component-soc-build] Error 2
make: *** [/home/farshid/workspace/ESP32_gpio_blinky/build/bootloader/bootloader.bin] Error 2
In file included from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/portmacro.h:86:0,
from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/portable.h:94,
from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/FreeRTOS.h:105,
from /home/farshid/esp32/esp-idf/components/cxx/./cxx_guards.cpp:22:
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'bool esp_ptr_dma_capable(const void)':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: error: 'SOC_DMA_LOW' was not declared in this scope
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:56: error: 'SOC_DMA_HIGH' was not declared in this scope
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'bool esp_ptr_executable(const void)':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:19: error: 'SOC_IROM_LOW' was not declared in this scope
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:40: error: 'SOC_IROM_HIGH' was not declared in this scope
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:19: error: 'SOC_IRAM_LOW' was not declared in this scope
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:40: error: 'SOC_IRAM_HIGH' was not declared in this scope
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:19: error: 'SOC_RTC_IRAM_LOW' was not declared in this scope
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:44: error: 'SOC_RTC_IRAM_HIGH' was not declared in this scope
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'bool esp_ptr_byte_accessible(const void*)':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:25: error: 'SOC_BYTE_ACCESSIBLE_LOW' was not declared in this scope
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:66: error: 'SOC_BYTE_ACCESSIBLE_HIGH' was not declared in this scope
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'bool esp_ptr_internal(const void*)':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:25: error: 'SOC_MEM_INTERNAL_LOW' was not declared in this scope
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:63: error: 'SOC_MEM_INTERNAL_HIGH' was not declared in this scope
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:26: error: 'SOC_RTC_DATA_LOW' was not declared in this scope
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:60: error: 'SOC_RTC_DATA_HIGH' was not declared in this scope
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
make[1]: *** [cxx_guards.o] Error 1
make: *** [component-cxx-build] Error 2
/home/farshid/esp32/esp-idf/make/component_wrapper.mk:242: recipe for target 'cxx_guards.o' failed
/home/farshid/esp32/esp-idf/make/project.mk:435: recipe for target 'component-cxx-build' failed
11:58:23 Build Finished (took 2s.837ms)
The text was updated successfully, but these errors were encountered:
Thank you very much for your great work. I'm pretty new to ESP and I've tried to build ESP32_gpio_blinky but it faced the following error:
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:26: error: 'SOC_RTC_DATA_LOW' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:60: error: 'SOC_RTC_DATA_HIGH' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
In file included from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/portmacro.h:86:0,
from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/portable.h:94,
from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/FreeRTOS.h:105,
from /home/farshid/esp32/esp-idf/components/driver/./sdspi_private.h:20,
from /home/farshid/esp32/esp-idf/components/driver/./sdspi_transaction.c:24:
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_dma_capable':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: error: 'SOC_DMA_LOW' undeclared (first use in this function)
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: note: each undeclared identifier is reported only once for each function it appears in
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:56: error: 'SOC_DMA_HIGH' undeclared (first use in this function)
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_executable':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:19: error: 'SOC_IROM_LOW' undeclared (first use in this function)
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:40: error: 'SOC_IROM_HIGH' undeclared (first use in this function)
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:19: error: 'SOC_IRAM_LOW' undeclared (first use in this function)
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:40: error: 'SOC_IRAM_HIGH' undeclared (first use in this function)
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:19: error: 'SOC_RTC_IRAM_LOW' undeclared (first use in this function)
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:44: error: 'SOC_RTC_IRAM_HIGH' undeclared (first use in this function)
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_byte_accessible':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:25: error: 'SOC_BYTE_ACCESSIBLE_LOW' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:66: error: 'SOC_BYTE_ACCESSIBLE_HIGH' undeclared (first use in this function)
/home/farshid/esp32/esp-idf/make/component_wrapper.mk:242: recipe for target 'esp32/rtc_clk.o' failed
/home/farshid/esp32/esp-idf/make/project.mk:435: recipe for target 'component-soc-build' failed
/home/farshid/esp32/esp-idf/components/bootloader/Makefile.projbuild:40: recipe for target '/home/farshid/workspace/ESP32_gpio_blinky/build/bootloader/bootloader.bin' failed
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_internal':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:25: error: 'SOC_MEM_INTERNAL_LOW' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:63: error: 'SOC_MEM_INTERNAL_HIGH' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:26: error: 'SOC_RTC_DATA_LOW' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:60: error: 'SOC_RTC_DATA_HIGH' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/driver/./ledc.c: In function 'ledc_ls_channel_update':
/home/farshid/esp32/esp-idf/components/driver/./ledc.c:73:66: error: 'volatile union ' has no member named 'low_speed_update'
LEDC.channel_group[speed_mode].channel[channel_num].conf0.low_speed_update = 1;
^
/home/farshid/esp32/esp-idf/components/driver/./ledc.c: In function 'ledc_timer_config':
/home/farshid/esp32/esp-idf/components/driver/./ledc.c:223:22: error: 'volatile union ' has no member named 'slow_clk_sel'
LEDC.conf.slow_clk_sel = 1;
^
make[1]: *** [sdspi_transaction.o] Error 1
/home/farshid/esp32/esp-idf/components/driver/./uart.c: In function 'uart_set_baudrate':
/home/farshid/esp32/esp-idf/components/driver/./uart.c:182:25: error: 'REF_CLK_FREQ' undeclared (first use in this function)
uart_clk_freq = REF_CLK_FREQ;
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c: In function 'should_map':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:375:26: error: 'SOC_IROM_LOW' undeclared (first use in this function)
return (load_addr >= SOC_IROM_LOW && load_addr < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:375:26: note: each undeclared identifier is reported only once for each function it appears in
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:375:54: error: 'SOC_IROM_HIGH' undeclared (first use in this function)
return (load_addr >= SOC_IROM_LOW && load_addr < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:376:26: error: 'SOC_DROM_LOW' undeclared (first use in this function)
|| (load_addr >= SOC_DROM_LOW && load_addr < SOC_DROM_HIGH);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:376:54: error: 'SOC_DROM_HIGH' undeclared (first use in this function)
|| (load_addr >= SOC_DROM_LOW && load_addr < SOC_DROM_HIGH);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c: In function 'should_load':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:398:26: error: 'SOC_RTC_IRAM_LOW' undeclared (first use in this function)
if (load_addr >= SOC_RTC_IRAM_LOW && load_addr < SOC_RTC_IRAM_HIGH) {
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:398:58: error: 'SOC_RTC_IRAM_HIGH' undeclared (first use in this function)
if (load_addr >= SOC_RTC_IRAM_LOW && load_addr < SOC_RTC_IRAM_HIGH) {
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:402:26: error: 'SOC_RTC_DATA_LOW' undeclared (first use in this function)
if (load_addr >= SOC_RTC_DATA_LOW && load_addr < SOC_RTC_DATA_HIGH) {
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:402:58: error: 'SOC_RTC_DATA_HIGH' undeclared (first use in this function)
if (load_addr >= SOC_RTC_DATA_LOW && load_addr < SOC_RTC_DATA_HIGH) {
^
In file included from /home/farshid/esp32/esp-idf/components/log/./log.c:60:0:
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_dma_capable':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: error: 'SOC_DMA_LOW' undeclared (first use in this function)
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: note: each undeclared identifier is reported only once for each function it appears in
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:56: error: 'SOC_DMA_HIGH' undeclared (first use in this function)
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_executable':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:19: error: 'SOC_IROM_LOW' undeclared (first use in this function)
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:40: error: 'SOC_IROM_HIGH' undeclared (first use in this function)
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:19: error: 'SOC_IRAM_LOW' undeclared (first use in this function)
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:40: error: 'SOC_IRAM_HIGH' undeclared (first use in this function)
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:19: error: 'SOC_RTC_IRAM_LOW' undeclared (first use in this function)
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:44: error: 'SOC_RTC_IRAM_HIGH' undeclared (first use in this function)
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_byte_accessible':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:25: error: 'SOC_BYTE_ACCESSIBLE_LOW' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:66: error: 'SOC_BYTE_ACCESSIBLE_HIGH' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'esp_ptr_internal':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:25: error: 'SOC_MEM_INTERNAL_LOW' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:63: error: 'SOC_MEM_INTERNAL_HIGH' undeclared (first use in this function)
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:26: error: 'SOC_RTC_DATA_LOW' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:60: error: 'SOC_RTC_DATA_HIGH' undeclared (first use in this function)
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c: In function 'should_map':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/esp_image_format.c:377:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: some warnings being treated as errors
make[2]: *** [log.o] Error 1
make[1]: *** [component-log-build] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [src/esp_image_format.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [ledc.o] Error 1
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c: In function 'bootloader_random_enable':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c:68:5: error: implicit declaration of function 'DPORT_SET_PERI_REG_MASK' [-Werror=implicit-function-declaration]
DPORT_SET_PERI_REG_MASK(DPORT_WIFI_CLK_EN_REG, DPORT_WIFI_CLK_RNG_EN);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c:68:52: error: 'DPORT_WIFI_CLK_RNG_EN' undeclared (first use in this function)
DPORT_SET_PERI_REG_MASK(DPORT_WIFI_CLK_EN_REG, DPORT_WIFI_CLK_RNG_EN);
^
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c:68:52: note: each undeclared identifier is reported only once for each function it appears in
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c: In function 'bootloader_random_disable':
/home/farshid/esp32/esp-idf/components/bootloader_support/src/bootloader_random.c:118:5: error: implicit declaration of function 'DPORT_CLEAR_PERI_REG_MASK' [-Werror=implicit-function-declaration]
DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_I2S0_CLK_EN);
^
cc1: some warnings being treated as errors
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_pm.c: In function 'pm_set_sleep_mode':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_pm.c:51:23: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
cfg.soc_clk_sel = RTC_CNTL_SOC_CLK_SEL_XTL;
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_pm.c:51:23: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [i2s.o] Error 1
make[2]: *** [src/bootloader_random.o] Error 1
make[1]: *** [component-bootloader_support-build] Error 2
make[2]: *** [esp32/rtc_pm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [uart.o] Error 1
make: *** [component-driver-build] Error 2
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:17:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c: In function 'rtc_init':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:38:53: error: 'RTC_CNTL_DBIAS_1V10' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:38:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:38:53: note: each undeclared identifier is reported only once for each function it appears in
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:38:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:43:9: error: implicit declaration of function 'DPORT_CLEAR_PERI_REG_MASK' [-Werror=implicit-function-declaration]
DPORT_CLEAR_PERI_REG_MASK(DPORT_PRO_CACHE_CTRL1_REG, DPORT_PRO_CMMU_FORCE_ON);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:46:9: error: implicit declaration of function 'DPORT_SET_PERI_REG_BITS' [-Werror=implicit-function-declaration]
DPORT_SET_PERI_REG_BITS(DPORT_ROM_FO_CTRL_REG, DPORT_SHARE_ROM_FO, 0, DPORT_SHARE_ROM_FO_S);
^
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:17:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:86:51: error: 'RTC_CNTL_CPU_ROM_RAM_FORCE_PU' undeclared (first use in this function)
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_CPU_ROM_RAM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:86:9: note: in expansion of macro 'CLEAR_PERI_REG_MASK'
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_CPU_ROM_RAM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:87:47: error: 'RTC_CNTL_MEM_FORCE_PU' undeclared (first use in this function)
CLEAR_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:87:9: note: in expansion of macro 'CLEAR_PERI_REG_MASK'
CLEAR_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:91:51: error: 'RTC_CNTL_CPU_ROM_RAM_FORCE_NOISO' undeclared (first use in this function)
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_ISO_REG, RTC_CNTL_CPU_ROM_RAM_FORCE_NOISO);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:91:9: note: in expansion of macro 'CLEAR_PERI_REG_MASK'
CLEAR_PERI_REG_MASK(RTC_CNTL_DIG_ISO_REG, RTC_CNTL_CPU_ROM_RAM_FORCE_NOISO);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:92:47: error: 'RTC_CNTL_MEM_FORCE_NOISO' undeclared (first use in this function)
CLEAR_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_NOISO);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_init.c:92:9: note: in expansion of macro 'CLEAR_PERI_REG_MASK'
CLEAR_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_NOISO);
^
cc1: some warnings being treated as errors
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c: In function 'rtc_sleep_pd':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:78:5: error: implicit declaration of function 'DPORT_REG_SET_FIELD' [-Werror=implicit-function-declaration]
DPORT_REG_SET_FIELD(DPORT_MEM_PD_MASK_REG, DPORT_LSLP_MEM_PD_MASK, ~cfg.cpu_pd);
^
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:16:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:19: error: 'BBPD_CTRL' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:19: note: each undeclared identifier is reported only once for each function it appears in
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:30: error: 'BB_FFT_FORCE_PU' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:30: error: 'BB_FFT_FORCE_PU_S' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:81:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_FFT_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:82:30: error: 'BB_DC_EST_FORCE_PU' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_DC_EST_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:82:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_DC_EST_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:82:30: error: 'BB_DC_EST_FORCE_PU_S' undeclared (first use in this function)
REG_SET_FIELD(BBPD_CTRL, BB_DC_EST_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:82:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(BBPD_CTRL, BB_DC_EST_FORCE_PU, ~cfg.bb_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/include/soc/nrx_reg.h:23:21: error: 'DR_REG_NRX_BASE' undeclared (first use in this function)
#define NRXPD_CTRL (DR_REG_NRX_BASE + 0x00d4)
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:83:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(NRXPD_CTRL, NRX_RX_ROT_FORCE_PU, ~cfg.nrx_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:83:19: note: in expansion of macro 'NRXPD_CTRL'
REG_SET_FIELD(NRXPD_CTRL, NRX_RX_ROT_FORCE_PU, ~cfg.nrx_pd);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c: In function 'rtc_sleep_init':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:97:63: error: 'RTC_CNTL_XTL_BUF_WAIT_DEFAULT' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_XTL_BUF_WAIT, RTC_CNTL_XTL_BUF_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:97:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_XTL_BUF_WAIT, RTC_CNTL_XTL_BUF_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:98:60: error: 'RTC_CNTL_CK8M_WAIT_DEFAULT' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:98:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:115:28: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
if (cfg.soc_clk_sel == RTC_CNTL_SOC_CLK_SEL_PLL) {
^
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:16:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:116:67: error: 'RTC_CNTL_PLL_BUF_WAIT_DEFAULT' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_PLL_BUF_WAIT, RTC_CNTL_PLL_BUF_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:116:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_PLL_BUF_WAIT, RTC_CNTL_PLL_BUF_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:117:35: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
} else if (cfg.soc_clk_sel == RTC_CNTL_SOC_CLK_SEL_XTL) {
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:120:35: error: 'RTC_CNTL_SOC_CLK_SEL_8M' undeclared (first use in this function)
} else if (cfg.soc_clk_sel == RTC_CNTL_SOC_CLK_SEL_8M) {
^
In file included from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:16:0:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:135:45: error: 'RTC_CNTL_MEM_FORCE_PU' undeclared (first use in this function)
SET_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:135:9: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FORCE_PU);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:141:45: error: 'RTC_CNTL_MEM_FOLW_CPU' undeclared (first use in this function)
SET_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FOLW_CPU);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:141:9: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_CNTL_PWC_REG, RTC_CNTL_MEM_FOLW_CPU);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:179:49: error: 'RTC_CNTL_CPU_ROM_RAM_PD_EN' undeclared (first use in this function)
SET_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_CPU_ROM_RAM_PD_EN);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:110:98: note: in definition of macro 'WRITE_PERI_REG'
#define WRITE_PERI_REG(addr, val) (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_sleep.c:179:9: note: in expansion of macro 'SET_PERI_REG_MASK'
SET_PERI_REG_MASK(RTC_CNTL_DIG_PWC_REG, RTC_CNTL_CPU_ROM_RAM_PD_EN);
^
cc1: some warnings being treated as errors
make[2]: *** [esp32/rtc_sleep.o] Error 1
make[2]: *** [esp32/rtc_init.o] Error 1
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_8m_enable':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:139:64: error: 'RTC_CNTL_CK8M_WAIT_DEFAULT' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:139:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:139:64: note: each undeclared identifier is reported only once for each function it appears in
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:139:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_TIMER1_REG, RTC_CNTL_CK8M_WAIT, RTC_CNTL_CK8M_WAIT_DEFAULT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_apll_enable':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:160:71: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
REG_GET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL) != RTC_CNTL_SOC_CLK_SEL_PLL) {
^
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_bbpll_set':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:273:61: error: 'RTC_CNTL_DBIAS_1V25' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V25);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:273:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V25);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_cpu_freq_to_xtal':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:332:57: error: 'RTC_CNTL_DBIAS_1V10' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:332:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/include/soc/apb_ctrl_reg.h:18:44: error: 'DR_REG_APB_CTRL_BASE' undeclared (first use in this function)
#define APB_CTRL_SYSCLK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x0)
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:333:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT, 0);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:333:19: note: in expansion of macro 'APB_CTRL_SYSCLK_CONF_REG'
REG_SET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT, 0);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:334:64: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_XTL);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:334:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_XTL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:335:5: error: implicit declaration of function 'DPORT_REG_WRITE' [-Werror=implicit-function-declaration]
DPORT_REG_WRITE(DPORT_CPU_PER_CONF_REG, 0); // clear DPORT_CPUPERIOD_SEL
^
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_cpu_freq_to_pll':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:365:61: error: 'RTC_CNTL_DBIAS_1V25' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V25);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:365:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V25);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:369:64: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_PLL);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:369:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_PLL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_cpu_freq_set':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:393:57: error: 'RTC_CNTL_DBIAS_1V10' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:393:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V10);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:394:64: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_XTL);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:394:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_XTL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/include/soc/apb_ctrl_reg.h:18:44: error: 'DR_REG_APB_CTRL_BASE' undeclared (first use in this function)
#define APB_CTRL_SYSCLK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x0)
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:54: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:395:5: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT, 0);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:395:19: note: in expansion of macro 'APB_CTRL_SYSCLK_CONF_REG'
REG_SET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT, 0);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:403:5: error: implicit declaration of function 'DPORT_REG_SET_FIELD' [-Werror=implicit-function-declaration]
DPORT_REG_SET_FIELD(DPORT_CPU_PER_CONF_REG, DPORT_CPUPERIOD_SEL, 0);
^
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:425:61: error: 'RTC_CNTL_DBIAS_1V00' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V00);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:425:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_REG, RTC_CNTL_DIG_DBIAS_WAK, RTC_CNTL_DBIAS_1V00);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:445:68: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_PLL);
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:65:62: note: in definition of macro 'REG_WRITE'
#define REG_WRITE(_r, _v) ((volatile uint32_t )(_r)) = (_v)
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:445:9: note: in expansion of macro 'REG_SET_FIELD'
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL, RTC_CNTL_SOC_CLK_SEL_PLL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_cpu_freq_get':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:456:14: error: 'RTC_CNTL_SOC_CLK_SEL_XTL' undeclared (first use in this function)
case RTC_CNTL_SOC_CLK_SEL_XTL: {
^
In file included from /home/farshid/esp32/esp-idf/components/esp32/include/rom/ets_sys.h:21:0,
from /home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:19:
/home/farshid/esp32/esp-idf/components/soc/esp32/include/soc/apb_ctrl_reg.h:18:44: error: 'DR_REG_APB_CTRL_BASE' undeclared (first use in this function)
#define APB_CTRL_SYSCLK_CONF_REG (DR_REG_APB_CTRL_BASE + 0x0)
^
/home/farshid/esp32/esp-idf/components/esp32/include/soc/soc.h:68:46: note: in definition of macro 'REG_READ'
#define REG_READ(_r) ((volatile uint32_t )(_r))
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:457:32: note: in expansion of macro 'REG_GET_FIELD'
uint32_t pre_div = REG_GET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:457:46: note: in expansion of macro 'APB_CTRL_SYSCLK_CONF_REG'
uint32_t pre_div = REG_GET_FIELD(APB_CTRL_SYSCLK_CONF_REG, APB_CTRL_PRE_DIV_CNT);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:467:14: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
case RTC_CNTL_SOC_CLK_SEL_PLL: {
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:468:38: error: implicit declaration of function 'DPORT_REG_GET_FIELD' [-Werror=implicit-function-declaration]
uint32_t cpuperiod_sel = DPORT_REG_GET_FIELD(DPORT_CPU_PER_CONF_REG, DPORT_CPUPERIOD_SEL);
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:480:14: error: 'RTC_CNTL_SOC_CLK_SEL_APLL' undeclared (first use in this function)
case RTC_CNTL_SOC_CLK_SEL_APLL:
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:481:14: error: 'RTC_CNTL_SOC_CLK_SEL_8M' undeclared (first use in this function)
case RTC_CNTL_SOC_CLK_SEL_8M:
^
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c: In function 'rtc_clk_init':
/home/farshid/esp32/esp-idf/components/soc/esp32/rtc_clk.c:623:71: error: 'RTC_CNTL_SOC_CLK_SEL_PLL' undeclared (first use in this function)
if (REG_GET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_SOC_CLK_SEL) == RTC_CNTL_SOC_CLK_SEL_PLL) {
^
cc1: some warnings being treated as errors
make[2]: *** [esp32/rtc_clk.o] Error 1
make[1]: *** [component-soc-build] Error 2
make: *** [/home/farshid/workspace/ESP32_gpio_blinky/build/bootloader/bootloader.bin] Error 2
In file included from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/portmacro.h:86:0,
from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/portable.h:94,
from /home/farshid/esp32/esp-idf/components/freertos/include/freertos/FreeRTOS.h:105,
from /home/farshid/esp32/esp-idf/components/cxx/./cxx_guards.cpp:22:
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'bool esp_ptr_dma_capable(const void)':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:27: error: 'SOC_DMA_LOW' was not declared in this scope
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:65:56: error: 'SOC_DMA_HIGH' was not declared in this scope
return (intptr_t)p >= SOC_DMA_LOW && (intptr_t)p < SOC_DMA_HIGH;
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'bool esp_ptr_executable(const void)':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:19: error: 'SOC_IROM_LOW' was not declared in this scope
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:71:40: error: 'SOC_IROM_HIGH' was not declared in this scope
return (ip >= SOC_IROM_LOW && ip < SOC_IROM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:19: error: 'SOC_IRAM_LOW' was not declared in this scope
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:72:40: error: 'SOC_IRAM_HIGH' was not declared in this scope
|| (ip >= SOC_IRAM_LOW && ip < SOC_IRAM_HIGH)
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:19: error: 'SOC_RTC_IRAM_LOW' was not declared in this scope
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:73:44: error: 'SOC_RTC_IRAM_HIGH' was not declared in this scope
|| (ip >= SOC_RTC_IRAM_LOW && ip < SOC_RTC_IRAM_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'bool esp_ptr_byte_accessible(const void*)':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:25: error: 'SOC_BYTE_ACCESSIBLE_LOW' was not declared in this scope
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:79:66: error: 'SOC_BYTE_ACCESSIBLE_HIGH' was not declared in this scope
r = ((intptr_t)p >= SOC_BYTE_ACCESSIBLE_LOW && (intptr_t)p < SOC_BYTE_ACCESSIBLE_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h: In function 'bool esp_ptr_internal(const void*)':
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:25: error: 'SOC_MEM_INTERNAL_LOW' was not declared in this scope
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:88:63: error: 'SOC_MEM_INTERNAL_HIGH' was not declared in this scope
r = ((intptr_t)p >= SOC_MEM_INTERNAL_LOW && (intptr_t)p < SOC_MEM_INTERNAL_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:26: error: 'SOC_RTC_DATA_LOW' was not declared in this scope
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
/home/farshid/esp32/esp-idf/components/soc/include/soc/soc_memory_layout.h:89:60: error: 'SOC_RTC_DATA_HIGH' was not declared in this scope
r |= ((intptr_t)p >= SOC_RTC_DATA_LOW && (intptr_t)p < SOC_RTC_DATA_HIGH);
^
make[1]: *** [cxx_guards.o] Error 1
make: *** [component-cxx-build] Error 2
/home/farshid/esp32/esp-idf/make/component_wrapper.mk:242: recipe for target 'cxx_guards.o' failed
/home/farshid/esp32/esp-idf/make/project.mk:435: recipe for target 'component-cxx-build' failed
11:58:23 Build Finished (took 2s.837ms)
The text was updated successfully, but these errors were encountered: