From 0ae171e47aedb4509c2ea084e7585b727a18381e Mon Sep 17 00:00:00 2001
From: Sergi Hernandez Juan <shernand@iri.upc.edu>
Date: Sun, 3 Oct 2021 20:23:28 +0200
Subject: [PATCH] Solved a problem in the memory map: the IMU and ADC modules
 had ovrlapped memory regions.

---
 include/darwin_conf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/darwin_conf.h b/include/darwin_conf.h
index 9a1c311..5e6adf6 100644
--- a/include/darwin_conf.h
+++ b/include/darwin_conf.h
@@ -57,7 +57,7 @@
 #define RAM_IMU_MM_BASE_ADDRESS                ((unsigned short int)0x0188)
 
 /* ADC */
-#define RAM_ADC_DMA_BASE_ADDRESS               ((unsigned short int)0x0193)
+#define RAM_ADC_DMA_BASE_ADDRESS               ((unsigned short int)0x0197)
 #define EEPROM_ADC_DMA_BASE_ADDRESS            ((unsigned short int)0x000F)
 
 /* EEPROM default values */
-- 
GitLab