diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2014-04-29 19:56:39 -0700 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2014-04-29 19:56:39 -0700 |
commit | 746d6fecf86572c9fe95dbbffdf541a8d3875dd0 (patch) | |
tree | 8dc7170e295756116dcdc9e973dee028b9cb2454 /support/make/board-includes | |
parent | 139e4b1a1ae547540d32aa66d47c4e69b1b57bbf (diff) | |
parent | 731e2ab24755b3706daf7d64eaa53f2ec0512277 (diff) | |
download | librambutan-746d6fecf86572c9fe95dbbffdf541a8d3875dd0.tar.gz librambutan-746d6fecf86572c9fe95dbbffdf541a8d3875dd0.zip |
Merge pull request #89 from Gregwar/bootloader-option
Adding BOOTLOADER option to support Robotis bootloader different ROM
Diffstat (limited to 'support/make/board-includes')
-rw-r--r-- | support/make/board-includes/cm900.mk | 5 | ||||
-rw-r--r-- | support/make/board-includes/opencm904.mk | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/support/make/board-includes/cm900.mk b/support/make/board-includes/cm900.mk index f9a09ac..9f70a1b 100644 --- a/support/make/board-includes/cm900.mk +++ b/support/make/board-includes/cm900.mk @@ -7,4 +7,9 @@ MCU_F1_LINE := performance # This crap is due to ld-script limitations. If you know of a better # way to go about this (like some magic ld switches to specify MEMORY # at the command line), please tell us! +ifeq ($(BOOTLOADER),maple) LD_MEM_DIR := sram_20k_flash_128k +endif +ifeq ($(BOOTLOADER),robotis) +LD_MEM_DIR := sram_20k_flash_128k_robotis +endif diff --git a/support/make/board-includes/opencm904.mk b/support/make/board-includes/opencm904.mk index f3a4aa7..64d3351 100644 --- a/support/make/board-includes/opencm904.mk +++ b/support/make/board-includes/opencm904.mk @@ -7,4 +7,9 @@ MCU_F1_LINE := performance # This crap is due to ld-script limitations. If you know of a better # way to go about this (like some magic ld switches to specify MEMORY # at the command line), please tell us! +ifeq ($(BOOTLOADER),maple) LD_MEM_DIR := sram_20k_flash_128k +endif +ifeq ($(BOOTLOADER),robotis) +LD_MEM_DIR := sram_20k_flash_128k_robotis +endif |