aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/boards.cpp')
-rw-r--r--wirish/boards.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/wirish/boards.cpp b/wirish/boards.cpp
index a693fa6..77a05de 100644
--- a/wirish/boards.cpp
+++ b/wirish/boards.cpp
@@ -144,7 +144,11 @@ static void setup_clocks(void) {
* present. If no bootloader is present, the user NVIC usually starts
* at the Flash base address, 0x08000000.
*/
+#if defined(BOOTLOADER_maple)
#define USER_ADDR_ROM 0x08005000
+#elif defined(BOOTLOADER_robotis)
+#define USER_ADDR_ROM 0x08003000
+#endif
#define USER_ADDR_RAM 0x20000C00
extern char __text_start__;