diff options
author | Gregwar <g.passault@gmail.com> | 2014-04-23 16:45:23 +0200 |
---|---|---|
committer | Gregwar <g.passault@gmail.com> | 2014-04-23 22:22:41 +0200 |
commit | 3c8ded4743c09a7b0c7737392d4e4c15e6959852 (patch) | |
tree | ad50fd91846490111cff6c04a6753d1bf0036213 /wirish | |
parent | 139e4b1a1ae547540d32aa66d47c4e69b1b57bbf (diff) | |
download | librambutan-3c8ded4743c09a7b0c7737392d4e4c15e6959852.tar.gz librambutan-3c8ded4743c09a7b0c7737392d4e4c15e6959852.zip |
Adding BOOTLOADER option to support Robotis bootloader different ROM
Signed-off-by: Grégoire Passault <g.passault@gmail.com>
Diffstat (limited to 'wirish')
-rw-r--r-- | wirish/boards.cpp | 4 |
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__; |