I downloaded central and peripheral ble UART and I want to add some function to my code and use some GPIO, I programmed nrf51822 by nrf51422 source code and it worked, but when i changed device it gives me some error about definition of some peripheral registers like IRQ and .axf file...
I want to ask: is the GPIO in nrf51422 and 51822 is same (registers)? if yes i write my code for nrf51422 and prog that in nrf51822