Custom nRF52832 board pinout

Support of the board_build.variants_dir is builder-script dependent.

The builder scripts for NordicNRF52 + Arduino do not allow changing the variant directory. It is constantly pointed to the actual framework package’s variants directory.

This is in contrast to Atmel SAM + Arduino where build.variants_dir is used

And hence you observe that difference.

An issue about this has been opened in Support build.variants_dir · Issue #11 · platformio/builder-framework-arduino-nrf5 · GitHub.