<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/qstrdefsport.h, 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-04-16T12:18:09+00:00</updated>
<entry>
<title>py: Add rules for automated extraction of qstrs from sources.</title>
<updated>2016-04-16T12:18:09+00:00</updated>
<author>
<name>Jan Čapek</name>
<email>jan.capek@braiins.cz</email>
</author>
<published>2016-03-10T09:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d76c65f599b77aa275eda3d2248cde16f6be7e10'/>
<id>urn:sha1:d76c65f599b77aa275eda3d2248cde16f6be7e10</id>
<content type='text'>
- add template rule that converts a specified source file into a qstring file

- add special rule for generating a central header that contains all
  extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED
  variable. Each platform appends a list of sources that may contain
  qstrings into a new build variable: SRC_QSTR. Any autogenerated
  prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable.

- remove most qstrings from py/qstrdefs, keep only qstrings that
  contain special characters - these cannot be easily detected in the
  sources without additional annotations

- remove most manual qstrdefs, use qstrdef autogen for: py, cc3200,
  stmhal, teensy, unix, windows, pic16bit:

   - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,&lt;,&gt; etc.)
   - remove all port specific qstrdefs except for special strings
   - append sources for qstr generation in platform makefiles (SRC_QSTR)
</content>
</entry>
<entry>
<title>stmhal: Expose flash and SD card as proper objects with block protocol.</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:21:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3770cd2e7062d0844cee7b69ec9d9f80a2ad1206'/>
<id>urn:sha1:3770cd2e7062d0844cee7b69ec9d9f80a2ad1206</id>
<content type='text'>
You can now create (singleton) objects representing the flash and SD
card, using:

    flash = pyb.Flash()
    sdcard = pyb.SDCard()

These objects provide the block protocol.
</content>
</entry>
<entry>
<title>stmhal: Add os.statvfs</title>
<updated>2016-01-19T12:29:47+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2016-01-16T05:56:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f22844b4e5d1990f3be5433a45c7eb4e2c07a297'/>
<id>urn:sha1:f22844b4e5d1990f3be5433a45c7eb4e2c07a297</id>
<content type='text'>
Implement enough of statvfs to determine the amount of free
space on a volume.
</content>
</entry>
<entry>
<title>extmod/fsusermount: Move module qstrs to global pool from stmhal port.</title>
<updated>2015-12-25T17:22:16+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-25T17:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b4c65c253fbd8d020df45ae585c9d1b97ef361a6'/>
<id>urn:sha1:b4c65c253fbd8d020df45ae585c9d1b97ef361a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Add pyb.irq_stats() to get statistics about IRQ calls.</title>
<updated>2015-12-22T21:00:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-10T13:25:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=401af50dc081faa421e7caef18fde2beb15632e4'/>
<id>urn:sha1:401af50dc081faa421e7caef18fde2beb15632e4</id>
<content type='text'>
Adds a lot of code, makes IRQs a bit less efficient, but is very useful
for debugging.  Usage: pyb.irq_stats() returns a memory view that can be
read and written, eg:

    list(pyb.irq_stats())
    pyb.irq_stats()[0]
    pyb.irq_stats()[0] = 0

The patch provides general IRQ_ENTER() and IRQ_EXIT() macros that can be
modified to provide further IRQ statistics if desired.
</content>
</entry>
<entry>
<title>ports: Rename "machine" module to "umachine".</title>
<updated>2015-12-18T00:39:52+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-18T00:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2eb844e0b4e649034115dd6ca77dcdecd92ef547'/>
<id>urn:sha1:2eb844e0b4e649034115dd6ca77dcdecd92ef547</id>
<content type='text'>
To let unix port implement "machine" functionality on Python level, and
keep consistent naming in other ports (baremetal ports will use magic
module "symlinking" to still load it on "import machine").

Fixes #1701.
</content>
</entry>
<entry>
<title>stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants.</title>
<updated>2015-11-09T20:10:31+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-09T20:10:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=746b752b8efd089c8dd37e615949315973a8d370'/>
<id>urn:sha1:746b752b8efd089c8dd37e615949315973a8d370</id>
<content type='text'>
This makes select.poll() interface fully compatible with CpYthon. Also, make
their numeric values of these options compatible with Linux (and by extension,
with iBCS2 standard, which jopefully means compatibility with other Unices too).
</content>
</entry>
<entry>
<title>stmhal: Bring Pin class close to new machine module specification.</title>
<updated>2015-10-19T21:50:59+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-19T21:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2f96b1982a84b21788756d9220b5c4ead657e8f7'/>
<id>urn:sha1:2f96b1982a84b21788756d9220b5c4ead657e8f7</id>
<content type='text'>
Looks like we can use the same Pin class for legacy pyb module and new
machine module.
</content>
</entry>
<entry>
<title>stmhal: Implement os.dupterm (was pyb.repl_uart).</title>
<updated>2015-10-19T20:57:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-19T20:57:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=83158e0e7f12d0454bb5efb27cd9071123e3be75'/>
<id>urn:sha1:83158e0e7f12d0454bb5efb27cd9071123e3be75</id>
<content type='text'>
pyb.repl_uart still exists but points to os.dupterm.
</content>
</entry>
<entry>
<title>stmhal: Add sleep_{ms,us} and ticks_{ms,us,cpu,diff} to time module.</title>
<updated>2015-10-19T20:45:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-19T20:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d8066e999d7ed27a2ebef449926d9772119296cf'/>
<id>urn:sha1:d8066e999d7ed27a2ebef449926d9772119296cf</id>
<content type='text'>
pyb module still has pyb.delay and pyb.udelay, but these now point to
time.sleep_ms and time.sleep_us respectively.
</content>
</entry>
</feed>
