From 335e0f354aa093aed7f7f0baf34cfdffb1bd83a5 Mon Sep 17 00:00:00 2001 From: pstruebi Date: Tue, 22 Jul 2025 15:37:47 +0200 Subject: [PATCH] add radio0 overlay and a static +8db transmit power --- bl54l15_radio0.overlay | 43 ++++++++++++++++++++++++++++++++++++++++++ prj.conf | 1 + 2 files changed, 44 insertions(+) create mode 100644 bl54l15_radio0.overlay diff --git a/bl54l15_radio0.overlay b/bl54l15_radio0.overlay new file mode 100644 index 0000000..2a662cd --- /dev/null +++ b/bl54l15_radio0.overlay @@ -0,0 +1,43 @@ +&uart20 { + compatible = "nordic,nrf-uarte"; + status = "okay"; + current-speed = <1000000>; + hw-flow-control; +}; + +&pinctrl { + uart20_default: uart20_default { + group1 { + psels = , + ; + }; + group2 { + psels = , + ; + bias-pull-up; + }; + }; + + uart20_sleep: uart20_sleep { + group1 { + psels = , + , + , + ; + low-power-enable; + }; + }; +}; + +/ { + chosen { + //zephyr,console = &uart20; + //zephyr,shell-uart = &uart20; + //zephyr,uart-mcumgr = &uart0; + //zephyr,bt-mon-uart = &uart0; + zephyr,bt-c2h-uart = &uart20; + }; +}; +&power { + status = "okay"; +}; \ No newline at end of file diff --git a/prj.conf b/prj.conf index e889ba4..7e40f8b 100644 --- a/prj.conf +++ b/prj.conf @@ -7,6 +7,7 @@ CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_BT=y CONFIG_BT_CTLR=y CONFIG_BT_LL_SOFTDEVICE=y +CONFIG_BT_CTLR_TX_PWR_PLUS_8=y # or _PLUS_8, _MINUS_4, … CONFIG_BT_HCI_RAW=y CONFIG_BT_HCI_RAW_H4=y