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

nrf52DK with Segger - uart_pca10040 exemple dont work

Hi, I am a novice and need help to get stated with Segger and the nrf52DK.  I have installed the latest SDK 15.2.0.

I have manage to run couple of exemple with no or only minor problem.   However, exemple that require interrupts like the UART exemple,  give me some troubles.

I have the following warning and error Aerial tramway

Warnings:

implicit declaration of function '__disable_irq'; did you mean 'app_util_disable_irq'? [-Wimplicit-function-declaration]

implicit declaration of function '__enable_irq'; did you mean 'app_util_enable_irq'? [-Wimplicit-function-declaration]

implicit declaration of function '__get_IPSR' [-Wimplicit-function-declaration]

implicit declaration of function 'NVIC_GetPriority' [-Wimplicit-function-declaration]

2 errors:

• 'IRQn_Type' undeclared (first use in this function)

•  expected ')' before 'irq_type'

I understand that some declaration are missing but I dont know how to fix this.

Thanks for helping.

Related