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

nRF51822. Using QFAA (256kB) Code for QFAB (128kB)

Hi there,

I am using Eclipse and GCC (codesourcery) as development tools.

In the gcc makefile, once provided by Nordic with the "button_radio_example" are two lines, specifying the target chip:

TARGET_CHIP := NRF51822_QFAA_CA and DEVICE_VARIANT := xxaa

I recently changed my target chip to the 128kB Flash version, so those lines changed:

TARGET_CHIP := NRF51822_QFAB_B0 and DEVICE_VARIANT := xxab

It was weired, because the output file was completely the same (compared hash values of the files) like the one I compiled for the NRF51822_QFAA_G0.

Which differences are there in compiling anyway, and why are there two lines that need to be changed when changing the target chip? There did'nt seem to be a compiler error, when I use QFAA in TARGET_CHIP, and xxab as DEVICE_VARIANT.

Thanks in advance, Carl

Related