<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/esp8266/modmachine.c, branch v1.8.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-11-05T22:30:19+00:00</updated>
<entry>
<title>esp8266: Rename "machine" module implementation to use contemporary naming.</title>
<updated>2016-11-05T22:30:19+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-11-05T22:30:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8bc3fc20feca9ebe9e9972aeb6b68a81d792c5df'/>
<id>urn:sha1:8bc3fc20feca9ebe9e9972aeb6b68a81d792c5df</id>
<content type='text'>
Previously they used historical "pyb" affix causing confusion and
inconsistency (there's no "pyb" module in modern ports; but people
took esp8266 port as an example, and "pyb" naming kept proliferating,
while other people complained that source structure is not clear).
</content>
</entry>
<entry>
<title>esp8266/modmachine: idle(): Return number of CPU cycles spent idling.</title>
<updated>2016-10-04T18:20:47+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-10-04T18:20:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=52784bf5951b6b76cf2c3125a7b78bcfef0553c3'/>
<id>urn:sha1:52784bf5951b6b76cf2c3125a7b78bcfef0553c3</id>
<content type='text'>
Useful to better understand esp8266 inner workings and compare behavior
in different cases.
</content>
</entry>
<entry>
<title>all: Remove 'name' member from mp_obj_module_t struct.</title>
<updated>2016-09-21T14:23:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-21T00:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f'/>
<id>urn:sha1:93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f</id>
<content type='text'>
One can instead lookup __name__ in the modules dict to get the value.
</content>
</entry>
<entry>
<title>stmhal,cc3200,esp8266: Consistently use PWRON_RESET constant.</title>
<updated>2016-09-08T02:50:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-08T02:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f3b5480be7243684e31e4631e3da49c725fa7234'/>
<id>urn:sha1:f3b5480be7243684e31e4631e3da49c725fa7234</id>
<content type='text'>
machine.POWER_ON is renamed to machine.PWRON_RESET to match other
reset-cause constants that all end in _RESET.  The cc3200 port keeps a
legacy definition of POWER_ON for backwards compatibility.
</content>
</entry>
<entry>
<title>esp8266/modmachine: Map PWR_ON_RESET to vendor's REASON_DEFAULT_RST.</title>
<updated>2016-09-06T21:59:02+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-09-06T21:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=742d8bdbe46274401aa261881d14dee50a7618d5'/>
<id>urn:sha1:742d8bdbe46274401aa261881d14dee50a7618d5</id>
<content type='text'>
When dealing with a board which controls chip reset with UART's DTR/RTS,
we never see REASON_DEFAULT_RST (0), only REASON_EXT_SYS_RST (6). However,
trying a "raw" module with with just TXD/RXD UART connection, on power up
it has REASON_DEFAULT_RST as a reset reason.
</content>
</entry>
<entry>
<title>esp8266/modmachine: Simplify SPI class implementation multiplexing.</title>
<updated>2016-09-04T17:33:11+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-09-04T17:33:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dba40afa706a1ac4b102dceba217844dc1540ce7'/>
<id>urn:sha1:dba40afa706a1ac4b102dceba217844dc1540ce7</id>
<content type='text'>
modpybhspi now does the needed multiplexing, calling out to modpybspi
(bitbanging SPI) for suitable peripheral ID's. modmachinespi (previous
multiplexer class) thus not needed and removed.

modpybhspi also updated to following standard SPI peripheral naming:
SPI0 is used for FlashROM and thus not supported so far. SPI1 is available
for users, and thus needs to be instantiated as:

spi = machine.SPI(1, ...)
</content>
</entry>
<entry>
<title>esp8266/modmachine: Don't expose internal SoftSPI and HSPI classes.</title>
<updated>2016-09-04T16:57:16+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-09-04T16:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ddd1a58f6ec90a35e2ca815f62358acfb801c52'/>
<id>urn:sha1:7ddd1a58f6ec90a35e2ca815f62358acfb801c52</id>
<content type='text'>
There functionality is available via standard SPI class.
</content>
</entry>
<entry>
<title>esp8266/modmachine: Add WDT_RESET and SOFT_RESET constants.</title>
<updated>2016-09-04T16:45:58+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-09-04T16:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1708fe3cc719aec15b9f6d5a39cb0181b4547161'/>
<id>urn:sha1:1708fe3cc719aec15b9f6d5a39cb0181b4547161</id>
<content type='text'>
Both tested to work. (WDT_RESET can be seen by issuing machine.disable_irq()
and waiting for WDT reset, SOFT_RESET - by machine.reset()).
</content>
</entry>
<entry>
<title>esp8266/modmachinewdt: Implement machine.WDT class.</title>
<updated>2016-08-28T11:48:49+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-28T11:48:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=263aaa70302aa60d0338abbe439be2a77eb49a52'/>
<id>urn:sha1:263aaa70302aa60d0338abbe439be2a77eb49a52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266/modmachinespi: Add a factory method for SoftSPI/HSPI</title>
<updated>2016-08-19T18:19:59+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2016-08-19T16:55:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d076fae2194fc1b1cacc1c6d09012baa12ee93a5'/>
<id>urn:sha1:d076fae2194fc1b1cacc1c6d09012baa12ee93a5</id>
<content type='text'>
</content>
</entry>
</feed>
