<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/modmachine.c, branch travis-clang</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=travis-clang</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=travis-clang'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-12-12T23:21:36+00:00</updated>
<entry>
<title>unix: Move modmachine into unix directory</title>
<updated>2015-12-12T23:21:36+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-12T22:15:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f9251659424664ed3f30c2b2a990bd7b9fa22c65'/>
<id>urn:sha1:f9251659424664ed3f30c2b2a990bd7b9fa22c65</id>
<content type='text'>
This leaves behind the common functionality in extmod/machine_mem.c
which can be used by all ports.
</content>
</entry>
<entry>
<title>py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.</title>
<updated>2015-11-29T14:25:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T17:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=999cedb90ff0827cdb9dfe0e4faa6ebc1739d271'/>
<id>urn:sha1:999cedb90ff0827cdb9dfe0e4faa6ebc1739d271</id>
<content type='text'>
This allows the mp_obj_t type to be configured to something other than a
pointer-sized primitive type.

This patch also includes additional changes to allow the code to compile
when sizeof(mp_uint_t) != sizeof(void*), such as using size_t instead of
mp_uint_t, and various casts.
</content>
</entry>
<entry>
<title>py: Add MP_ROM_* macros and mp_rom_* types and use them.</title>
<updated>2015-11-29T14:25:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T13:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cbf7674025814797f5c537d6d1c195efe58ccaaf'/>
<id>urn:sha1:cbf7674025814797f5c537d6d1c195efe58ccaaf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modmachine: Use uintptr_t instead of mp_uint_t for address type.</title>
<updated>2015-11-29T14:25:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-27T12:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=278f3592d40ac8826912b6587fe10ee0bc7c49a1'/>
<id>urn:sha1:278f3592d40ac8826912b6587fe10ee0bc7c49a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modmachine: Avoid conflicts with system PAGE_SIZE define, if any.</title>
<updated>2015-08-17T21:31:31+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-08-17T21:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2a6660ba595bd85a637249cb96a5f451a1aa4034'/>
<id>urn:sha1:2a6660ba595bd85a637249cb96a5f451a1aa4034</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modmachine: Implement physical memory access using /dev/mem (Linux, etc).</title>
<updated>2015-07-08T08:37:23+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-07-05T21:08:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=354d17523f599746a84e5b22fa670c9910137947'/>
<id>urn:sha1:354d17523f599746a84e5b22fa670c9910137947</id>
<content type='text'>
This requires root access. And on recent Linux kernels, with
CONFIG_STRICT_DEVMEM option enabled, only address ranges listed in
/proc/iomem can be accessed. The above compiled-time option can be
however overriden with boot-time option "iomem=relaxed".

This also removed separate read/write paths - there unlikely would
be a case when they're different.
</content>
</entry>
<entry>
<title>modmachine: Add new module to access hardware, starting with physical memory.</title>
<updated>2015-05-04T10:05:12+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-05-03T17:25:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0116218fa89cc88d5d5ed7291c4f8d3412f78543'/>
<id>urn:sha1:0116218fa89cc88d5d5ed7291c4f8d3412f78543</id>
<content type='text'>
Refactored from "stm" module, provides mem8, mem16, mem32 objects with
array subscript syntax.
</content>
</entry>
</feed>
