Browse Source

nice!nano fixes for necessary USB CDC ACM UART console.

xmkb
Pete Johanson 5 years ago
parent
commit
6cafa9556c
  1. 16
      app/boards/arm/nice_nano/nice_nano.dts

16
app/boards/arm/nice_nano/nice_nano.dts

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
chosen {
zephyr,code-partition = &code_partition;
// zephyr,console = &uart0;
//zephyr,bt-mon-uart = &uart0;
//zephyr,bt-c2h-uart = &uart0;
zephyr,sram = &sram0;
@ -61,6 +62,21 @@ @@ -61,6 +62,21 @@
miso-pin = <43>;
};
&uart0 {
compatible = "nordic,nrf-uarte";
status = "okay";
current-speed = <115200>;
tx-pin = <20>;
rx-pin = <24>;
rts-pin = <17>;
cts-pin = <22>;
};
&usbd {
status = "okay";
};
&flash0 {
/*
* For more information, see:

Loading…
Cancel
Save