<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/rtc.c, branch 0.8.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.8.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-01-04T13:10:42+00:00</updated>
<entry>
<title>all: Consistently update signatures of .make_new and .call methods.</title>
<updated>2017-01-04T13:10:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-01-04T13:10:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eac22e29a5844e5aa5c865c2e73900e6ef039ad6'/>
<id>urn:sha1:eac22e29a5844e5aa5c865c2e73900e6ef039ad6</id>
<content type='text'>
Otherwise, they serve reoccurring source of copy-paste mistakes and
breaking nanbox build.
</content>
</entry>
<entry>
<title>stmhal: L4: Modify rtc.c to support L4 MCU.</title>
<updated>2016-04-17T11:08:07+00:00</updated>
<author>
<name>Tobias Badertscher</name>
<email>python@baerospace.ch</email>
</author>
<published>2016-03-22T15:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=432465b16798c1f28552e87896252c05207db62d'/>
<id>urn:sha1:432465b16798c1f28552e87896252c05207db62d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.</title>
<updated>2016-01-11T00:49:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-03T15:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5b3f0b7f39bd67cc9182993c288f09f67a0890df'/>
<id>urn:sha1:5b3f0b7f39bd67cc9182993c288f09f67a0890df</id>
<content type='text'>
The first argument to the type.make_new method is naturally a uPy type,
and all uses of this argument cast it directly to a pointer to a type
structure.  So it makes sense to just have it a pointer to a type from
the very beginning (and a const pointer at that).  This patch makes
such a change, and removes all unnecessary casting to/from mp_obj_t.
</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>
<entry>
<title>stmhal: Fix RTC code to work on the F7</title>
<updated>2015-11-07T17:42:26+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-11-07T17:42:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=57e00ef26236264bc54ad32442df5854aa0df27b'/>
<id>urn:sha1:57e00ef26236264bc54ad32442df5854aa0df27b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/rtc: LSx oscillator is only initialized upon initial power up.</title>
<updated>2015-11-06T22:00:34+00:00</updated>
<author>
<name>T S</name>
<email>tsp@esg-workstation.com</email>
</author>
<published>2015-11-01T13:31:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8f7ff854b0e341aa49d198a93fea7e83dd4cc71c'/>
<id>urn:sha1:8f7ff854b0e341aa49d198a93fea7e83dd4cc71c</id>
<content type='text'>
Initial power up also includes VBAT.

If LSE is configured but fails to start, LSI is used until next full power
cycle.  Also handles STM32F7xx variant.
</content>
</entry>
<entry>
<title>stmhal: Add symbolic #defines for interrupt levels in irq.h.</title>
<updated>2015-11-01T23:23:39+00:00</updated>
<author>
<name>Dave Curtis</name>
<email>davecurtis@sonic.net</email>
</author>
<published>2015-10-31T17:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=32b3549cce7a965d92a81db02c7adc973f08d74c'/>
<id>urn:sha1:32b3549cce7a965d92a81db02c7adc973f08d74c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: f7: Fix recent RTC change to build on F7.</title>
<updated>2015-10-30T23:40:00+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-10-30T22:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=165734522ee48f4452125d9c56b1a9e41d24f630'/>
<id>urn:sha1:165734522ee48f4452125d9c56b1a9e41d24f630</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Make RTC init skip startup if LTE is already enabled and ready.</title>
<updated>2015-10-30T13:13:42+00:00</updated>
<author>
<name>Peter Hinch</name>
<email>peter@hinch.me.uk</email>
</author>
<published>2015-10-27T10:55:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=38196344691ad32b7f80bb44489c069ceaecb1ec'/>
<id>urn:sha1:38196344691ad32b7f80bb44489c069ceaecb1ec</id>
<content type='text'>
This prevents the loss of RTC time when exiting from standby mode, since
the RTC is paused while it is being re-inited and this loses about 120ms.

Thanks to @chuckbook for the patch.
</content>
</entry>
</feed>
