<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/unix/main.c, branch esp-extra-scripts</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-07-08T22:48:07+00:00</updated>
<entry>
<title>unix/main: When preparing sys.path, allocate exact strings on uPy heap.</title>
<updated>2016-07-08T22:48:07+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-08T22:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=520f35632d78e1b73f647d993205aade0de8b1ce'/>
<id>urn:sha1:520f35632d78e1b73f647d993205aade0de8b1ce</id>
<content type='text'>
Due to the way modern compilers work (allocating space for stack vars once
at tha start of function, and deallocating once on exit from), using
intermediate stack buffer of big size caused blockage of 4K (PATH_MAX)
on stack for the entire duration of MicroPython execution.
</content>
</entry>
<entry>
<title>unix/main: Improve help for -X options a bit.</title>
<updated>2016-07-08T17:53:08+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-08T17:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=649b69a1dbc91c7df8809c4a20c6287b23ac7f52'/>
<id>urn:sha1:649b69a1dbc91c7df8809c4a20c6287b23ac7f52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/main: Error out on unknown value of suffix in -X heapsize= option.</title>
<updated>2016-07-08T17:49:41+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-08T17:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0e5e14fe7cd97fa83e822c1e105cf498dbb4d276'/>
<id>urn:sha1:0e5e14fe7cd97fa83e822c1e105cf498dbb4d276</id>
<content type='text'>
E.g. -X heapsize=16Kfoo, -X heapsize=1G will lead to error.
</content>
</entry>
<entry>
<title>unix: Add basic thread support using pthreads.</title>
<updated>2016-06-28T10:28:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-22T22:53:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a791be936a79154a1b1e600e5e75d147396847f6'/>
<id>urn:sha1:a791be936a79154a1b1e600e5e75d147396847f6</id>
<content type='text'>
Has the ability to create new threads.
</content>
</entry>
<entry>
<title>unix: implement -i option (inspect - start REPL after script is finished)</title>
<updated>2016-04-01T09:35:45+00:00</updated>
<author>
<name>Pavol Rusnak</name>
<email>stick@gk2.sk</email>
</author>
<published>2016-04-01T08:03:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3d4a5352086894414a291dac14fbfd6166cfae3e'/>
<id>urn:sha1:3d4a5352086894414a291dac14fbfd6166cfae3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/runtime: mp_stack_ctrl_init() should be called immediately on startup.</title>
<updated>2016-01-29T00:13:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-28T23:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d3b1f0b627ccc6705d9fe958549badb87a74ded1'/>
<id>urn:sha1:d3b1f0b627ccc6705d9fe958549badb87a74ded1</id>
<content type='text'>
Calling it from mp_init() is too late for some ports (like Unix), and leads
to incomplete stack frame being captured, with following GC issues. So, now
each port should call mp_stack_ctrl_init() on its own, ASAP after startup,
and taking special precautions so it really was called before stack variables
get allocated (because if such variable with a pointer is missed, it may lead
to over-collecting (typical symptom is segfaulting)).
</content>
</entry>
<entry>
<title>unix/main: Remove debug code left from MP_OBJ_TO_PTR refactor.</title>
<updated>2016-01-28T23:00:36+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-28T23:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=850212203a97754bdaf1844b71c8fe8ee905236f'/>
<id>urn:sha1:850212203a97754bdaf1844b71c8fe8ee905236f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix: Allow to build coverage build with OBJ_REPR_D.</title>
<updated>2016-01-11T16:30:58+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-11T16:30:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c9845a0685e4ab5fad01e9d561feac73d13f9959'/>
<id>urn:sha1:c9845a0685e4ab5fad01e9d561feac73d13f9959</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/moduos_dupterm: Make mp_uos_dupterm_tx_strn() function reusable.</title>
<updated>2016-01-01T14:43:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-01-01T14:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=30b7344eb0a96c9cf608bec55ea38dfcb39ddfaf'/>
<id>urn:sha1:30b7344eb0a96c9cf608bec55ea38dfcb39ddfaf</id>
<content type='text'>
Function to actually spool output terminal data to dupterm object.
</content>
</entry>
<entry>
<title>unix: Implement uos.dupterm(). Conditional on MICROPY_PY_OS_DUPTERM.</title>
<updated>2015-12-27T23:13:21+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-27T23:12:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2c1620ce1fe3bb2d011ccaca701191927f1d49d6'/>
<id>urn:sha1:2c1620ce1fe3bb2d011ccaca701191927f1d49d6</id>
<content type='text'>
</content>
</entry>
</feed>
