config.h 848 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #define CONFIG_HEARTBEAT_LED 1
  2. /*
  3. * Select Platform
  4. */
  5. #ifdef AE210P
  6. #define CONFIG_PLAT_AE210P 1
  7. #define IRQ_STACK_SIZE 5120 /* IRQ stack size */
  8. #else
  9. #error "No valid platform is defined!"
  10. #endif
  11. /*
  12. * Platform Option
  13. */
  14. #define VECTOR_BASE 0x00000000
  15. #define VECTOR_NUMINTRS 32
  16. #define NO_EXTERNAL_INT_CTL 1
  17. #define XIP_MODE 1
  18. #ifdef CONFIG_OSC_SUPPORT
  19. #define OSC_EILM_SIZE 0x10000 // 64KB
  20. #undef XIP_MODE
  21. #endif
  22. #undef CONFIG_HW_PRIO_SUPPORT
  23. /*
  24. * Cache Option
  25. */
  26. #if (!defined(__NDS32_ISA_V3M__) && defined(CONFIG_CACHE_SUPPORT))
  27. #define CONFIG_CPU_ICACHE_ENABLE 1
  28. #define CONFIG_CPU_DCACHE_ENABLE 1
  29. //#define CONFIG_CPU_DCACHE_WRITETHROUGH 1
  30. #endif
  31. #undef CONFIG_CHECK_RANGE_ALIGNMENT
  32. #undef CONFIG_CACHE_L2
  33. #undef CONFIG_FULL_ASSOC
  34. /*
  35. * Debugging Options
  36. */
  37. #undef CONFIG_DEBUG
  38. #undef CONFIG_WERROR
  39. #include "ae210p.h"