aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-24Add PulseIn support which can be used to measure a series of pulse widths.0.9.2Scott Shawcroft
This is useful for infrared input and DHT sensors.
2017-03-10Add PulseOut which can pulse a PWMOut for IR remote transmission.Scott Shawcroft
2017-03-10esp8266: Turn off framebuf to get space.Scott Shawcroft
2017-03-10Fix duty_cycle constructor argument to PWMOut.Scott Shawcroft
2017-03-09atmel-samd: Turn on stack checking so infinite recursion doesn't completely ↵Scott Shawcroft
crash.
2017-03-07Update the Python intersphinx reference to Python 3 https.Scott Shawcroft
2017-03-07shared-bindings: Do a pass on the docs and make sure keyword only arguments ↵Scott Shawcroft
make sense and are documented correctly. Fixes #109
2017-03-07shared-bindings: Reenable struct_time. It was turned off when playing with ↵Scott Shawcroft
LTO and never re-enabled.
2017-02-28shared-bindings: Fix two more try_locks. Copy and paste failed me.0.9.1Scott Shawcroft
2017-02-27atmel-samd: Add USB HID mouse and keyboard support.Scott Shawcroft
2017-02-26atmel-samd: Use link time optimization to reduce code size of builds whichScott Shawcroft
share space with the file system. "Express" builds with SPI flash crash the compiler for some reason so its currently disabled for them.
2017-02-24py: Fix recursion exception.Scott Shawcroft
2017-02-24py: Fix varg helpers by adding vlist variant of mp_obj_new_exception_msgScott Shawcroft
2017-02-24atmel-samd: Fix linking by providing cpu info.Scott Shawcroft
2017-02-24Make slice make_new match mp_make_new_fun_t exactly, check the input type ↵Scott Shawcroft
and enable it for qemu tests.
2017-02-24Correct name of mp_raise_NotImplementedError to make error name.Scott Shawcroft
2017-02-24Make the build quieter by default.Scott Shawcroft
2017-02-24Make more type structures const to save RAM.Scott Shawcroft
2017-02-24Add indices() support to slice.Scott Shawcroft
2017-02-24Switch exception throwing to mp_raise helpers. It saves a little code space ↵Scott Shawcroft
each time to share the call.
2017-02-24atmel-samd: Switch to nano newlib and add size script to build.Scott Shawcroft
2017-02-22Throw an error when sleep time is negative.Scott Shawcroft
2017-02-22Check that neopixel write is actually given a DigitalInOut.Scott Shawcroft
2017-02-22ESP8266: Stop supporting 400khz neopixels through old esp module API.0.9.0Scott Shawcroft
It still accepts the parameter for backwards compatibility and to provide a good error when it can't work. Using the `neopixel_write` module instead is recommended because its available on all CircuitPython supported ports.
2017-02-21ESP8266: Add reset note to webrepl init.Scott Shawcroft
2017-02-19atmel-samd: Fix build by correcting internal neopixel writes.Scott Shawcroft
2017-02-19atmel-samd: Save a little space by tweaking error messages.Scott Shawcroft
2017-02-19atmel-samd: Remove support for UART REPL from Arduino Zero.Scott Shawcroft
2017-02-19Save space by only supporting 800khz neopixels.Scott Shawcroft
2017-02-19Two I2C fixes:Scott Shawcroft
1) Bus error will be thrown on read/write errors with errno set. (Read didn't used to fail at all.) 2) try_lock correctly returns boolean whether lock was grabbed. Fixes #87
2017-02-19Switch enum-like attributes to all caps and add print support for them. Make ↵Scott Shawcroft
room for this functionality by adding a shared __enter__ function object. #76
2017-02-19atmel-samd: Remove pin reference from AnalogOut error. Fixes #83Scott Shawcroft
2017-02-19Add print support to Pin. #83 #76Scott Shawcroft
2017-02-19Add CircuitPlayground, Trinket and Gemma to Travis build.Scott Shawcroft
2017-02-19atmel-samd: Stop calibrating the crystal for Gemma and Trinket. We need the ↵Scott Shawcroft
space for other code.
2017-02-19esp8266: Allow for MOSI or MISO only SPI. Fixes #65Scott Shawcroft
2017-02-19Fix pin free check to ignore None objects. Fixes #89Scott Shawcroft
2017-02-19nativeio.SPI: Remove extraneous constructor args because they are in configure.Scott Shawcroft
2017-02-15ESP8266: Make sure SPI write finishes before returning.Scott Shawcroft
Fixes #62.
2017-02-15ESP8266: Rework the execution flow to match the SAMD21.Scott Shawcroft
* Support code.txt and variants. * Add wait state for connection indicated by receiving a character. * Add another wait state on every soft reset to give instruction for soft reset rather than entering REPL. AMPY use remains the same. The wait states can be exited with CTRL-C just like the REPL. Fixes #70.
2017-02-15Fix the keyboard exception in REPL by ignoring forced exit results when in ↵Scott Shawcroft
REPL. Also, print the exception correctly. Fixes #57
2017-02-14Fix tests that rely on sys.implementation.name to work with circutpython ↵Scott Shawcroft
response.
2017-02-14Make mp_float_t conversions explicit to silence warnings of converting ↵Scott Shawcroft
floats to doubles.
2017-02-13atmel-samd: Clean up I2C correctly when an initialization error occurs. ↵Scott Shawcroft
Fixes #95.
2017-02-13Change sys.implementation to return circuitpython and the circuitpython ↵Scott Shawcroft
version number that doesn't start with v. Fixes #86.
2017-02-10atmel-samd: Rework the clock configs to only be crystalless when needed by ↵Scott Shawcroft
the hardware.
2017-02-10SPI tweaks for SD Cards:Scott Shawcroft
* Always init SPI to 250k to start for SD cards. * Add ability to configure byte written during read. * Add ability to read and write to portions of buffers like existing I2C API.
2017-02-03Switch design guide to rST so that the table works. Also add details based ↵0.8.4Scott Shawcroft
on more feedback from @deshipu. Thanks!
2017-02-03Update after feedback from @deshipu. ThanksScott Shawcroft
2017-02-02Add a draft of a new design guide. This is meant to capture the goals of ↵Scott Shawcroft
CircuitPython and the corresponding design decisions.