Makefile 340 B

12345678910111213141516
  1. TARGET = demo_cache
  2. NUCLEI_SDK_ROOT = ../../..
  3. SRCDIRS = . src
  4. INCDIRS = . inc
  5. # different optimization level such as -O2 effects cache miss
  6. COMMON_FLAGS := -O0
  7. # DOWNLOAD mode must be a mode
  8. # such as external ddr/sram, core local ilm is not ok which will bypass cache
  9. DOWNLOAD ?= sram
  10. include $(NUCLEI_SDK_ROOT)/Build/Makefile.base