I have an application that I want to build and run on 5 or 6 target devices including a nRF52840DK, nRF52840 Dongle, and custom boards. There are areas of the code that only work with a specific target device but not other devices. Essentially, I want to conditionally compile some code only when the target device of the build is a particular type. Are there recommended Kconfig or Devicetree symbols I should use for the preprocessor conditional compilation control?
Ken