Hi,
We are working on creating a custom board configuration for ease of development. This is based on UBlox BMD-350-EVAL10. Which uses nRF52832.
While I created a custom board configuration. While building getting the following error
C:\Users\Sachin\ncs\v2.0.2\zephyr\include\zephyr\device.h:96:39: error: '__device_dts_ord_DT_CHOSEN_zephyr_bt_uart_ORD' undeclared (first use in this function)
#define DEVICE_NAME_GET(name) _CONCAT(__device_, name)
| ^~~~~~~~~
C:\Users\Sachin\ncs\v2.0.2\zephyr\include\zephyr\device.h:291:37: note: in expansion of macro 'DEVICE_NAME_GET'
291 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_NAME(node_id))
| ^~~~~~~~~~~~~~~
C:\Users\Sachin\ncs\v2.0.2\zephyr\include\zephyr\device.h:311:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
311 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
| ^~~~~~~~~~~~~~~~~~
C:\Users\Sachin\ncs\v2.0.2\zephyr\drivers\bluetooth\hci\h4.c:561:11: note: in expansion of macro 'DEVICE_DT_GET'
561 | h4_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_bt_uart));
| ^~~~~~~~~~~~~
C:\Users\Sachin\ncs\v2.0.2\zephyr\include\zephyr\device.h:96:39: note: each undeclared identifier is reported only once for each function it appears in
96 | #define DEVICE_NAME_GET(name) _CONCAT(__device_, name)
As I am building based on nRF connect SDK, ideally Zephyr BT stack should not be built at all, Is my understanding correct?