mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
bluez5: Use serial device alias for BT device
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
This commit is contained in:
parent
0202bc2881
commit
6235b0a854
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user