upload.jpg undifined symbol rfgpio_cfg_output(refered from main)
Try changing it to nrf_gpio_cfg_output()