add radio0 overlay and a static +8db transmit power

This commit is contained in:
2025-07-22 15:37:47 +02:00
parent 71a3d96478
commit 335e0f354a
2 changed files with 44 additions and 0 deletions

43
bl54l15_radio0.overlay Normal file
View File

@@ -0,0 +1,43 @@
&uart20 {
compatible = "nordic,nrf-uarte";
status = "okay";
current-speed = <1000000>;
hw-flow-control;
};
&pinctrl {
uart20_default: uart20_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 7)>,
<NRF_PSEL(UART_RTS, 1, 4)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 1, 6)>,
<NRF_PSEL(UART_CTS, 1, 5)>;
bias-pull-up;
};
};
uart20_sleep: uart20_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 7)>,
<NRF_PSEL(UART_RX, 1, 6)>,
<NRF_PSEL(UART_RTS, 1, 4)>,
<NRF_PSEL(UART_CTS, 1, 5)>;
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";
};

View File

@@ -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