Select Git revision
openLogger.h
makefile 16.55 KiB
#-----------------------------------------------------------------------------
# NanoSoC Simulation Makefile
# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
#
# Contributors
#
# David Flynn (d.w.flynn@soton.ac.uk)
#
# Copyright (C) 2021-3, SoC Labs (www.soclabs.org)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# The confidential and proprietary information contained in this file may
# only be used by a person authorised under and to the extent permitted
# by a subsisting licensing agreement from Arm Limited or its affiliates.
#
# (C) COPYRIGHT 2010-2013 Arm Limited or its affiliates.
# ALL RIGHTS RESERVED
#
# This entire notice must be reproduced on all copies of this file
# and copies of this file may only be made by a person if such person is
# permitted to do so under the terms of a subsisting license agreement
# from Arm Limited or its affiliates.
#
# SVN Information
#
# Checked In : $Date: 2017-10-10 15:55:38 +0100 (Tue, 10 Oct 2017) $
#
# Revision : $Revision: 371321 $
#
# Release Information : Cortex-M System Design Kit-r1p1-00rel0
#-----------------------------------------------------------------------------
#
# Cortex-M0/Cortex-M0+ System Design Kit simulation make file
#
#-----------------------------------------------------------------------------
#
# Configurations
# Directory of Testcodes
NANOSOC_SYSTEM_DIR ?= $(NANOSOC_TECH_DIR)/system
NANOSOC_SW_DIR ?= $(NANOSOC_TECH_DIR)/software
NANOSOC_HTML_DIR := $(NANOSOC_SYSTEM_DIR)/html
VERILOG_DIR := $(NANOSOC_SYSTEM_DIR)/verilog
TESTCODES_DIR := $(NANOSOC_SYSTEM_DIR)/testcodes
# Project System Directory
PROJ_SYS_DIR := $(PROJECT_DIR)/system
PROJ_SW_DIR ?= $(PROJ_SYS_DIR)/cpu_software
# Name of test directory (e.g. hello, dhry)
# TESTNAME must be specified on the make command line
TESTNAME =
# List of all tests (this is used when running 'make all/clean')
TEST_LIST_FILE ?= $(TESTCODES_DIR)/software_list.txt
TEST_LIST_FILE += $(PROJ_SW_DIR)/software_list.txt
TEST_LIST = $(shell cat $(TEST_LIST_FILE) | while read line || [ -n "$$line" ]; do echo $$line; done)
# Default to DS-5 tool-chain
TOOL_CHAIN = ds5
# Select System Components (Set here but not currently used)
CPU_PRODUCT ?= CORTEX_M0
DMA_PRODUCT ?= DMA_230
# ADP command File
# Defaultly set to demo adp command file