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

Building standalone example nrf52840 #28

Open
Senso4sLab opened this issue Jun 28, 2024 · 0 comments
Open

Building standalone example nrf52840 #28

Senso4sLab opened this issue Jun 28, 2024 · 0 comments

Comments

@Senso4sLab
Copy link

Senso4sLab commented Jun 28, 2024

I successfully build standalone example for nrf52840 board. In project I added the following header file

#include "edge-impulse-sdk/classifier/ei_run_classifier.h"

and I try again build the project but without success. I got the following error:

FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/Users/samos/Desktop/firmware-nordic-nrf52840dk-nrf5340dk-master/build/zephyr/zephyr_pre0.map
cmd.exe /C "cd . && C:\ncs\toolchains\cf2149caf2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-g++.exe -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf && cmd.exe /C "cd /D C:\Users\samos\Desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\build\zephyr && C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.exe -E echo ""
c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_nn_inference(ei_impulse const*, ei_feature_t*, unsigned int, unsigned int*, unsigned int, ei_impulse_result_t*, void*, bool)': c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_eon.h:213: multiple definition of run_nn_inference(ei_impulse const*, ei_feature_t*, unsigned int, unsigned int*, unsigned int, ei_impulse_result_t*, void*, bool)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_eon.h:213: first defined here
c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:182: multiple definition of impulse_handle_86_0'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:182: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function ei::spectral::processing::spectral_power_edges(ei::ei_matrix*, ei::ei_matrix*, ei::ei_matrix*, ei::ei_matrix*, float)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\dsp\spectral/processing.hpp:318: multiple definition of ei::spectral::processing::spectral_power_edges(ei::ei_matrix*, ei::ei_matrix*, ei::ei_matrix*, ei::ei_matrix*, float)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\dsp\spectral/processing.hpp:318: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function ei::spectral::processing::periodogram(ei::ei_matrix*, ei::ei_matrix*, ei::ei_matrix*, float, unsigned short)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\dsp\spectral/processing.hpp:376: multiple definition of ei::spectral::processing::periodogram(ei::ei_matrix*, ei::ei_matrix*, ei::ei_matrix*, float, unsigned short)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\dsp\spectral/processing.hpp:376: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function extract_anomaly_input_values(ei_feature_t*, unsigned int*, unsigned int, unsigned int, unsigned short const*, float*)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/anomaly.h:108: multiple definition of extract_anomaly_input_values(ei_feature_t*, unsigned int*, unsigned int, unsigned int, unsigned short const*, float*)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/anomaly.h:108: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_kmeans_anomaly(ei_impulse const*, ei_feature_t*, unsigned int, unsigned int*, unsigned int, ei_impulse_result_t*, void*, bool)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/anomaly.h:163: multiple definition of run_kmeans_anomaly(ei_impulse const*, ei_feature_t*, unsigned int, unsigned int*, unsigned int, ei_impulse_result_t*, void*, bool)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/anomaly.h:163: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function fill_input_tensor_from_matrix(ei_feature_t*, TfLiteTensor*, unsigned int*, unsigned int, unsigned int)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_helper.h:46: multiple definition of fill_input_tensor_from_matrix(ei_feature_t*, TfLiteTensor*, unsigned int*, unsigned int, unsigned int)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_helper.h:46: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function fill_output_matrix_from_tensor(TfLiteTensor*, ei::ei_matrix*)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_helper.h:229: multiple definition of fill_output_matrix_from_tensor(TfLiteTensor*, ei::ei_matrix*)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_helper.h:229: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function fill_result_struct_from_output_tensor_tflite(ei_impulse const*, ei_learning_block_config_tflite_graph_t*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, ei_impulse_result_t*, bool)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_helper.h:286: multiple definition of fill_result_struct_from_output_tensor_tflite(ei_impulse const*, ei_learning_block_config_tflite_graph_t*, TfLiteTensor*, TfLiteTensor*, TfLiteTensor*, ei_impulse_result_t*, bool)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_helper.h:286: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_inference':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:174: multiple definition of run_inference'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:174: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function init_impulse':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:359: multiple definition of init_impulse'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:359: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_classifier_init':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:770: multiple definition of run_classifier_init'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:770: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_classifier_deinit':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:835: multiple definition of run_classifier_deinit'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:835: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function fill_input_tensor_from_signal(ei::ei_signal_t*, TfLiteTensor*)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_helper.h:106: multiple definition of fill_input_tensor_from_signal(ei::ei_signal_t*, TfLiteTensor*)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_helper.h:106: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_nn_inference_from_dsp(ei_learning_block_config_tflite_graph_t*, ei::ei_signal_t*, ei::ei_matrix*)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_eon.h:151: multiple definition of run_nn_inference_from_dsp(ei_learning_block_config_tflite_graph_t*, ei::ei_signal_t*, ei::ei_matrix*)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_eon.h:151: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function extract_tflite_eon_features(ei::ei_signal_t*, ei::ei_matrix*, void*, float)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_eon.h:370: multiple definition of extract_tflite_eon_features(ei::ei_signal_t*, ei::ei_matrix*, void*, float)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_eon.h:370: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_nn_inference_image_quantized(ei_impulse const*, ei::ei_signal_t*, ei_impulse_result_t*, void*, bool)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_eon.h:284: multiple definition of run_nn_inference_image_quantized(ei_impulse const*, ei::ei_signal_t*, ei_impulse_result_t*, void*, bool)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/tflite_eon.h:284: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_classifier_image_quantized':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:610: multiple definition of run_classifier_image_quantized'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:610: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_gmm_anomaly(ei_impulse const*, ei_feature_t*, unsigned int, unsigned int*, unsigned int, ei_impulse_result_t*, void*, bool)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/anomaly.h:205: multiple definition of run_gmm_anomaly(ei_impulse const*, ei_feature_t*, unsigned int, unsigned int*, unsigned int, ei_impulse_result_t*, void*, bool)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier\inferencing_engines/anomaly.h:205: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function process_impulse':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:227: multiple definition of process_impulse'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:227: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_classifier':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:978: multiple definition of run_classifier'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:978: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function process_impulse_continuous':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:381: multiple definition of process_impulse_continuous'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:381: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function run_classifier_continuous':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:891: multiple definition of run_classifier_continuous'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\classifier/ei_run_classifier.h:891: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj): in function flatten_class::create(void*, float)':
c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\dsp/ei_flatten.h:193: multiple definition of flatten_class::create(void*, float)'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\edge-impulse-sdk\dsp/ei_flatten.h:193: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:183: multiple definition of ei_default_impulse'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:183: first defined here
c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:59: multiple definition of ei_dsp_blocks'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:59: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:33: multiple definition of ei_classifier_inferencing_categories'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:33: first defined here
c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:37: multiple definition of ei_dsp_config_2'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:37: first defined here c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:35: multiple definition of ei_dsp_config_2_axes'; app/libapp.a(ei_run_impulse.cpp.obj):c:\users\samos\desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\model-parameters/model_variables.h:35: first defined here
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.EXE' --build 'c:\Users\samos\Desktop\firmware-nordic-nrf52840dk-nrf5340dk-master\build'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant