Em::Blocks supports now the nRF51 devices from Nordic. You can select in the new project wizard which device family (51422 or 51822) and if soft devices are needed or not.
The templates for the softdevices are empty after first installation. The packages must be downloaded from the Nordic download section (after login) and unpacked inside the wizard template sub directories. After the execution of the convSD.bat file there will be c-array files and API includes generated which can be used by the wizard.
The softdevices are placed at the right location by the linker so you don't need other tools to pre-flash those devices.
After the wizard the debug configuration is automatically launched
EmBlocks is free downloadable at :