How to resolve a build error in Zephyr while building the Edge Impulse precompiled sample for Thingy 53.

Hi

I was working on an application sample for some days named "Machine learning" which is located at nrf/application, but facing a huge amount of issues connecting the board to edge impulse studio.

So while searching for the answer I found  https://devzone.nordicsemi.com/f/nordic-q-a/93706/nrf-edge-impulse/394830 this ticket, and in this ticket, they have given "edge impulse precompiled for thingy53", link of that is https://github.com/edgeimpulse/firmware-nordic-thingy53 

1. Should I need to use this sample instead of a machine learning sample for working with edge impulse?

I have downloaded and tried to create a build using this sample, but I am facing a build error 

D:/firmware/zephyr/drivers/ipm/ipm_nrfx_ipc.c: In function 'vipm_nrf_0_set_enabled':
D:\firmware\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_nordic_nrf_ipc_IRQ_IDX_0_VAL_irq' undeclared (first use in this function)

D:/firmware/zephyr/drivers/ipm/ipm_nrfx_ipc.c: In function 'gipm_init':
D:\firmware\zephyr\include\devicetree.h:305:40: error: 'DT_N_INST_0_nordic_nrf_ipc_IRQ_IDX_0_VAL_priority' undeclared (first use in this function)

I have not made any changes to the sample and I am unsure why this error is occurring in the default sample.

Can you help me resolve this issue?

Parents Reply
  • Unknown said:
    This is a very disappointing answer from a senior resource person.

    There really is no need for me to provide more steps than what is given in the documentation. You are not providing me with all the information as the issue is inconsistent, with regards to you initial issue.  

    In order for you to download an Edge Impulse project to the nRF Connect SDK project, you will need to verify that you have Prepared the machine learning model.

    The nRF Machine Learning application connects to a private Edge Impulse project:

    # Use the NCS machine learning model for acceleration readouts coming from HW accelerometer
    CONFIG_EDGE_IMPULSE=y
    CONFIG_EDGE_IMPULSE_URI="http://studio.edgeimpulse.com/v1/api/33184/deployment/download?type=zip&modelType=int8"
    CONFIG_EI_WRAPPER=y
    CONFIG_EI_WRAPPER_DATA_BUF_SIZE=1000


    In you case you will need to follow the steps under Downloading from a private project

    // Edit XYZ to your project ID visible in Dashboard in Edge Impulse Studio
    CONFIG_EDGE_IMPULSE_URI="https://studio.edgeimpulse.com/v1/api/XYZ/deployment/download?type=zip"

    Which should download your edge impulse project to the build folder of you nRF Machine Learning sample. But make sure that your model is trained and deployed.

Children
No Data
Related