esp-dsp
esp-dsp copied to clipboard
Cannot compile on ESP32-S3/P4 due to name clash with modules/support/cplx_gen/dsps_cplx_gen.c/.S (DSP-170)
Answers checklist.
- [x] I have read the ESP-DSP documentation and the issue is not addressed there.
- [x] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- [x] I have updated my ESP-DSP branch (master or release) to the latest version and checked that the issue is present there.
- [x] I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
v5.3
Module or chip used.
ESP32-P4
DSP version.
master
What is the expected behavior?
Can compile on S3 and P4.
What is the actual behavior?
Generates the following error:
*** Multiple ways to build the same target were specified for: .../esp-dsp/modules/support/cplx_gen/dsps_cplx_gen.o (from ['...esp-dsp/modules/support/cplx_gen/dsps_cplx_gen.S'] and from ['.../esp-dsp/modules/support/cplx_gen/dsps_cplx_gen.c'])
The .S file is supposed to be aes3-specific. Renaming dsps_cplx_gen.c to dsps_cplx_gen_ansi.c and dsps_cplx_gen.S to dsps_cplx_gen_aes3.S along with updating the CMakeLists.txt file fixes this issue.
Steps to reproduce.
- Step
- Step
- Step ...
Code to reproduce this issue.
Debug logs.
No response
More Information.
No response