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

Building SDK 12.3.0 examples for nRF51822

When I try to build example in SDK 12.3.0, I always get the hex file for nRF51422 target, how should I change the target to build the example for nRF51822?

I set the variables in Makefile.posix and then running make command in <SDK path>/examples/ble_peripheral/<example>/pca10028/s130/armgcc/ directory.

But the result in the _build directory is nrf51422_xxac.out. I want result for the nrf51822QFAA chip.

Would you please help me to change the target chip in examples?

Parents
  • Hi,

    nRF51422 and nRF51822 are identical chips, except from the support for ANT protocol on nRF51422. The BLE/peripheral applications built for nRF51422 target should also work on nRF51822. The output is only a file name, and does not reflect the actual compilation settings. The name can be changed in the Makefile. Note that nRF51822 QFAA have only 16 kB RAM (compared to 32 kB on QFAC version). This should be reflected in your linker script.

    Best regards,
    Jørgen

Reply
  • Hi,

    nRF51422 and nRF51822 are identical chips, except from the support for ANT protocol on nRF51422. The BLE/peripheral applications built for nRF51422 target should also work on nRF51822. The output is only a file name, and does not reflect the actual compilation settings. The name can be changed in the Makefile. Note that nRF51822 QFAA have only 16 kB RAM (compared to 32 kB on QFAC version). This should be reflected in your linker script.

    Best regards,
    Jørgen

Children
Related