osdp control_panel example not work with sdk V2.8.0

Hi,

I used the nRF52840 board with SDK v2.8.0.

When we tried to build this example code, we encountered the following error:

v2.8.0/zephyr/include/zephyr/device.h:92:41: error: '__device_dts_ord_DT_CHOSEN_zephyr_osdp_uart_ORD' undeclared (first use in this function)
92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)

Parents Reply Children
  • Hi,

    Thank you. There are currently no board support for the nrf52840 (or any other Nordic boards) for this sample. The sample is provided and maintained directly by Zephyr and forked into our SDK since we're using Zephyr.

    What you need to do to make this sample to work is to add the board you're working with to the build folder and define the required peripherals in the dts.

    kind regards,
    Andreas

  • Hi,

    We added UART1 in the overlay, and now the code builds successfully.

    However, we are facing another issue. We are using an HID OSDP reader, and when we scan an RFID card, we receive the card data without encryption.

    Please check the attached file for details.

  • First item I want to pick up is *** Booting nRF Connect SDK v2.5.1 **.

    Is this what you see by default when building for NCS v2.8.0?

    Kind regards,
    Andreas

  • Hi,

    Sorry by mistake *** Booting nRF Connect SDK v2.5.1 *** pest in this file.

  • ChiragBhavsar said:
    Sorry by mistake *** Booting nRF Connect SDK v2.5.1 *** pest in this file.

    I'm sorry, I don't understand this. Could you expand upon what is causing this?

    Kind regards,
    Andreas