I am building (v2.5.0) for both the nrf52840dk and the nrf21540dk.
- west build -b nrf21540dk_nrf52840 -d build21540
- west build -b nrf52840dk_nrf52840 -d build52840
so I only want the following to compile with the nrf21540 build.
Rather than commenting them out, what is the proper way to conditionally build based on the selected processor/dk board?