<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/cc3200/mods/pybi2c.c, branch 2.3.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.3.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.3.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-21T11:34:23+00:00</updated>
<entry>
<title>all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.</title>
<updated>2017-08-21T11:34:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-08-21T11:34:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4ec803a42ae3080d4af959c7c2edf81e57f79377'/>
<id>urn:sha1:4ec803a42ae3080d4af959c7c2edf81e57f79377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>cc3200/mods/pybi2c: Make readfnom_mem_into/writeto_mem return None.</title>
<updated>2017-04-18T05:31:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-04-18T05:31:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9d7c53734c5eee6b4fbcc18be59148bbdaf95a1d'/>
<id>urn:sha1:9d7c53734c5eee6b4fbcc18be59148bbdaf95a1d</id>
<content type='text'>
This aligns the I2C class to match the standard machine.I2C API.

Note that this is a (small) breaking change to the existing cc3200 API.
The original API just returned the size of the input buffer so there's no
information lost by this change.  To update scripts users should just use
the size of the buffer passed to these functions to get the number of bytes
that are read/written.
</content>
</entry>
<entry>
<title>cc3200/mods/pybi2c: Make machine.I2C constructor/init conform to HW API.</title>
<updated>2017-04-18T03:16:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-04-18T03:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8f205c2c9bed1f3f167f2b0a5abba1e676a6aa01'/>
<id>urn:sha1:8f205c2c9bed1f3f167f2b0a5abba1e676a6aa01</id>
<content type='text'>
This is a user-facing change to the cc3200's API, to make it conform to the
new machine hardware API.  The changes are:

- change I2C constructor to: I2C(id=0, *, freq=100000, scl=None, sda=None)
- change I2C init to: init(*, freq, scl, sda)
- removal of machine.I2C.MASTER constant
- I2C str/repr no longer prints I2C.MASTER

To update existing code it should be enough to just remove the I2C.MASTER
constant from contructor/init for I2C.
</content>
</entry>
<entry>
<title>cc3200/mods/pybi2c: Raise OSError if readfrom_mem fails to write addr.</title>
<updated>2017-03-29T05:09:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-29T05:09:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6bfb344a808081aaaf883b7576699e05d9a86882'/>
<id>urn:sha1:6bfb344a808081aaaf883b7576699e05d9a86882</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc3200: When raising OSError's use MP_Exxx as arg instead of a string.</title>
<updated>2017-02-22T01:58:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-22T01:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=22a6344ebe032e9e66024614ecbe7d9608fa9288'/>
<id>urn:sha1:22a6344ebe032e9e66024614ecbe7d9608fa9288</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: Consistently update signatures of .make_new and .call methods.</title>
<updated>2017-01-04T13:10:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-01-04T13:10:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eac22e29a5844e5aa5c865c2e73900e6ef039ad6'/>
<id>urn:sha1:eac22e29a5844e5aa5c865c2e73900e6ef039ad6</id>
<content type='text'>
Otherwise, they serve reoccurring source of copy-paste mistakes and
breaking nanbox build.
</content>
</entry>
<entry>
<title>cc3200: Use mp_raise_XXX helper functions to reduce code size.</title>
<updated>2016-10-17T22:53:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-17T22:53:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=50ddaafa6acf5fbbe6f98e64fd5744a9a8347aff'/>
<id>urn:sha1:50ddaafa6acf5fbbe6f98e64fd5744a9a8347aff</id>
<content type='text'>
Reduces code size by 632 bytes.
</content>
</entry>
<entry>
<title>stmhal, cc3200: Change i2c.scan() method to scan addresses 0x08-0x77.</title>
<updated>2016-05-02T10:15:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-02T10:15:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=70ff7350e7ff369ab81d1f55e6645a5828928385'/>
<id>urn:sha1:70ff7350e7ff369ab81d1f55e6645a5828928385</id>
<content type='text'>
A standard I2C address is 7 bits but addresses 0b0000xxx and 0b1111xxx
are reserved.  The scan() method is changed to reflect this, along with
the docs.
</content>
</entry>
<entry>
<title>cc3200: Improve robustness of the I2C driver.</title>
<updated>2016-02-21T20:41:06+00:00</updated>
<author>
<name>danicampora</name>
<email>daniel@wipy.io</email>
</author>
<published>2016-02-12T19:17:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=562bcffd3aa9e9e1226389e658c6d5d0ac007add'/>
<id>urn:sha1:562bcffd3aa9e9e1226389e658c6d5d0ac007add</id>
<content type='text'>
When scanning for devices, try reading then writing. Increase the
timeout of the transactions from 10 to 20 ms.
</content>
</entry>
</feed>
