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

Keil Cannot Open Header files for hal_adc.c

Hi,

I am using Keil 5 (downloaded with this link:https://www.keil.com/demo/eval/c51.htm) and have downloaded the nrfProbe to this file. This is being used to program the nRF24LE1. I have gone through the first tutorial of this (the short main() example that only includes the header <Nordic\reg24le1.h> and everything sucessfully compiles. Now, when I add the hal_adc.c file to the HAL folder (see second tutorial) I get tons of errors that Keil cannot find the correct headers:

I have added all of the hal folder to the project. Does anyone know how to get around this? I tried manually adding all of the .h files to the HAL folder but that did not work.

Thank you

Related