settings: restore zero_init attribute for config_ram
@@ -66,7 +66,12 @@ typedef struct __attribute__((__packed__)) cfg_ram {
COMPILER_ASSERT((offsetof(cfg_ram_t, hexdump) % sizeof(uint32_t)) == 0);
// Configuration RAM
+#if defined(__ARMCC)
+static cfg_ram_t config_ram __attribute__((section("cfgram"), zero_init));
+#else
static cfg_ram_t config_ram __attribute__((section("cfgram")));
+#endif
+
// Ram copy of RAM config
static cfg_ram_t config_ram_copy;
