<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/moductypes.c, branch v1.3.5</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.5</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.5'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-10-06T15:05:35+00:00</updated>
<entry>
<title>py: Make mp_binary_set_val work on big endian machine.</title>
<updated>2014-10-06T15:05:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-06T15:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9336ee320a85527942d9ca2ddb95221d90582da0'/>
<id>urn:sha1:9336ee320a85527942d9ca2ddb95221d90582da0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix timer overflow code.</title>
<updated>2014-09-28T02:40:37+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-09-26T16:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=39296b40d49b4b6b9373a80de67e017e540f1408'/>
<id>urn:sha1:39296b40d49b4b6b9373a80de67e017e540f1408</id>
<content type='text'>
Teensy doesn't need to worry about overflows since all of
its timers are only 16-bit.

For PWM, the pulse width needs to be able to vary from 0..period+1
(pulse-width == period+1 corresponds to 100% PWM)

I couldn't test the 0xffffffff cases since we can't currently get a
period that big in python. With a prescaler of 0, that corresponds
to a freq of 0.039 (i.e. cycle every 25.56 seconds), and we can't
set that using freq or period.

I also tested both stmhal and teensy with floats disabled, which
required a few other code changes to compile.
</content>
</entry>
<entry>
<title>extmod: Fix type-punned-ptr error.</title>
<updated>2014-09-02T10:38:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-02T10:38:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e875e3882d9c567a8b2dc88e9f13e1057fc39e9f'/>
<id>urn:sha1:e875e3882d9c567a8b2dc88e9f13e1057fc39e9f</id>
<content type='text'>
</content>
</entry>
<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: Enable moductypes by default.</title>
<updated>2014-08-12T19:02:26+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-12T19:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=105e32f1a5126698b9032d013edffb12a550c0ce'/>
<id>urn:sha1:105e32f1a5126698b9032d013edffb12a550c0ce</id>
<content type='text'>
Also fixes compiler error in moductypes when compiled without debugging.

Addresses issue #778.
</content>
</entry>
<entry>
<title>moductypes: Remove debug inclusion of stdio.h .</title>
<updated>2014-08-10T07:11:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-08-10T06:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5f47ebbf824a5ab6f94a1ac9f8efda9f2a57b008'/>
<id>urn:sha1:5f47ebbf824a5ab6f94a1ac9f8efda9f2a57b008</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.</title>
<updated>2014-07-31T09:49:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-31T09:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bb4c6f35c627ab3487cdd6bafb4588cc633cd6a4'/>
<id>urn:sha1:bb4c6f35c627ab3487cdd6bafb4588cc633cd6a4</id>
<content type='text'>
Addresses issue #724.
</content>
</entry>
<entry>
<title>moductypes: Add symbolic constants to specify bitfield position/length.</title>
<updated>2014-07-10T21:06:36+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-07-10T21:06:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2097c8b1e16ed2e4a2ed9dd75623f02b42cf805a'/>
<id>urn:sha1:2097c8b1e16ed2e4a2ed9dd75623f02b42cf805a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>moductypes: Foreign data interface module, roughly based on ctype ideas.</title>
<updated>2014-07-09T16:28:24+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-28T00:03:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8215847b4d3bbbf859893db44f6de8a9fdea9f35'/>
<id>urn:sha1:8215847b4d3bbbf859893db44f6de8a9fdea9f35</id>
<content type='text'>
But much smaller and memory-efficient. Uses Python builtin data structures
(dict, tuple, int) to describe structure layout.
</content>
</entry>
</feed>
