boards: added C++ support for NRF51822 based boards