Examples like the "proximity application" are all associated with the nRF51422_xxAC. The part I'm using is the nRF51822_xxAA. How do I make this examples work with my part? I get the build errors shown in the attachment. Capture2.PNG
Examples like the "proximity application" are all associated with the nRF51422_xxAC. The part I'm using is the nRF51822_xxAA. How do I make this examples work with my part? I get the build errors shown in the attachment. Capture2.PNG
You seems to have missed to enable GPIOTE_ENABLED flag in components\drivers_nrf\config\nrf_drv_config.h file
#define GPIOTE_ENABLED 1
You seems to have missed to enable GPIOTE_ENABLED flag in components\drivers_nrf\config\nrf_drv_config.h file
#define GPIOTE_ENABLED 1
If I leave the device set as "nRF51422_xxAC" in Keil tool, I don't get build errors. I'm setting the device to nRF51822_xxAA using the toolbar button that looks like a magic wand.
are you using packs?
Yes. In talking with Keil customer service, all examples should be available for all devices. Mine is an nrf51822_xxAA. They suggested I re-install with the latest pack, 8.1.1.
if you want quick fix on this, enable the flag as i mentioned in my answer, it will compile and you can move forward. Tomorrow i will spend some time looking into how this pack effected this flag.
ok, looked into this. The example is made and tested for nRF51422_xxAC(hence the project is located in pca10028 folder). when changing the device it will take all new config files from all sw components and it will take them from default settings from pack. The example has modified default configuration in headers for (xxAC). So the point is that you have to fix the configuration manually if you change your device name. Just compare the settings in the folders here
C:\Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Examples\8.1.1\ble_peripheral\ble_app_proximity\pca10028\s110\arm5\RTE