diff --git a/bl54l15_radio1.overlay b/bl54l15_radio1.overlay new file mode 100644 index 0000000..512fe77 --- /dev/null +++ b/bl54l15_radio1.overlay @@ -0,0 +1,44 @@ +&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 = &uart0; + }; +}; +&power { + status = "okay"; +}; \ No newline at end of file diff --git a/bl654pa_gpio_uart.overlay b/bl654pa_gpio_uart.overlay index b1ea5fd..47337a6 100644 --- a/bl654pa_gpio_uart.overlay +++ b/bl654pa_gpio_uart.overlay @@ -1,7 +1,7 @@ &uart0 { compatible = "nordic,nrf-uarte"; status = "okay"; - current-speed = <1000000>; //<115200>; + current-speed = <115200>; //<115200>; hw-flow-control; }; @@ -43,3 +43,11 @@ &power { status = "okay"; }; + +&led0_green { + gpios = <&gpio0 0 0>; +}; + +&led1_red { + gpios = <&gpio0 1 0>; +}; diff --git a/nrf52840_gpio_uart.overlay b/nrf52840_gpio_uart.overlay new file mode 100644 index 0000000..16c7bc8 --- /dev/null +++ b/nrf52840_gpio_uart.overlay @@ -0,0 +1,18 @@ +&uart0 { + compatible = "nordic,nrf-uarte"; + status = "okay"; + current-speed = <1000000>; + hw-flow-control; +}; + + +/ { + chosen { + zephyr,console = &uart0; + zephyr,shell-uart = &uart0; + zephyr,log-uart = &uart0; + // zephyr,uart-mcumgr = &uart0; + // zephyr,bt-mon-uart = &uart0; + //zephyr,bt-c2h-uart = &uart0; // make uart0 the hci interfac + }; +}; \ No newline at end of file