<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/modos.c, branch iabdalkader-cc3k-update</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=iabdalkader-cc3k-update</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=iabdalkader-cc3k-update'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-08-29T23:35:11+00:00</updated>
<entry>
<title>Change some parts of the core API to use mp_uint_t instead of uint/int.</title>
<updated>2014-08-29T23:35:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-29T23:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ecc88e949ca5e307d22da4605a40d39ea2df9e3b'/>
<id>urn:sha1:ecc88e949ca5e307d22da4605a40d39ea2df9e3b</id>
<content type='text'>
Addressing issue #50, still some way to go yet.
</content>
</entry>
<entry>
<title>stmhal: Start of documentation for modos and modtime.</title>
<updated>2014-08-08T22:30:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-08T22:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea439e59d95bee29df770dadbbc1a330d1e864a1'/>
<id>urn:sha1:ea439e59d95bee29df770dadbbc1a330d1e864a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Ability to stat /flash and /sd.</title>
<updated>2014-08-06T18:02:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-06T18:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8a11d693cf794c8cc276a5715df11ecdc8824ef1'/>
<id>urn:sha1:8a11d693cf794c8cc276a5715df11ecdc8824ef1</id>
<content type='text'>
Addresses issue #780.
</content>
</entry>
<entry>
<title>stmhal: Wrap DAC module and os.urandom in relevant #if's.</title>
<updated>2014-08-05T22:35:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-05T22:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7cc20e7e99bcdfce5b59163aab611022b7e1128f'/>
<id>urn:sha1:7cc20e7e99bcdfce5b59163aab611022b7e1128f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix modos.c to compile for the STM32F4Discovery board (which doesn't have an sdcard)</title>
<updated>2014-08-01T15:10:41+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-08-01T15:10:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f8f963a14a130639d3ddcb3f05e53a59c87ffbca'/>
<id>urn:sha1:f8f963a14a130639d3ddcb3f05e53a59c87ffbca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Change 0:/ and 1:/ to /flash and /sd; add CWD support.</title>
<updated>2014-07-31T22:44:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-31T22:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=65dd7bc13d2083a7db5a974bf6480b1652a35c82'/>
<id>urn:sha1:65dd7bc13d2083a7db5a974bf6480b1652a35c82</id>
<content type='text'>
Some important changes to the way the file system is structured on the
pyboard:

1. 0: and 1: drive names are now replaced with POSIX inspired
directories, namely /flash and /sd.

2. Filesystem now supports the notion of a current working directory.
Supports the standard Python way of manipulating it: os.chdir and
os.getcwd.

3. On boot up, current directory is /flash if no SD inserted, else /sd
if SD inserted.  Then runs boot.py and main.py from the current dir.
This is the same as the old behaviour, but is much more consistent and
flexible (eg you can os.chdir in boot.py to change where main.py is run
from).

4. sys.path (for import) is now set to '' (current dir), plus /flash
and /flash/lib, and then /sd and /sd/lib if SD inserted.  This, along
with CWD, means that import now works properly.  You can import a file
from the current directory.

5. os.listdir is fixed to return just the basename, not the full path.

See issue #537 for background and discussion.
</content>
</entry>
<entry>
<title>stmhal: Add file.flush and os.stat.</title>
<updated>2014-07-19T15:39:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-19T15:39:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=02bc882c3dbfcfd6c825cddf53ededac9af65f02'/>
<id>urn:sha1:02bc882c3dbfcfd6c825cddf53ededac9af65f02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename machine_(u)int_t to mp_(u)int_t.</title>
<updated>2014-07-03T12:25:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-03T12:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40f3c026823f8951a2fa04e9c7fc93c75bc27bec'/>
<id>urn:sha1:40f3c026823f8951a2fa04e9c7fc93c75bc27bec</id>
<content type='text'>
See discussion in issue #50.
</content>
</entry>
<entry>
<title>Prefix ARRAY_SIZE with micropython prefix MP_</title>
<updated>2014-06-19T16:54:34+00:00</updated>
<author>
<name>Emmanuel Blot</name>
<email>emmanuel.blot@free.fr</email>
</author>
<published>2014-06-19T16:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f6932d650620d3753b5a18df5131227276260f74'/>
<id>urn:sha1:f6932d650620d3753b5a18df5131227276260f74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
</feed>
