Makefile 715 B

123456789101112131415161718192021222324252627
  1. TARGET = demo_ecc
  2. NUCLEI_SDK_ROOT = ../../..
  3. # REQUIRE: ECC
  4. # XLCFG_ECC defines the ECC operational or injection mode:
  5. # [Leave Empty] - Default: No macro defined. Assumes ECC is present using "Direct Write" mode.
  6. # See 'cpufeature.h' in evalsoc for more details.
  7. # 0 - Disabled: Not support ECC.
  8. # 1 - Direct Write Mode: Support ECC error injection with Direct Write mode.
  9. # 2 - XOR Mode: Support ECC error injection with XOR mode.
  10. XLCFG_ECC :=
  11. # OPTIONAL: CCM, PMA, ICACHE, DCACHE, SMPCC
  12. XLCFG_CCM := 1
  13. XLCFG_PMA :=
  14. XLCFG_ICACHE :=
  15. XLCFG_DCACHE :=
  16. XLCFG_SMPCC :=
  17. SRCDIRS = .
  18. INCDIRS = .
  19. COMMON_FLAGS := -O2
  20. include $(NUCLEI_SDK_ROOT)/Build/Makefile.base