From 297f69394fe8792a2ab7259741b4789fa154f8ad Mon Sep 17 00:00:00 2001
From: Daniel Newbrook <dwn1c21@soton.ac.uk>
Date: Thu, 28 Sep 2023 11:30:39 +0100
Subject: [PATCH] add dma 350 config to set_env

---
 .gitignore | 1 +
 set_env.sh | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/.gitignore b/.gitignore
index ab28e71..de5aa91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
 simulate/sim/*
 lint/*
 .socinit
+.dma350_configured
 accelerator/html/*
 wrapper/html/*
 system/src/bootrom/*
diff --git a/set_env.sh b/set_env.sh
index 4f2410a..65e9115 100755
--- a/set_env.sh
+++ b/set_env.sh
@@ -12,3 +12,7 @@
 
 # Source set_env script from soctools_flow
 source soctools_flow/bin/project_setup.sh $@
+if [ ! -f .dma350_configured ]; then
+    make -C nanosoc_tech/nanosoc/sldma350_tech/ config_dma_ahb
+    touch .dma350_configured
+fi
\ No newline at end of file
-- 
GitLab