add overlay for new pcb revision
This commit is contained in:
@@ -32,6 +32,19 @@
|
|||||||
"DTC_OVERLAY_FILE": "bl54l15_radio1.overlay",
|
"DTC_OVERLAY_FILE": "bl54l15_radio1.overlay",
|
||||||
"BOARD_ROOT": "${sourceDir}/"
|
"BOARD_ROOT": "${sourceDir}/"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "build_nrf54_radio0_radio1",
|
||||||
|
"displayName": "Build for nRF54l15 DK nRF54l15 Application",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"binaryDir": "${sourceDir}/build_nrf54_radio0_radio1",
|
||||||
|
"cacheVariables": {
|
||||||
|
"NCS_TOOLCHAIN_VERSION": "NONE",
|
||||||
|
"BOARD": "nrf54l15dk/nrf54l15/cpuapp",
|
||||||
|
"EXTRA_CONF_FILE": "iso.conf;internal_osc.conf",
|
||||||
|
"CONF_FILE": "prj.conf",
|
||||||
|
"DTC_OVERLAY_FILE": "bl54l15_radio0_radio1.overlay"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
45
bl54l15_radio0_radio1.overlay
Normal file
45
bl54l15_radio0_radio1.overlay
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
&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, 6)>,
|
||||||
|
<NRF_PSEL(UART_RTS, 1, 7)>;
|
||||||
|
};
|
||||||
|
group2 {
|
||||||
|
psels = <NRF_PSEL(UART_RX, 1, 4)>,
|
||||||
|
<NRF_PSEL(UART_CTS, 1, 5)>;
|
||||||
|
bias-pull-up;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
uart20_sleep: uart20_sleep {
|
||||||
|
group1 {
|
||||||
|
psels = <NRF_PSEL(UART_TX, 1, 6)>,
|
||||||
|
<NRF_PSEL(UART_RX, 1, 4)>,
|
||||||
|
<NRF_PSEL(UART_RTS, 1, 7)>,
|
||||||
|
<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 = &uart0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
&power {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user