Skip to content

Instantly share code, notes, and snippets.

@ericr3r
Created November 6, 2018 20:34
Show Gist options
  • Save ericr3r/dda8ad72ec2b9c2aea91163efcb9112e to your computer and use it in GitHub Desktop.
Save ericr3r/dda8ad72ec2b9c2aea91163efcb9112e to your computer and use it in GitHub Desktop.
add bluez patches to Nerves system from https://github.com/raspberrypi/linux/issues/1314
patches/bluez5_utils/0001-bcm43xx-Add-bcm43xx-3wire-variant.patch
patches/bluez5_utils/0002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch
patches/bluez5_utils/0003-Increase-firmware-load-timeout-to-30s.patch
patches/bluez5_utils/0004-Move-the-43xx-firmware-into-lib-firmware.patch
update nerves_defconfig to include bluez and patches:
-BR2_GLOBAL_PATCH_DIR="${BR2_EXTERNAL_NERVES_PATH}/patches"
+BR2_GLOBAL_PATCH_DIR="${BR2_EXTERNAL_NERVES_PATH}/patches ${NERVES_DEFCONFIG_DIR}/patches"
+BR2_PACKAGE_BLUEZ5_UTILS=y
+BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y
+BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED=y
update linux-4.14.defconfig:
+CONFIG_BT=y
+CONFIG_BT_HCIBTUSB=y
+CONFIG_BT_HCIUART=y
+CONFIG_BT_HCIUART_H4=y
+CONFIG_BT_HCIUART_BCSP=y
+CONFIG_BT_HCIBCM203X=m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment