mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-01-11 15:00:13 +00:00
bluez5: Use serial device alias for BT device
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
This commit is contained in:
@@ -6,7 +6,7 @@ After=dev-ttyAMA0.device
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/hciattach -n /dev/ttyAMA0 bcm43xx 921600 noflow -
|
||||
ExecStart=/usr/bin/hciattach -n /dev/serial1 bcm43xx 921600 noflow -
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -36,6 +36,8 @@ FILES_${PN}_append_raspberrypi3 = " ${BCM_BT_FIRMWARE}"
|
||||
|
||||
SYSTEMD_SERVICE_${PN}_append_raspberrypi3 = " ${BCM_BT_SERVICE}"
|
||||
|
||||
RDEPENDS_${PN}_append_raspberrypi3 = " udev-rules-rpi"
|
||||
|
||||
# for raspberrypi0-wifi
|
||||
SRC_URI_append_raspberrypi0-wifi = " ${BCM_BT_SOURCES}"
|
||||
|
||||
@@ -46,3 +48,5 @@ do_install_append_raspberrypi0-wifi() {
|
||||
FILES_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_FIRMWARE}"
|
||||
|
||||
SYSTEMD_SERVICE_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_SERVICE}"
|
||||
|
||||
RDEPENDS_${PN}_append_raspebrrypi0-wifi = " udev-rules-rpi"
|
||||
|
||||
Reference in New Issue
Block a user