vscode nordic extension build extra shield flag.

Hi all,

I'm wondering how do I enable or add a flag in my vscode build using nordic vscode extension.

The default build would issue a some command like:

west build --build-dir path/to/build path/to/source

I would like to add extra flags to include the DSHIELD such as:
 
west build -b None your_app -- -DSHIELD=shield_v2

# as in https://developer.nordicsemi.com/nRF_Connect_SDK/doc/rc/zephyr/guides/porting/shields.html

Thanks.

Related