15 lines
417 B
Markdown
15 lines
417 B
Markdown
# build for USB CDC
|
|
```sh
|
|
west build -b nrf5340dk_nrf5340_cpuapp -- -DDTC_OVERLAY_FILE=usb.overlay -DOVERLAY_CONFIG=overlay-usb.conf
|
|
```
|
|
|
|
# build for uart1 a.k. arduino_serial
|
|
```sh
|
|
west build -b nrf5340_audio_dk_nrf5340_cpuapp -- -DDTC_OVERLAY_FILE=uart1.overlay
|
|
```
|
|
|
|
# build for debug and uart1
|
|
```sh
|
|
west build -b nrf5340_audio_dk_nrf5340_cpuapp -- -DDTC_OVERLAY_FILE=uart1.overlay -DOVERLAY_CONFIG=debug.conf
|
|
```
|