This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

compilation error in nrf_drv_usbd.c

I have recently upgraded FTD code which was based on nrf sdk for thread and zigbee v2.0.0 to nrf sdk for thread and zigbee v4.0.0

On compiling the FTD I am having the following error..

Compiling file: nrf_drv_usbd.c
../../../../../nrf_sdk_thread/components/drivers_nrf/usbd/nrf_drv_usbd.c: In function 'usbd_ep_iso_capacity':
../../../../../nrf_sdk_thread/components/drivers_nrf/usbd/nrf_drv_usbd.c:1387:9: error: 'NRF_USBD_ISOSPLIT_Half' undeclared (first use in this function)
     if (NRF_USBD_ISOSPLIT_Half == split)
         ^~~~~~~~~~~~~~~~~~~~~~
../../../../../nrf_sdk_thread/components/drivers_nrf/usbd/nrf_drv_usbd.c:1387:9: note: each undeclared identifier is reported only once for each function it appears in
../../../../../nrf_sdk_thread/components/drivers_nrf/usbd/nrf_drv_usbd.c: In function 'nrf_drv_usbd_enable':
../../../../../nrf_sdk_thread/components/drivers_nrf/usbd/nrf_drv_usbd.c:1849:27: error: 'NRF_USBD_ISOSPLIT_Half' undeclared (first use in this function)
     nrf_usbd_isosplit_set(NRF_USBD_ISOSPLIT_Half);
                           ^~~~~~~~~~~~~~~~~~~~~~

Please suggest what can be done.

Related