-Add a few global #defines: ZYNQ_CODE_IN_SDRAM and ZYNQ_SDRAM_INIT which are used in a few places to initialize or not initialze dram and affect the way the VM is brought up. -Add zybo-dram-test project
24 lines
352 B
Makefile
24 lines
352 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
PLATFORM := zynq
|
|
|
|
# set the system base to sram
|
|
ZYNQ_USE_SRAM ?= 1
|
|
|
|
# we have sdram
|
|
ZYNQ_SDRAM_SIZE := 0x10000000
|
|
|
|
GLOBAL_INCLUDES += \
|
|
$(LOCAL_DIR)/include
|
|
|
|
GLOBAL_DEFINES += \
|
|
EXTERNAL_CLOCK_FREQ=50000000
|
|
|
|
MODULE_SRCS += \
|
|
$(LOCAL_DIR)/target.c \
|
|
$(LOCAL_DIR)/init.c
|
|
|
|
include make/module.mk
|