Makefile 408 B

123456789101112131415161718192021222324
  1. TARGET = demo_pma
  2. NUCLEI_SDK_ROOT = ../../..
  3. SRCDIRS = . src
  4. INCDIRS = . inc
  5. COMMON_FLAGS := -O2
  6. # REQUIRE: PMA, CCM, DCACHE
  7. XLCFG_PMA :=
  8. XLCFG_CCM :=
  9. XLCFG_DCACHE :=
  10. # DOWNLOAD mode must be a mode
  11. # such as external ddr/sram, core local ilm is not ok which will bypass cache
  12. DOWNLOAD ?= sram
  13. ifeq ($(DOWNLOAD),ddr)
  14. COMMON_FLAGS += -DBIG_ROW_SIZE
  15. endif
  16. include $(NUCLEI_SDK_ROOT)/Build/Makefile.base