I'm working on developing a device using the nrf52832. Currently using the nrf52 PCA10040 dev kit. I'm extending the zephyr/samples/basic/peripheral_dis sample in order to add my own custom services following this tutorial:
https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/ncs-ble-tutorial-part-1-custom-service-in-peripheral-role#h91sk6jev0m61soqa11se592hnbntfb
However, I'm getting a hard fail on boot up when I add the custom service to the perhiperal_dis sample. The program compiles and flashes just fine, but when my device boots up it hangs for a bit, then resets with the following error:
CONFIG_BT=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DEBUG_LOG=y CONFIG_BT_MAX_CONN=1 CONFIG_BT_L2CAP_TX_BUF_COUNT=5 CONFIG_BT_DEVICE_APPEARANCE=962 CONFIG_HEAP_MEM_POOL_SIZE=2048 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_BT_DIS=y CONFIG_BT_DIS_PNP=n CONFIG_BT_DIS_MODEL="STEEL" CONFIG_BT_DIS_MANUF="HidrateSpark" CONFIG_BT_DIS_SERIAL_NUMBER=n CONFIG_BT_DIS_FW_REV=y CONFIG_BT_DIS_HW_REV=y CONFIG_BT_DIS_SW_REV=n CONFIG_BT_DIS_FW_REV_STR="80.0" CONFIG_BT_DIS_HW_REV_STR="1.0" CONFIG_BT_DEVICE_NAME="h2o12345" # Below is setup to let DIS information be read from settings CONFIG_BT_SETTINGS=y CONFIG_SETTINGS_RUNTIME=y CONFIG_SETTINGS=y CONFIG_SETTINGS_NONE=y CONFIG_BT_DIS_SETTINGS=y CONFIG_BT_DIS_STR_MAX=21