<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/windows/init.c, branch 0.9.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-12-26T22:14:16+00:00</updated>
<entry>
<title>windows/msvc: Nicer handling of asserts and 'invalid' parameters</title>
<updated>2015-12-26T22:14:16+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2015-12-24T14:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1aa4599ddd7ad9ea28bf4dd7a9a5d813f93584be'/>
<id>urn:sha1:1aa4599ddd7ad9ea28bf4dd7a9a5d813f93584be</id>
<content type='text'>
The default bahaviour for debug builds is to show dialog boxes for asserts
and invalid parameter handling. This is not so nice in general and causes
the Appveyor debug builds to hang because the io\file_seek.py test passes
a closed file descriptor to lseek. Disable this behaviour by printing
assert messages to the output instead of showing the dialog, and by
disabling 'invalid' parameter handling which causes the affected functions
to just return an error and set errno appropriately.
</content>
</entry>
<entry>
<title>windows: Better handling of Ctrl-C</title>
<updated>2015-12-21T18:51:27+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2015-12-21T09:17:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a5aa03acaff46aaaac0d0c3462cbd968b0a1df59'/>
<id>urn:sha1:a5aa03acaff46aaaac0d0c3462cbd968b0a1df59</id>
<content type='text'>
This builds upon the changes made in 2195046365c. Using signal() does not
produce reliable results so SetConsoleCtrlHandler is used, and the handler
is installed only once during initialization instead of removing it in
mp_hal_set_interrupt_char when it is not strictly needed anymore, since
removing it might lead to Ctrl-C events being missed because they are
fired on a seperate thread which might only become alive after the handler
was removed.
</content>
</entry>
<entry>
<title>windows: Call _set_output_format() only on Visual Studio versions 2013 or lower.</title>
<updated>2015-10-30T08:37:58+00:00</updated>
<author>
<name>omtinez</name>
<email>omtinez@gmail.com</email>
</author>
<published>2015-10-30T02:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3510499a9e523e51b1d8015f7d393aea9b68f679'/>
<id>urn:sha1:3510499a9e523e51b1d8015f7d393aea9b68f679</id>
<content type='text'>
Since VS2015, float formatting is C standard compliant by default:
https://msdn.microsoft.com/en-us/library/bb531344(v=vs.140).aspx
</content>
</entry>
<entry>
<title>windows: Add usleep() implementation for msvc port</title>
<updated>2015-10-25T12:42:19+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-10-25T11:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ca9eb81d0b8624bfee6dac7b062747b01e8aeb4b'/>
<id>urn:sha1:ca9eb81d0b8624bfee6dac7b062747b01e8aeb4b</id>
<content type='text'>
Also make sleep.c self-contained by moving initialization code,
instead of having part of the code in init.c, and add a header file
to accomodate this.
msec_sleep() now uses the usleep() implementation as well.
</content>
</entry>
<entry>
<title>Remove obsolete bss-related code/build features</title>
<updated>2015-01-08T14:29:44+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-01-08T09:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=afd6c8e1d2a2c24595194879481987cec3b57f8a'/>
<id>urn:sha1:afd6c8e1d2a2c24595194879481987cec3b57f8a</id>
<content type='text'>
GC for unix/windows builds doesn't make use of the bss section anymore,
so we do not need the (sometimes complicated) build features and code related to it
</content>
</entry>
<entry>
<title>windows: Enable GC and implement bss start and end symbols</title>
<updated>2014-06-22T09:31:16+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2014-06-12T15:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8abcf666cb638152634790a882875f52f7f0432b'/>
<id>urn:sha1:8abcf666cb638152634790a882875f52f7f0432b</id>
<content type='text'>
The pointers to the bss section are acquired in init.c()
by inspecting the PE header. Works for msvc and mingw.
</content>
</entry>
<entry>
<title>mingw: Fix compilation issues</title>
<updated>2014-05-10T08:42:40+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2014-05-10T08:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f45a83d7fc964b10acc5d7d0da65a8157489562f'/>
<id>urn:sha1:f45a83d7fc964b10acc5d7d0da65a8157489562f</id>
<content type='text'>
- use lowercase windows.h
- fix for mingw32 using preprocessor-unfriendly definition of CLOCKS_PER_SEC
</content>
</entry>
<entry>
<title>windows: Add modtime implementation</title>
<updated>2014-05-09T11:58:15+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2014-05-08T08:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5ed284a15e028e0435f3b6e0773e14225d8f165d'/>
<id>urn:sha1:5ed284a15e028e0435f3b6e0773e14225d8f165d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Windows MSVC port</title>
<updated>2014-05-08T08:06:43+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2014-05-05T10:18:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=01d6be4d512118d39ef52f79ca9ddddd2bba3f32'/>
<id>urn:sha1:01d6be4d512118d39ef52f79ca9ddddd2bba3f32</id>
<content type='text'>
Extend the windows port so it compiles with the toolchain from Visual Studio 2013
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
</feed>
