From 08bb9f16e7009f93d002fb546c401eac36b34f6d Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Sat, 22 Aug 2015 17:39:25 +1000 Subject: [PATCH] Add a comment explaining commented out REG_BASE lines Change was part of #27 --- core/include/esp/registers.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/include/esp/registers.h b/core/include/esp/registers.h index 0fcd30c..72ef3f4 100644 --- a/core/include/esp/registers.h +++ b/core/include/esp/registers.h @@ -24,7 +24,14 @@ /* Register base addresses - You shouldn't need to use these directly. + The base addresses below are ones which haven't been migrated to + the new register header style yet. For any commented out lines, see + the matching xxx_regs.h header file referenced above. + + If you want to access registers that aren't mapped to the new + register header system yet, you can either use the deprecated + Espressif SDK headers (in include/espressif), or you can create a + new register header file and contribute it to the project (hooray!) */ #define MMIO_BASE 0x60000000 //#define DPORT_BASE 0x3ff00000