<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/esp8266/ets_alt_task.c, branch 2.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-05-13T07:56:16+00:00</updated>
<entry>
<title>esp8266/ets_alt_task.c: Prevent spurious large increment of ticks_ms()</title>
<updated>2017-05-13T07:56:16+00:00</updated>
<author>
<name>Robert HH</name>
<email>robert@hammelrath.com</email>
</author>
<published>2017-05-12T18:37:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=71df60cf42d831b4d6e39dc7bee3c45f46befdab'/>
<id>urn:sha1:71df60cf42d831b4d6e39dc7bee3c45f46befdab</id>
<content type='text'>
This happened when the overflow counter for ticks_ms() was interrupted
by an external hard interrupt (issue #3076).
</content>
</entry>
<entry>
<title>esp8266: Extend system microsecond counter to 64-bits; use in ticks_ms.</title>
<updated>2016-09-20T04:28:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-20T04:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34e01984368ff2c689808ef8de182d838cd96725'/>
<id>urn:sha1:34e01984368ff2c689808ef8de182d838cd96725</id>
<content type='text'>
So now ticks_ms can count up to the full 30 bits.  Fixes issue #2412.
</content>
</entry>
<entry>
<title>esp8266/ets_alt_task: ets_post: Should return 0 on success, !0 - failure.</title>
<updated>2016-09-18T20:01:58+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-09-18T20:01:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3fe047f08f12ac922e5486284a2f2254670cd9a9'/>
<id>urn:sha1:3fe047f08f12ac922e5486284a2f2254670cd9a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266: Provide a dedicated variable to disable ets_loop_iter.</title>
<updated>2016-06-01T16:26:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-06-01T16:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=927388e80ecac345147597c1d7a53b0c1848f609'/>
<id>urn:sha1:927388e80ecac345147597c1d7a53b0c1848f609</id>
<content type='text'>
So ets_loop_iter is now only disabled when using machine.disable_irq.
</content>
</entry>
<entry>
<title>esp8266/ets_alt_task: Don't run ets_loop_iter if irqs are disabled.</title>
<updated>2016-05-26T14:47:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-26T13:58:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=849eb835f013fccb31530881b8ffae36521bacc4'/>
<id>urn:sha1:849eb835f013fccb31530881b8ffae36521bacc4</id>
<content type='text'>
ets_loop_iter processes pending tasks, and tasks are considered lower
priority than interrupts, so tasks shouldn't be processed if interrupts
are disabled.
</content>
</entry>
<entry>
<title>esp8266/ets_alt_task: Comment out debug output.</title>
<updated>2016-04-02T22:04:01+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-04-02T22:04:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9698a60591b47798e24040d61df809f9d6e3584b'/>
<id>urn:sha1:9698a60591b47798e24040d61df809f9d6e3584b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266/ets_alt_task: Make FIRST_PRIO=0 to cover all task priorities.</title>
<updated>2016-03-17T16:28:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-03-17T16:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=556a1df6fd340a8dc6ededef2c5978391a7b965d'/>
<id>urn:sha1:556a1df6fd340a8dc6ededef2c5978391a7b965d</id>
<content type='text'>
FIRST_PRIO=2 works but using 0 is hopefully safer, and can anyway be
optimised in the future.
</content>
</entry>
<entry>
<title>esp8266/ets_alt_task: Update for vendor SDK 1.5.0.</title>
<updated>2016-03-11T02:17:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-06T08:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=54fc247f9b6589291de809065f713930ffdd1618'/>
<id>urn:sha1:54fc247f9b6589291de809065f713930ffdd1618</id>
<content type='text'>
SDK 1.5.0 has a task with priority 3: ets_task(401001f4, 3, 3fff9808, 4).
Recognizing SDK version requires the latets esp-open-sdk build.
</content>
</entry>
<entry>
<title>esp8266/ets_alt_task: Be sure to "pop" event before calling its handler.</title>
<updated>2016-03-11T02:16:34+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-03T10:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97375f4576ee0637d4a3452a411900f224beeb44'/>
<id>urn:sha1:97375f4576ee0637d4a3452a411900f224beeb44</id>
<content type='text'>
Otherwise, if handler calls recursive event loop, there's infinite
recursion (because the loop calls the same handler on same event again).
</content>
</entry>
<entry>
<title>esp8266: Feed WDT in ets_loop_iter().</title>
<updated>2016-03-11T02:15:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-12-22T14:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7261f17b9ec21be706e5b8cb1173b46ed0985cc3'/>
<id>urn:sha1:7261f17b9ec21be706e5b8cb1173b46ed0985cc3</id>
<content type='text'>
</content>
</entry>
</feed>
