<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/modpyb.c, branch 2.2.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-07-31T08:35:40+00:00</updated>
<entry>
<title>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>stmhal: Clean up some header includes.</title>
<updated>2017-07-03T07:37:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-03T07:37:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=80b31dc0972eca3f67dd2be7518b133e316e8f32'/>
<id>urn:sha1:80b31dc0972eca3f67dd2be7518b133e316e8f32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Convert all module and method tables to use MP_ROM macros.</title>
<updated>2017-05-06T07:03:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-05-06T07:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0986675451edbdcbe31d90ddacf8f6dc3327a4ae'/>
<id>urn:sha1:0986675451edbdcbe31d90ddacf8f6dc3327a4ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/modpyb: Use utime ticks ms/us functions instead of custom ones.</title>
<updated>2017-03-02T04:43:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-02T04:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=78185e6a6ca32e8112b9e6f17d177d023d01938b'/>
<id>urn:sha1:78185e6a6ca32e8112b9e6f17d177d023d01938b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Rename sys_tick ticks/delay functions to corresp. mp_hal ones.</title>
<updated>2017-03-02T04:32:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-02T04:32:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=89738e8240b0ae6dcc24c48d8e9e5078da90e15a'/>
<id>urn:sha1:89738e8240b0ae6dcc24c48d8e9e5078da90e15a</id>
<content type='text'>
The renames are:
HAL_Delay -&gt; mp_hal_delay_ms
sys_tick_udelay -&gt; mp_hal_delay_us
sys_tick_get_microseconds -&gt; mp_hal_ticks_us

And mp_hal_ticks_ms is added to provide the full set of timing functions.

Also, a separate HAL_Delay function is added which differs slightly from
mp_hal_delay_ms and is intended for use only by the ST HAL functions.
</content>
</entry>
<entry>
<title>stmhal: Add pyb.fault_debug() function, to control hard-fault behaviour.</title>
<updated>2017-02-06T02:22:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-06T02:19:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=27c149efe030b6fd24c0cc1475ea509da1a72821'/>
<id>urn:sha1:27c149efe030b6fd24c0cc1475ea509da1a72821</id>
<content type='text'>
This new function controls what happens on a hard-fault:
- debugging disabled: board will do a reset
- debugging enabled: board will print registers and stack and flash LEDs

The default is disabled, ie to do a reset.  This is different to previous
behaviour which flashed the LEDs and waited indefinitely.
</content>
</entry>
<entry>
<title>stmhal: Convert to use VFS sub-system and new ooFatFs component.</title>
<updated>2017-01-27T12:22:15+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-27T12:11:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=84c614e7290804e8b8d7ebff03ca35a4a4c5fcf1'/>
<id>urn:sha1:84c614e7290804e8b8d7ebff03ca35a4a4c5fcf1</id>
<content type='text'>
This patch makes the following configuration changes:
- MICROPY_FSUSERMOUNT is disabled, removing old mounting infrastructure
- MICROPY_VFS is enabled, giving new VFS sub-system
- MICROPY_VFS_FAT is enabled, giving uos.VfsFat type
- MICROPY_FATFS_OO is enabled, to use new ooFatFs lib, R0.12b

User facing API should be almost unchanged.  Most notable changes are
removal of os.mkfs (use os.VfsFat.mkfs instead) and pyb.mount doesn't
allow unmounting by passing None as the device.
</content>
</entry>
<entry>
<title>py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.</title>
<updated>2016-10-21T05:26:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-18T00:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2'/>
<id>urn:sha1:4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2</id>
<content type='text'>
In order to have more fine-grained control over how builtin functions are
constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific,
with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW.  These names now
match the MP_DEFINE_CONST_FUN_OBJ macros.
</content>
</entry>
<entry>
<title>stmhal/modutime: Refactor to use extmod/utime_mphal.c.</title>
<updated>2016-10-14T17:42:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-10-14T17:42:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f059563507502d996c1d7dae3db6dc5a6b83d97b'/>
<id>urn:sha1:f059563507502d996c1d7dae3db6dc5a6b83d97b</id>
<content type='text'>
This includes making sure that utime_mphal's sleep_ms() and sleep_us()
don't sleep on negative arguments.
</content>
</entry>
<entry>
<title>all: Remove 'name' member from mp_obj_module_t struct.</title>
<updated>2016-09-21T14:23:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-21T00:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f'/>
<id>urn:sha1:93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f</id>
<content type='text'>
One can instead lookup __name__ in the modules dict to get the value.
</content>
</entry>
</feed>
