<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/libmaple/support/ld/flash.ld, branch master</title>
<subtitle>Working copy of Leaflabs libmaple</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/libmaple/atom?h=master</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/libmaple/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/'/>
<updated>2012-06-07T07:44:31+00:00</updated>
<entry>
<title>Rework linker scripts.</title>
<updated>2012-06-07T07:44:31+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-06T22:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=efe5f02e41b29b1b8003e0952164c2cfca58a4f3'/>
<id>urn:sha1:efe5f02e41b29b1b8003e0952164c2cfca58a4f3</id>
<content type='text'>
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 &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>board-specifc linker scripts</title>
<updated>2010-09-02T21:39:52+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2010-09-02T21:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=800b8ca1c1463dd85101e242a94c7ca0ec8c459d'/>
<id>urn:sha1:800b8ca1c1463dd85101e242a94c7ca0ec8c459d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Portability fixes</title>
<updated>2010-09-01T02:05:39+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2010-09-01T02:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=0ccec95446d4c7f3ea47a46d267c791fb22bb8d4'/>
<id>urn:sha1:0ccec95446d4c7f3ea47a46d267c791fb22bb8d4</id>
<content type='text'>
Still not working but fixed a lot of merge errors
</content>
</entry>
<entry>
<title>Merge maple-native changes into portable</title>
<updated>2010-08-31T21:39:46+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2010-08-31T21:39:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=02d7b08f0497096f21e41922e0efb54c4ef33bab'/>
<id>urn:sha1:02d7b08f0497096f21e41922e0efb54c4ef33bab</id>
<content type='text'>
This compiles for both maple and maple_native but is untested.
</content>
</entry>
<entry>
<title>added libm.a to linker scripts to fix sqrt() bug</title>
<updated>2010-08-19T20:53:56+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2010-08-19T20:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=5f11e12d66ce65e8be2b695ece6f35c2889d2aa2'/>
<id>urn:sha1:5f11e12d66ce65e8be2b695ece6f35c2889d2aa2</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>partial progress on FSMC for SRAM</title>
<updated>2010-08-06T01:47:22+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2010-08-06T01:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=0f55cc0d89dc018aa1a2e7ad1c926889f98ec26d'/>
<id>urn:sha1:0f55cc0d89dc018aa1a2e7ad1c926889f98ec26d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix botched merge from linker-refactor</title>
<updated>2010-05-29T02:52:53+00:00</updated>
<author>
<name>Perry Hung</name>
<email>iperry@alum.mit.edu</email>
</author>
<published>2010-05-29T02:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/libmaple/commit/?id=1a908d88b8c288fca89b17ceea182044d82e766e'/>
<id>urn:sha1:1a908d88b8c288fca89b17ceea182044d82e766e</id>
<content type='text'>
</content>
</entry>
</feed>
