I realize that this question will be stupid simple. I can program AVR microcontrollers with no trouble. The setup in the Segger embedded studio seems far more cumbersome. I am trying to write a simple blinky program with an existing production board. The program compiles but the link fails. The program is below and the linking error also. I realize this is simple. please be kind.
#include <stdio.h>
#include <stdlib.h>
#include <nrf52810.h>
#include <nrf_gpio.h>
#include <nrf_delay.h>
/*********************************************************************
*
* main()
*
* Function description
* Application entry point.
*/
#define LED1_PIN 38
int main (void)
{
nrf_gpio_cfg_output(LED1_PIN);
nrf_gpio_pin_clear(LED1_PIN);
while(1)
{
nrf_gpio_pin_toggle(LED1_PIN);
nrf_delay_ms(1000);
}
}