aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2017-02-02atmel-samd: Update internal pins for Feather M0 Express Rev BScott Shawcroft
2017-02-01Add more PWMOut examples and rename the duty constructor argumentScott Shawcroft
to duty_cycle so that its consistent with the attribute. Fixes #84
2017-02-01atmel-samd: Switch Metro back to including bootloader space.Scott Shawcroft
2017-02-01atmel-samd: Turn down the brightness of the status colors.Scott Shawcroft
2017-01-30Add frequency changing support to PWMOut.Scott Shawcroft
You can either set it once up front, or set variable_frequency on custruction to indicate that the frequency must be able to change. This informs whether a timer can be shared amongst pins. This also adds persistent clock calibration on atmel-samd. Once the device has synced its clock frequency over USB it will remember that config value until USB is used again. This helps ensure the clock frequency is similar on and off USB. Lastly, this also corrects time.sleep() when on USB by correcting the tick counter.
2017-01-19atmel-samd: stop overwriting the flash FS.Scott Shawcroft
2017-01-19atmel-samd: Change new flash FS name to CIRCUITPYScott Shawcroft
Fixes #79
2017-01-19atmel-samd: Reset the DAC on soft reset. Fixes #80.Scott Shawcroft
2017-01-19atmel-samd: Fully reset the ADC state on reset to prevent a crash.Scott Shawcroft
2017-01-18atmel-samd: Fix two more SERCOM configs, PA07 and PA06.Scott Shawcroft
2017-01-18atmel-samd: Fix PA00 and PA01 sercoms. New CircuitPlayground prototype pinout.Scott Shawcroft
2017-01-17atmel-samd: Fix neopixel timing by forcing the NVM cache to be ↵0.8.3Scott Shawcroft
deterministicly timed. Otherwise, bit order changes code timing. Fixes #74
2017-01-17atmel-samd: Fix whitespace.Scott Shawcroft
2017-01-17atmel-samd: Support multiple ADC channels at once.Scott Shawcroft
Fixes #61
2017-01-16More fixes to pin pull thanks to jerryn:Scott Shawcroft
* Correct atmel-samd pin pull state. * Correct conversion from python pull objects to C enum.
2017-01-16Fix pull kwarg DigitalInOut.switch_to_input and add example use to docs.Scott Shawcroft
Thanks to jerryn from the Adafruit Forum for finding the bug!
2017-01-13Add more description of installing the library bundle.Scott Shawcroft
2017-01-13atmel-samd: Ensure pin state for first script run because we don't0.8.2Scott Shawcroft
know the post-bootloader state. Also, color the status LED purple for ValueErrors which are used to indicate a pin in use.
2017-01-12Travis is actually running trusty. xenial isn't supported yet.0.8.1Scott Shawcroft
2017-01-12tests: Update ramdisk test to show more free space because our root ↵Scott Shawcroft
directory is smaller than upstream's.
2017-01-12atmel-samd: Split UART pin names into two so that all names startScott Shawcroft
with a letter and are therefore valid Python. Fixes #73.
2017-01-12Add persistent VFS shares so that the devices can be used with USBScott Shawcroft
that is present across soft-reset.
2017-01-12atmel-samd: Turn off FRAMEBUF because it takes a lot of space.Scott Shawcroft