<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/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-05-05T14:19:33+00:00</updated>
<entry>
<title>stmhal: L4: Make CCM/DTCM RAM start-up conditional on MCU type.</title>
<updated>2016-05-05T14:19:33+00:00</updated>
<author>
<name>Tobias Badertscher</name>
<email>python@baerospace.ch</email>
</author>
<published>2016-03-27T09:58:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7441ba7749508ef1731493892a32bf3d821e8cb2'/>
<id>urn:sha1:7441ba7749508ef1731493892a32bf3d821e8cb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Some NETDUINO_PLUS_2 cleanup</title>
<updated>2016-02-15T10:07:27+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2016-02-13T05:25:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4b2938a4b0ec6b31691509003cb1eda9458fa2d7'/>
<id>urn:sha1:4b2938a4b0ec6b31691509003cb1eda9458fa2d7</id>
<content type='text'>
- Put the I2C bus on the corect pins
- Add the appropriate board_init to power the shield
</content>
</entry>
<entry>
<title>extmod/fsusermount: Support mounting of multiple block devices.</title>
<updated>2016-02-10T23:40:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-10T16:32:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b33a7705966a743c5e4c0c3c3bb83e6d97b5e84d'/>
<id>urn:sha1:b33a7705966a743c5e4c0c3c3bb83e6d97b5e84d</id>
<content type='text'>
This patch adds support to fsusermount for multiple block devices
(instead of just one).  The maximum allowed is fixed at compile time by
the size of the fs_user_mount array accessed via MP_STATE_PORT, which
in turn is set by MICROPY_FATFS_VOLUMES.

With this patch, stmhal (which is still tightly coupled to fsusermount)
is also modified to support mounting multiple devices   And the flash and
SD card are now just two block devices that are mounted at start up if
they exist (and they have special native code to make them more
efficient).
</content>
</entry>
<entry>
<title>stmhal: Make TIM3 available for use by the user.</title>
<updated>2016-01-29T22:31:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-29T22:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea89b80ff4f842b010f9f8ec3280675f81bc6bc5'/>
<id>urn:sha1:ea89b80ff4f842b010f9f8ec3280675f81bc6bc5</id>
<content type='text'>
TIM3 is no longer used by USB CDC for triggering outgoing data, so we
can now make it available to the user.

PWM fading on LED(4) is now gone, but will be reinstated in a new way.
</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>stmhal: Print exception information in nlr_jump_failed</title>
<updated>2015-12-07T17:21:51+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-06T07:34:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f380904bd9376216f9bf06bcdc354f6b5800c896'/>
<id>urn:sha1:f380904bd9376216f9bf06bcdc354f6b5800c896</id>
<content type='text'>
Currently nlr_jump_fail prints that there was an uncaught exception
but nothing about the exception.
This patch causes nlr_jump_failed to try to print the exception.
Given that printf was called on the line above, I think that
the call to mp_obj_print_exception has about as much likelyhood
of succeeding as the printf does.
</content>
</entry>
<entry>
<title>stmhal: Execute boot.py and main.py when formatting the file system.</title>
<updated>2015-12-07T15:11:42+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-06T07:49:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=acc208418bb1fd1f37f64cdbddc6be7a8eaeb4b8'/>
<id>urn:sha1:acc208418bb1fd1f37f64cdbddc6be7a8eaeb4b8</id>
<content type='text'>
When you use the USER button to perform a filesystem reset
at boot time then it wipes out the filesystem and creates
a new boot.py and main.py.  With this patch these files are
executed after formatting, ensuring that pyb and machine modules
get imported.
</content>
</entry>
<entry>
<title>stmhal: Add option to free up TIM3 from USB VCP polling.</title>
<updated>2015-12-04T14:07:15+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-12-04T14:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=66b96822fb33863fde5ce13a6bdeb99a404575dc'/>
<id>urn:sha1:66b96822fb33863fde5ce13a6bdeb99a404575dc</id>
<content type='text'>
This is a hack to free up TIM3 so that it can be used by the user.
Instead we use the PVD irq to call the USB VCP polling function, and
trigger it from SysTick (so SysTick itself does not do any processing).

The feature is enabled for pyboard lite only, since it lacks timers.
</content>
</entry>
<entry>
<title>stmhal: Add rtc.init() method to force RTC to re-initialise.</title>
<updated>2015-12-04T12:05:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-12-04T12:05:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f7697ff393fa60e2b9adea31960ca17afc1d2ab7'/>
<id>urn:sha1:f7697ff393fa60e2b9adea31960ca17afc1d2ab7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Implement delayed RTC initialization with LSI fallback.</title>
<updated>2015-11-23T23:23:07+00:00</updated>
<author>
<name>T S</name>
<email>tsp@esg-workstation.com</email>
</author>
<published>2015-11-07T11:03:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=86aa16bea61da8a8d156a7a928902a0bf4c85b73'/>
<id>urn:sha1:86aa16bea61da8a8d156a7a928902a0bf4c85b73</id>
<content type='text'>
If RTC is already running at boot then it's left alone.  Otherwise, RTC is
started at boot but startup function returns straight away.  RTC startup
is then finished the first time it is used.  Fallback to LSI if LSE fails
to start in a certain time.

Also included:
 MICROPY_HW_CLK_LAST_FREQ
        hold pyb.freq() parameters in RTC backup reg
 MICROPY_HW_RTC_USE_US
        option to present datetime sub-seconds in microseconds
 MICROPY_HW_RTC_USE_CALOUT
        option to enable RTC calibration output

CLK_LAST_FREQ and RTC_USE_CALOUT are enabled for PYBv1.0.
</content>
</entry>
</feed>
