<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal, 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-26T21:46:06+00:00</updated>
<entry>
<title>stmhal: Allow DAC object to be initialised from a pin.</title>
<updated>2014-10-26T21:46:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-26T21:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e4e52f5370fb67270c2316a70aa33a63f7e8618e'/>
<id>urn:sha1:e4e52f5370fb67270c2316a70aa33a63f7e8618e</id>
<content type='text'>
Eg: dac = DAC(Pin.board.X5)
</content>
</entry>
<entry>
<title>stmhal: Improve REPL control codes; improve pyboard.py script.</title>
<updated>2014-10-26T15:39:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-26T15:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bc1488a05f509cd5be8bfab9574babfcb993806f'/>
<id>urn:sha1:bc1488a05f509cd5be8bfab9574babfcb993806f</id>
<content type='text'>
Improvements are:

2 ctrl-C's are now needed to truly kill running script on pyboard, so
make CDC interface allow multiple ctrl-C's through at once (ie sending
b'\x03\x03' to pyboard now counts as 2 ctrl-C's).

ctrl-C in friendly-repl can now stop multi-line input.

In raw-repl mode, use ctrl-D to indicate end of running script, and also
end of any error message.  Thus, output of raw-repl is always at least 2
ctrl-D's and it's much easier to parse.

pyboard.py is now a bit faster, handles exceptions from pyboard better
(prints them and exits with exit code 1), prints out the pyboard output
while the script is running (instead of waiting till the end), and
allows to follow the output of a previous script when run with no
arguments.
</content>
</entry>
<entry>
<title>stmhal: Change SPI phase spec to 0,1 to match standard conventions.</title>
<updated>2014-10-26T13:54:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-26T13:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=480a7ce58f6e5dc6179373f1f8b69d6a5434b2d4'/>
<id>urn:sha1:480a7ce58f6e5dc6179373f1f8b69d6a5434b2d4</id>
<content type='text'>
Was 1 or 2, now 0 or 1 (respectively).  0 means sample MISO on first
edge, 1 means sample on second edge.

Addresses issue #936.
</content>
</entry>
<entry>
<title>py: Add mp_pending_exception global variable, for VM soft interrupt.</title>
<updated>2014-10-25T22:37:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-25T17:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=124df6f8d07b53542b6960dbeea9b63bff469a67'/>
<id>urn:sha1:124df6f8d07b53542b6960dbeea9b63bff469a67</id>
<content type='text'>
This allows to implement KeyboardInterrupt on unix, and a much safer
ctrl-C in stmhal port.  First ctrl-C is a soft one, with hope that VM
will notice it; second ctrl-C is a hard one that kills anything (for
both unix and stmhal).

One needs to check for a pending exception in the VM only for jump
opcodes.  Others can't produce an infinite loop (infinite recursion is
caught by stack check).
</content>
</entry>
<entry>
<title>stmhal: Change USB PID when in CDC+HID mode.</title>
<updated>2014-10-25T21:55:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-25T21:55:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d7353fe6fe9c9d421ef045c0eea8d4591710e1ba'/>
<id>urn:sha1:d7353fe6fe9c9d421ef045c0eea8d4591710e1ba</id>
<content type='text'>
This gets CDC+HID working on Windows, since it needs a different PID for
a different USB configuration.

Thanks to tmbinc and dhylands.
</content>
</entry>
<entry>
<title>stmhal: Change fresh boot.py and main.py to use \r\n newlines.</title>
<updated>2014-10-25T00:14:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-25T00:13:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8204db6831f3934df4091c2f450f08ffefa34bd1'/>
<id>urn:sha1:8204db6831f3934df4091c2f450f08ffefa34bd1</id>
<content type='text'>
This is so it's compatible with Windows.
</content>
</entry>
<entry>
<title>stmhal: Fill in USB class/subclass/proto for CDC+HID device.</title>
<updated>2014-10-25T00:14:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-25T00:12:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=21dfd207caf1ea07e7d821d20a19525b72913223'/>
<id>urn:sha1:21dfd207caf1ea07e7d821d20a19525b72913223</id>
<content type='text'>
Also change HID device from keyboard to mouse (should have been mouse
all along).
</content>
</entry>
<entry>
<title>USB CDC ACM: populate bFunction{Class,SubClass,Protocol} in the interface association descriptor</title>
<updated>2014-10-25T00:14:39+00:00</updated>
<author>
<name>Felix Domke</name>
<email>tmbinc@elitedvb.net</email>
</author>
<published>2014-10-24T12:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a64d5d67b565433a57210aaf1b8a0398c2cc0df9'/>
<id>urn:sha1:a64d5d67b565433a57210aaf1b8a0398c2cc0df9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Use stream's readinto.</title>
<updated>2014-10-24T11:19:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-24T11:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e294bee45b1dd0e7688ff90f385c8e86052810ed'/>
<id>urn:sha1:e294bee45b1dd0e7688ff90f385c8e86052810ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Fix pin af definition: TIM2_CH1_ETR -&gt; TIM2_CH1/TIM2_ETR.</title>
<updated>2014-10-23T21:07:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-23T21:07:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e5b1b7348a9883bc0d20e19a5c514a87c6229c11'/>
<id>urn:sha1:e5b1b7348a9883bc0d20e19a5c514a87c6229c11</id>
<content type='text'>
</content>
</entry>
</feed>
