Can't program XIAO nrf52840 Sense using NRF connect SDK in vscode

Hi there,

Yes! Place your pm_static.yml and overlay.conf inside a boards/your_board_name/ folder within your project. Zephyr will use them only when building that board.
Or use the -- -DPM_STATIC_YML_FILE=... method to explicitly include it per build. see nordic video. :+1:

If you’re using multiple boards in a single project, you can create a folder like:

your_project/
β”œβ”€β”€ boards/
β”‚   β”œβ”€β”€ your_board_name/
β”‚   β”‚   β”œβ”€β”€ pm_static.yml
β”‚   β”‚   β”œβ”€β”€ overlay.conf
β”‚   β”‚   └── board.cmake (optional)
β”œβ”€β”€ src/
β”‚   └── main.c
β”œβ”€β”€ CMakeLists.txt
└── prj.conf

this was how I learned to set it up from the mustache man at nordic :grin:

HTH
GL :slight_smile: PJ :v:

1 Like