About DeviceTree and Overlay files

I want to edit the sample source (nRF5340 Audio) and program it on my own board.

I'm using CIS.

I'm using NCS version 2.5.0.

The nRF5340 Audio DK board is exactly the same hardware,

so one overlay file works fine.

The circuit of the transmitter and receiver of my own board is different.

Therefore, I think two overlay files are necessary.

VSCODE is not recommended for nRF5340 Audio.

Therefore, I run the program made in Python from the command prompt.

Specifically, I run buildprog.py in the Tools/buildprog folder with the following command.

python buildprog.py -c both -b release -d both -m internal -M -p --recover_on_fail

How can I achieve this?

For example, is it possible to create two types of overlay files in one source and use different overlay files when running the script?

I would like to know the specific method.

When I enter the corresponding
J-Link serial number only into the Headset in the nrf5340_audio_dk_devices.json file and execute the build and write, then I enter the corresponding J-Link serial number only into the Gateway and execute the build and write, and I am unable to connect to BLE.

Do you know what the cause is?

Related