I added the uart overlay as shown in attached file. When, Run CMake is executed, the error is shown as in attached image.
I added the uart overlay as shown in attached file. When, Run CMake is executed, the error is shown as in attached image.
Hi,
Please refer to the format of uart0 at https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet.dts#L120 and also have a look this case.
Regards,
Amanda
Dear Amanda, thankful to you for reply. In my project, I need not use of RTS and CTS. May I use the overlay file as shown in bms.overlay ?
Dear Amanda, thankful to you for reply. In my project, I need not use of RTS and CTS. May I use the overlay file as shown in bms.overlay ?
Dear Amanda, have you seen the bms.overlay file attached above ? Is it right ? If yes, why the aliase not appera in zypher.dts or nrf5340DK_nRF5340.overlay file(s) ? If, it is wrong methods to write overlay, what mistake I making ?
Hi,
May I know how you run with the bms.overlay? There are several ways to use it. Which one are you using?
Some theories, (1) You might need to open/import the project again for the overlay to take effect. (2) Might need to check the "Clean Build Directory" when you open the project. or (3) Maybe you used the wrong board name, and therefore the overlay was not applied.
What is the sample or application? Does it run hci_rpmsg on netcore? If so, you can create a child_image and put the nrf5340dk_nrf5340_cpunet.overlay under child_image\hci_rpmsg\boards.
I have modified your overlay, renamed it as nrf5340dk_nrf5340_cpunet.overlay, and tested it with peripheral_uart.
/ {
aliases {
bmsserial = &uart0;
};
};
&uart0{
current-speed = < 9600 >;
/delete-property/ rts-pin;
/delete-property/ cts-pin;
};
You can take a look at how the nrf5340dk_nrf5340_cpunet.overlay is used in this peripheral_uart_280211.zip.
-Amanda
Dear Amanda, I am doing all work in SES and yet have free version of it. SO, please guide accordingly. Most of tutorials are from commnd line pont of view.
Hi,
It's related to how you set the overlay instead of IDE, and I have explained and provided the example in the previous reply. I would suggest you study Devicetree HOWTOs.
-Amanda