The board specific interface in this sample is not handling errors. Fix that by making board_init() return a negative error code or zero. Rework the bbc_microbit specific board file by handling errors appropriately and avoiding device_get_binding() to move some device configuration errors to build time. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| beacon | ||
| central | ||
| central_hr | ||
| central_ht | ||
| direction_finding_connectionless_tx | ||
| eddystone | ||
| handsfree | ||
| hci_pwr_ctrl | ||
| hci_rpmsg | ||
| hci_spi | ||
| hci_uart | ||
| hci_usb | ||
| hci_usb_h4 | ||
| ibeacon | ||
| ipsp | ||
| mesh | ||
| mesh_demo | ||
| mesh_provisioner | ||
| periodic_adv | ||
| periodic_sync | ||
| peripheral | ||
| peripheral_csc | ||
| peripheral_dis | ||
| peripheral_esp | ||
| peripheral_hids | ||
| peripheral_hr | ||
| peripheral_ht | ||
| peripheral_ots | ||
| peripheral_sc_only | ||
| scan_adv | ||
| st_ble_sensor | ||
| bluetooth.rst | ||