System:
-nRF51822, SDK11, Eclipse with GCC
-Project based on dfu_dualbank_s132
Intention:
Flash the combined SoftDevice, Bootloader and Application, where the device branches to the application
Recommented Solution from Nordic:
#elif defined ( __GNUC__ )
uint8_t m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)) = {BANK_VALID_APP};
**Compiler Error Message**
error: 'at' attribute directive ignored [-Werror=attributes]
uint8_t m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)) = {BANK_VALID_APP};
Question
It seems to be stupid, but I have no idea, what could be missing ?
Uwe