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

Keil uVision doesn't seem to be building files properly

Hi,

I have my BLE services arranged in different .c files. If I change anything in these files and compile (using Keil uVision 5) and load the program, it seems like the changes I made to the code did not happen. E.g. I have an ADC Service, ble_adcs.c, if I change the UUID of one of the characteristics and view the characteristic on the Master Control Panel Android app, the UUID hasn't changed. I am certain that Keil is in fact loading the newly built program onto the nRF51822. If I change something in main.c it seems to take effect. The compiler detects erors in ble_adcs.c and other Service files, so I'm really unsure why the changes I make to these files aren't taking effect.

Update It seems that the changes take after a build every once in a while. i.e. I change some part of the code, press rebuild in Keil, download the code to the chip and there is no change. But sometimes there is. This is very strange behaviour

Kind regards

Jack

Related