<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/bare-arm/Makefile, branch 0.8.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-10-24T12:46:53+00:00</updated>
<entry>
<title>Makefiles: Remove duplicate object files when linking.</title>
<updated>2015-10-24T12:46:53+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-23T23:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0dbd928ceefed09d65276211c70d0137b4734011'/>
<id>urn:sha1:0dbd928ceefed09d65276211c70d0137b4734011</id>
<content type='text'>
Scenario: module1 depends on some common file from lib/, so specifies it
in its SRC_MOD, and the same situation with module2, then common file
from lib/ eventually ends up listed twice in $(OBJ), which leads to link
errors.

Make is equipped to deal with such situation easily, quoting the manual:
"The value of $^ omits duplicate prerequisites, while $+ retains them and
preserves their order." So, just use $^ consistently in all link targets.
</content>
</entry>
<entry>
<title>all: Make netutils.h available to all ports by default.</title>
<updated>2015-10-19T15:32:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-19T15:22:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e0f5df579b6cf0410b9693f9a75d9b50a0de350e'/>
<id>urn:sha1:e0f5df579b6cf0410b9693f9a75d9b50a0de350e</id>
<content type='text'>
Generally, ports should inherit INC from py.mk, append to it, not
overwrite it. TODO: Likely should do the same for other vars too.
</content>
</entry>
<entry>
<title>bare-arm: Prefix includes with py/; remove need for -I../py.</title>
<updated>2015-01-01T21:14:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T21:14:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c2e22d66da3d0e18eace43e2705ee47e99431ae2'/>
<id>urn:sha1:c2e22d66da3d0e18eace43e2705ee47e99431ae2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefiles: Support py/*.h includes per #1022.</title>
<updated>2014-12-27T14:32:52+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-12-27T14:11:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3b74c91684e6dfc785bf33ba03e520470f59059e'/>
<id>urn:sha1:3b74c91684e6dfc785bf33ba03e520470f59059e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bare-arm: Enable link map file.</title>
<updated>2014-06-27T18:02:04+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-27T15:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a1ea402739f400bb477e00dbc21c97feaec4fea'/>
<id>urn:sha1:0a1ea402739f400bb477e00dbc21c97feaec4fea</id>
<content type='text'>
This port supposed to be demo of uPy minimality, so let people behold it in
details.
</content>
</entry>
<entry>
<title>bare-arm, stmhal, teensy: Duplicate -nostdlib to CFLAGS</title>
<updated>2014-06-18T11:34:07+00:00</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2014-06-14T15:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c3cabf4e336c104542bb248730094747b13977b1'/>
<id>urn:sha1:c3cabf4e336c104542bb248730094747b13977b1</id>
<content type='text'>
As we are building with -nostdlib gcc features like the stack protector
will fail linking, because the failure handlers are in gcc's internal
libs. Such features are implicitly disabled during compilation when
-nostdlib is used in CFLAGS too.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
</content>
</entry>
<entry>
<title>bare-arm, stmhal: Fix --nostdlib to -nostdlib</title>
<updated>2014-06-18T11:33:47+00:00</updated>
<author>
<name>Sven Wegener</name>
<email>sven.wegener@stealer.net</email>
</author>
<published>2014-06-14T15:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=afc67c6dc5c66f671efd6d1ebb2ed725ced8cb3e'/>
<id>urn:sha1:afc67c6dc5c66f671efd6d1ebb2ed725ced8cb3e</id>
<content type='text'>
-nostdlib is the correct option, gcc recognizes the double dash version
when in link-only mode, but not when compiling.

Signed-off-by: Sven Wegener &lt;sven.wegener@stealer.net&gt;
</content>
</entry>
<entry>
<title>bare-arm: Change output file from flash.elf to firmware.elf.</title>
<updated>2014-05-10T12:45:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-10T12:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2bb179e1248f045525b247981e3e5285800b63d6'/>
<id>urn:sha1:2bb179e1248f045525b247981e3e5285800b63d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: Simplify build directory layout by putting all headers in genhdr.</title>
<updated>2014-04-17T17:03:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-17T17:03:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d553be5982722fc5ee5240fbfb15697849881ced'/>
<id>urn:sha1:d553be5982722fc5ee5240fbfb15697849881ced</id>
<content type='text'>
Any generated headers go in $(BUILD)/genhdr/, and are #included as
'genhdr/xxx.h'.
</content>
</entry>
<entry>
<title>build directory can now be renamed</title>
<updated>2014-04-16T21:16:28+00:00</updated>
<author>
<name>Andrew Scheller</name>
<email>github@loowis.durge.org</email>
</author>
<published>2014-04-16T21:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=70a7d7a94397cbe01fd5457e34f3d3368300f2ac'/>
<id>urn:sha1:70a7d7a94397cbe01fd5457e34f3d3368300f2ac</id>
<content type='text'>
The autogenerated header files have been moved about, and an extra
include dir has been added, which means you can give a custom
BUILD=newbuilddir option to make, and everything "just works"

Also tidied up the way the different Makefiles build their include-
directory flags
</content>
</entry>
</feed>
