<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/mpy-cross/main.c, branch 6.2.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.2.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.2.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2021-03-15T13:57:36+00:00</updated>
<entry>
<title>run code formatting script</title>
<updated>2021-03-15T13:57:36+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-03-15T13:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a52eb88031620a81521b937f2a0651dbac2bb350'/>
<id>urn:sha1:a52eb88031620a81521b937f2a0651dbac2bb350</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add license to some obvious files.</title>
<updated>2020-07-06T18:16:25+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-06-03T22:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34b4993d63a6b576f29d624385c681f679b4124c'/>
<id>urn:sha1:34b4993d63a6b576f29d624385c681f679b4124c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Define serial_write, it was undefined in the Windows mpy-cross build</title>
<updated>2020-01-25T21:09:49+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-01-25T20:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a43a19728c464a56f240c78fe620a690c8950333'/>
<id>urn:sha1:a43a19728c464a56f240c78fe620a690c8950333</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross: Make it easier to build mpy-cross static targets</title>
<updated>2020-01-25T20:04:11+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-01-25T20:04:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ebf0fe0a8cfc93546699879b13a87071ea942ce3'/>
<id>urn:sha1:ebf0fe0a8cfc93546699879b13a87071ea942ce3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: Remove inclusion of internal py header files.</title>
<updated>2017-10-04T01:37:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-10-04T01:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a3dc1b1957d2c96d7c60c2c629c95077b03488a1'/>
<id>urn:sha1:a3dc1b1957d2c96d7c60c2c629c95077b03488a1</id>
<content type='text'>
Header files that are considered internal to the py core and should not
normally be included directly are:
    py/nlr.h - internal nlr configuration and declarations
    py/bc0.h - contains bytecode macro definitions
    py/runtime0.h - contains basic runtime enums

Instead, the top-level header files to include are one of:
    py/obj.h - includes runtime0.h and defines everything to use the
        mp_obj_t type
    py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h,
        and defines everything to use the general runtime support functions

Additional, specific headers (eg py/objlist.h) can be included if needed.
</content>
</entry>
<entry>
<title>all: Update Makefiles and others to build with new ports/ dir layout.</title>
<updated>2017-09-06T04:09:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-09-06T04:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4a93801c12898898744131f57d79cf216d0861b3'/>
<id>urn:sha1:4a93801c12898898744131f57d79cf216d0861b3</id>
<content type='text'>
Also renames "stmhal" to "stm32" in documentation and everywhere else.
</content>
</entry>
<entry>
<title>all: Don't include system errno.h when it's not needed.</title>
<updated>2017-07-24T08:43:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-24T08:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=aa7be82a4dff59b22763abbe1bd5e74c0e37b453'/>
<id>urn:sha1:aa7be82a4dff59b22763abbe1bd5e74c0e37b453</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross/main: Move lexer constructor to within NLR handler block.</title>
<updated>2017-03-14T00:52:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-14T00:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97142000f78fab8d1646efc17d60ac0e20919bd5'/>
<id>urn:sha1:97142000f78fab8d1646efc17d60ac0e20919bd5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross: Get compiling after recent persistent code refactors.</title>
<updated>2016-11-16T09:25:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-16T09:25:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=85ae17c9938d65fe33835b72a8d98f2eda93605f'/>
<id>urn:sha1:85ae17c9938d65fe33835b72a8d98f2eda93605f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross: Use binary file translation mode for creating mpy files on windows</title>
<updated>2016-07-22T18:21:54+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2016-07-22T09:54:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9bdb82ef6b3147662ffc6b6435c6bd376c60e19e'/>
<id>urn:sha1:9bdb82ef6b3147662ffc6b6435c6bd376c60e19e</id>
<content type='text'>
This is a fix for https://github.com/micropython/micropython/issues/2209:
by default a file created using open() uses text translation mode so writing
\n to it will result in the file having \r\n. This is obviously problematic
for binary .mpy files, so provide functions for setting the open mode
and use binary mode in mpy-cross' main().
</content>
</entry>
</feed>
