From 3c8ded4743c09a7b0c7737392d4e4c15e6959852 Mon Sep 17 00:00:00 2001 From: Gregwar Date: Wed, 23 Apr 2014 16:45:23 +0200 Subject: Adding BOOTLOADER option to support Robotis bootloader different ROM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Grégoire Passault --- wirish/boards.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wirish') 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__; -- cgit v1.2.3