This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf_delay.h in nrf52832 error

error occurs in nrf_delay.c of nrf52832 Because there are ASM in nrf_delay.h

nrf_delay.c:

#include <stdio.h> 
#include "compiler_abstraction.h"
#include "nrf.h"
#include "nrf_delay.h"(there is a wrong here)

/*lint --e{438} "Variable not used" */
void nrf_delay_ms(uint32_t volatile number_of_ms)
{
while(number_of_ms != 0)
{
number_of_ms--;
nrf_delay_us(999);
}
}

Meanwhile, cortex-M4 error in flash download

image description image description image description

Parents Reply Children
No Data
Related