summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 74be1f9711..26ed7395ff 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -601,6 +601,15 @@ Lyre prototype 1 */
601//#error "unknown hwardware platform!" 601//#error "unknown hwardware platform!"
602#endif 602#endif
603 603
604#ifndef CONFIG_CPU
605#define CONFIG_CPU 0
606#endif
607
608// NOTE: should be placed before sim.h (where CONFIG_CPU is undefined)
609#if !(CONFIG_CPU >= PP5002 && CONFIG_CPU <= PP5022) && CODEC_SIZE >= 0x80000
610#define CODEC_AAC_SBR_DEC
611#endif
612
604#ifdef __PCTOOL__ 613#ifdef __PCTOOL__
605#undef CONFIG_CPU 614#undef CONFIG_CPU
606#define CONFIG_CPU 0 615#define CONFIG_CPU 0
@@ -681,10 +690,6 @@ Lyre prototype 1 */
681/* now set any CONFIG_ defines correctly if they are not used, 690/* now set any CONFIG_ defines correctly if they are not used,
682 No need to do this on CONFIG_'s which are compulsory (e.g CONFIG_CODEC ) */ 691 No need to do this on CONFIG_'s which are compulsory (e.g CONFIG_CODEC ) */
683 692
684#if !(CONFIG_CPU >= PP5002 && CONFIG_CPU <= PP5022) && CODEC_SIZE >= 0x80000
685#define CODEC_AAC_SBR_DEC
686#endif
687
688#if !defined(CONFIG_BACKLIGHT_FADING) 693#if !defined(CONFIG_BACKLIGHT_FADING)
689#define CONFIG_BACKLIGHT_FADING BACKLIGHT_NO_FADING 694#define CONFIG_BACKLIGHT_FADING BACKLIGHT_NO_FADING
690#endif 695#endif