Hello,
I am trying to remake an nrf52 project in Keil and ran into a problem regarding stdint.h. There is already an "include <stdint.h>" statement and Keil has not reported any errors regarding it missing that file; however, it does report errors, such as,
main.c(60): error: #20: identifier "i" is undefined
for (uint8_t i = 0; i < 40; ++i)
bsp.c(123): error: #268: declaration may not appear after executable statement in block
uint32_t buttons = ~NRF_GPIO->IN;
bsp.c(124): error: #268: declaration may not appear after executable statement in block
uint32_t cnt;
that make me think that it can't find it. Is this the case, and, if so, any suggestions as to how to approach it besides downloading a new stdint.h file and adding it to my local repository? I feel like there is a setting I haven't made in Keil that may be the cause of it.
Thanks,
Noel Teku