Remove code size check. Its causing builds to fail because the new GC…
…C made it slightly larger.
Merge pull request #138 from dhalbert/add-ure-et-al
Enable ure, center, partition, frozenset, splitlines, reversed for Express builds.
atmel-samd:renamed spi flash to confuse with the actual spi flash
Merge pull request #135 from robomike/pins
Renamed spi flash to ext flash not to confuse with the actual spi flash
Change the approach for input so that its not included in every singl…
…e build. Put it next to readline instead.
Fix broken mp_stack_check: force mp_stack_ctrl_init() and mp_stack_us…
…age() not to be inlined even with -flto
Merge pull request #146 from dhalbert/stack_check-fix
Fix broken mp_stack_check() when using -flto
shared-bindings: Update docs to remove with statements from examples …
…but add more detail to the design guide about their use.
py: Prevent mp_arg_check_num from being optimized away by the compiler.
Also, change the MICROPY_ERROR_REPORTING checks to macros to make it clear the compiler can handle it immediately. Fixes #154
atmel-samd: Handle TCC2 correctly. Unlike the other TCCs its 16bit
rather than 24bit. Setting the period for more than a 16bit number caused the TCC to be in a weird state where resetting it would hard crash. Fixes #153
atmel-samd: Reset TCC channel in use array on reset.
This fixes spurious "All timers in use" exceptions. Thanks to @ladyada for finding this issue.
atmel-samd: Set up the tcc_instance when using an already active TCC.
This fixes a hard lock that happens when using a second channel on an in use TCC. The lock occurred when setting the duty cycle on the channel because the hw address was not available to ASF. Thanks to @ladyada for finding the bug.
atmel-samd: Fix TCC1, its two channels and four wave outputs.
Previously it was configured as four and four which configured the incorrect channels.
atmel-samd: Fix sharing TCCs by statically storing the current period.
A previous fix improved the duty_cycle channel value computation by removing the reliance on the PER register which gave old values. It saved the period on the object but failed to set anything for reused timers. So, this breaks it out into a separate array that can be shared across all object regardless of whether it used a new or existing timer.
shared-bindings: Move enum-like classes out of DigitalInOut into digi…
…talio. Also, rename Direction.IN to Direction.INPUT and Direction.OUT to Direction.OUTPUT. This simplifies using them. Prior to the nativeio split this would have led to clutter in the top-level namespace but having digitalio prevents this. Fixes #152
atmel-samd: Add user initiated safe mode and rework board.c for
board specific functionality. Fixes #155
atmel-samd: Introduce board reset mechanic used on CircuitPlayground
Express to ensure the Neopixels are off after reloads.