Open
Description
Is your feature request related to a problem?
No response
Describe the solution you'd like.
I would like to be able to compile esp-dsp
for IDF_TARGET=linux
so I can do (unit) tests on the host computer without an actual esp32.
When I try to compile example/basic_math
it fails:
basic_math $ IDF_TARGET=linux idf.py build
Executing action: all (aliases: build)
Running cmake in directory /Users/jasper/esp/esp-dsp/examples/basic_math/build
[...]
-- Building ESP-IDF components for target linux
[...]
In file included from esp/esp-dsp/modules/common/misc/aes3_tie_log.c:7:
In file included from esp/esp-dsp/modules/common/include/dsp_common.h:23:
esp/esp-idf/components/esp_hw_support/include/esp_cpu.h:129:17: error: call to undeclared function 'rv_utils_get_core_id'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
return (int)rv_utils_get_core_id();
[...]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Describe alternatives you've considered.
No response
Additional context.
No response