nice!nano fixes for necessary USB CDC ACM UART console.
This commit is contained in:
parent
7c5fb7adb5
commit
6cafa9556c
1 changed files with 16 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,code-partition = &code_partition;
|
zephyr,code-partition = &code_partition;
|
||||||
|
// zephyr,console = &uart0;
|
||||||
//zephyr,bt-mon-uart = &uart0;
|
//zephyr,bt-mon-uart = &uart0;
|
||||||
//zephyr,bt-c2h-uart = &uart0;
|
//zephyr,bt-c2h-uart = &uart0;
|
||||||
zephyr,sram = &sram0;
|
zephyr,sram = &sram0;
|
||||||
|
@ -61,6 +62,21 @@
|
||||||
miso-pin = <43>;
|
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 {
|
&flash0 {
|
||||||
/*
|
/*
|
||||||
* For more information, see:
|
* For more information, see:
|
||||||
|
|
Loading…
Reference in a new issue