ETS_UNCACHED_ADDR redefined between rtc_io_reg.h
and soc.h
(IDFGH-10922)
#12116
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.1 AND master commit: 3247253
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Target: esp32s3
The permutation of these 2 include statements should be equivalent.
ulp/ulp_main_A.c
ulp/ulp_main_B.c
What is the actual behavior?
at build time, some redefinition warnings are triggered.
ulp/ulp_main_B.c
No warningsulp/ulp_main_A.c
Causes compilation warningSteps to reproduce.
idf.py build
using the example ULP code.Build or installation Logs.
Build logs
More Information.
The header file
esp32s3/include/soc/soc.h:39
checks againstULP_RISCV_REGISTER_OPS
Which is defined in
components/ulp/ulp_riscv/ulp_core/include/ulp_riscv_register_ops.h
Given the change of definition of
ETS_UNCACHED_ADDR(addr)
this warning should either be an error (preferably explaining that you need to includeulp_riscv_utils.h
first) or there shouldn't be 2 definitions forETS_UNCACHED_ADDR
. Same goes for a lot of the other macros in both files.The text was updated successfully, but these errors were encountered: