Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile esp-dsp for IDF_TARGET=linux (DSP-136) #85

Open
morgana2313 opened this issue Apr 5, 2024 · 0 comments
Open

Compile esp-dsp for IDF_TARGET=linux (DSP-136) #85

morgana2313 opened this issue Apr 5, 2024 · 0 comments
Labels

Comments

@morgana2313
Copy link

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

@morgana2313 morgana2313 added the Type: Feature Request Feature request for IDF label Apr 5, 2024
@github-actions github-actions bot changed the title Compile esp-dsp for IDF_TARGET=linux Compile esp-dsp for IDF_TARGET=linux (DSP-136) Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants