diff --git a/firmware/export/config.h b/firmware/export/config.h index 89c70ce965..696c923bb6 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -636,8 +636,8 @@ Lyre prototype 1*/ (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \ defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ - (CONFIG_CPU == AS3525 && !defined(AMS_LOWMEM)) || /* AS3525 +2MB: core, plugins, codecs */ \ - (CONFIG_CPU == AS3525 && defined(AMS_LOWMEM) && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \ + (CONFIG_CPU == AS3525 && MEMORYSIZE > 2) || /* AS3525 +2MB: core, plugins, codecs */ \ + (CONFIG_CPU == AS3525 && MEMORYSIZE <= 2 && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \ (CONFIG_CPU == PNX0101) || \ (CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */ #define ICODE_ATTR __attribute__ ((section(".icode")))