aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld/ram.ld
Commit message (Collapse)AuthorAgeFilesLines
* Rework linker scripts.Marti Bolivar2012-06-071-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having separate linker scripts for all the boards is a bad idea. Most boards really only need to specify MEMORY and the appropriate REGION_ALIASES() so that support/ld/common.inc can do its work. Not having infrastructure for this leads to duplication -- viz. the Maple Mini linker scripts are identical to the Maple's, and the olimex_stm32_h103 linker directory is just a symlink to Maple's. Clearly, the current structure is wrong. To fix it, instead of having per-board subdirectories of support/ld/, add per-MEMORY subdirectories of (new) support/ld/stm32/mem/. The per-board .mk files under support/mk/board-includes/ now reference these directly, and target-config.mk and the Makefile handle this appropriately. We move some other stuff around in target-config.mk to make this all more convenient, and even allow more overriding of the libmaple defaults on a per-board basis. Custom board hacks will be easier now. Unfortunately, lots of duplication under support/ld/stm32/mem/ is necessary, as the LENGTH attribute in a MEMORY region specification doesn't support arithmetic expressions, and ld doesn't seem to have any way to specify MEMORY at the command line (why?!). If we find a better way than this, we should do it. If a board (e.g. Maple Native) _does_ really need special memory-related configuration, you can always put a per-board subdirectory of support/ld/stm32/mem. We do this here to configure the heap. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* board-specifc linker scriptsbnewbold2010-09-021-224/+0
|
* Portability fixesbnewbold2010-08-311-1/+5
| | | | Still not working but fixed a lot of merge errors
* Merge maple-native changes into portablebnewbold2010-08-311-1/+1
|\ | | | | | | This compiles for both maple and maple_native but is untested.
| * added libm.a to linker scripts to fix sqrt() bugbnewbold2010-08-191-1/+1
| | | | | | | | | | | | Fixes a bug noted by several users when using math functions like cos(), sqrt(), etc in the Maple IDE. This bug did not seem to affect Makefile compiles.
* | partial progress on FSMC for SRAMbnewbold2010-08-051-1/+1
| |
* | Some refactoringbnewbold2010-08-051-2/+2
|/
* fix botched merge from linker-refactorPerry Hung2010-05-281-0/+220