uart overlay CMake syntax error

I added the uart overlay as shown in attached file. When, Run CMake is executed, the error is shown as in attached image.

7608.nrf5340dk_nrf5340_cpuapp.overlay   

Parents Reply
  • 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

Children
Related