<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/bare-arm/Makefile, branch 2.2.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-11T02:22:19+00:00</updated>
<entry>
<title>all: Make use of $(TOP) variable in Makefiles, instead of "..".</title>
<updated>2017-08-11T02:22:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-08-11T02:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d4a2f773cc6ce24a91e2d210378188f3371e8a6'/>
<id>urn:sha1:7d4a2f773cc6ce24a91e2d210378188f3371e8a6</id>
<content type='text'>
$(TOP) is defined in py/mkenv.mk and should be used to refer to the top
level of this repository.
</content>
</entry>
<entry>
<title>bare-arm/Makefile: Change C standard from gnu99 to c99.</title>
<updated>2017-03-23T04:41:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-23T04:41:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4afa782fb415165aa6e7f9eea8532f0d2493f8ce'/>
<id>urn:sha1:4afa782fb415165aa6e7f9eea8532f0d2493f8ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all/Makefile: Remove -ansi from GCC flags, its ignored anyway.</title>
<updated>2017-03-23T04:32:12+00:00</updated>
<author>
<name>Krzysztof Blazewicz</name>
<email>blazewicz.krzysztof@gmail.com</email>
</author>
<published>2017-03-05T12:28:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=75589272ef12d538ab7ce4f4453be85d826b5083'/>
<id>urn:sha1:75589272ef12d538ab7ce4f4453be85d826b5083</id>
<content type='text'>
The -ansi flag is used for C dialect selection and it is equivalent to -std=c90.
Because it goes right before -std=gnu99 it is ignored as for conflicting flags
GCC always uses the last one.
</content>
</entry>
<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>
</feed>
