Commit Graph

13021 Commits

Author SHA1 Message Date
Scott Shawcroft fce63b17c6
Merge pull request #1678 from dhalbert/nrf-nfc-as-gpio
Allow NFC pins to be used for other purposes.

Fixes #1300
2019-03-21 12:11:45 -07:00
Dan Halbert fe555a4098 Allow NFC pins to be used for other purposes. 2019-03-21 11:22:58 -04:00
Dan Halbert 26262cd477
Merge pull request #1670 from tannewt/fontio
Move Glyph and BuiltinFont into fontio
2019-03-20 17:36:04 -04:00
Scott Shawcroft 6f288ebb56
Merge pull request #1675 from dhalbert/cpython-compat
enable MICROPY_CPYTHON_COMPAT for most builds except CIRCUITPY_SMALL_BUILD
2019-03-20 14:30:17 -07:00
Scott Shawcroft 9f3ca66f97
Merge pull request #1676 from pewpew-game/bug1671
Make displayio.Palette support more than 255 colors
2019-03-20 14:13:18 -07:00
Dan Halbert eca23a7279 remove i2cslave from feather m0 crickit 2019-03-20 15:38:52 -04:00
Radomir Dopieralski f5cfd6e1f1 Make displayio.Palette support more than 255 colors
Fix #1671
2019-03-20 20:36:05 +01:00
Dan Halbert fbf166af1a enable MICROPY_CPYTHON_COMPAT for most builds except CIRCUITPY_SMALL_BUILD; remove a few other things to make fit 2019-03-20 14:36:24 -04:00
Dan Halbert 2459eabd66 flush flash filesystem once a second 2019-03-20 12:21:36 -04:00
Scott Shawcroft 4d4b7adcd8
Fix up translation file locations 2019-03-19 18:38:16 -07:00
Scott Shawcroft 4b0afc855d
Fix up sphinx 2019-03-19 18:37:41 -07:00
Scott Shawcroft 5e2fec714c
Move Glyph and BuiltinFont into fontio
It was confusing in displayio.

Fixes #1662
2019-03-19 16:22:09 -07:00
Scott Shawcroft 8543695f9d
Merge pull request #1653 from python-ugame/master
Add frozen stage module to ugame10 board
2019-03-19 09:42:20 -07:00
Radomir Dopieralski d81db3bced Merge branch 'master' of github.com:adafruit/circuitpython 2019-03-19 09:20:05 +01:00
Dan Halbert b4b8ffa0e2
Merge pull request #1661 from dhalbert/nrf-internal-flash-fixes
nrf: fix internal flash writes
2019-03-18 10:41:05 -04:00
Dan Halbert aff4e341f9 make translate 2019-03-18 09:56:43 -04:00
Dan Halbert 9cceea0d68 nrf: fix internal flash writes 2019-03-18 09:11:40 -04:00
Dan Halbert 60f76941ef
Merge pull request #1649 from dhalbert/reload-flush-filesystem
flush filesystem before resetting heap
2019-03-17 09:17:04 -04:00
Radomir Dopieralski a50ee4f650 Add frozen stage module to ugame10 board
And also ignore some more pins.

This is needed for the builds on the circuitpython.org to be functional.
2019-03-17 14:03:50 +01:00
Dan Halbert a10e4fe21e also flush fileystem on soft reboot from repl 2019-03-16 17:44:25 -04:00
Dan Halbert 43915133a1 after code.py runs, flush filesystem before resetting heap 2019-03-16 16:49:32 -04:00
Dan Halbert 0cdb5fcfd9
Merge pull request #1648 from tannewt/board_i2c_crash
Long live shared bus singletons
2019-03-15 14:04:55 -04:00
Scott Shawcroft a086631607
Long live shared bus singletons
Without long living them you may clone them when long living a
module that uses them.

Fixes #1603
2019-03-14 15:17:53 -07:00
Dan Halbert 634791acdc
Merge pull request #1647 from tannewt/swd_pin_reuse
Fix custom pin in use logic for SWD
2019-03-14 15:45:48 -04:00
Scott Shawcroft ff7e729032
Fix custom pin in use logic for SWD
This should allow you to use SWD pins unless a debugger is attached.
You may have trouble connecting to SWD when CircuitPython has already
begun using them.

Fixes #1633
2019-03-14 11:11:35 -07:00
Dan Halbert 74083dafed
Merge pull request #1645 from tannewt/fix_directory_move
Fix directory move into itself and prevent more fs changes when read-only
2019-03-13 21:28:59 -04:00
Scott Shawcroft e05ab64398
Squeeze down the feather crickit build 2019-03-13 17:20:18 -07:00
Scott Shawcroft 6c01aba05b
Prevent other filesystem changes besides file writes
Such as moving files, adding directories and changing the label.
2019-03-13 16:10:53 -07:00
Scott Shawcroft 7482870164
Throw an error when moving a directory into itself.
Fixes #1192
2019-03-13 16:10:52 -07:00
Dan Halbert 494a9d3825
Merge pull request #1640 from tannewt/final_displayio_changes
Final displayio changes before 4.0.0
2019-03-13 18:24:04 -04:00
Scott Shawcroft b4601a351c
Merge pull request #1641 from dhalbert/pwmout-var-freq-bug
wrong arg type for PWMOut variable_frequency
2019-03-13 11:13:59 -07:00
Scott Shawcroft f72d2733df
Build pewpew10 on Travis so we know it builds. 2019-03-13 10:09:24 -07:00
Dan Halbert 97140e6a62 wrong arg type for PWMOut variable_frequency 2019-03-12 21:28:30 -04:00
Scott Shawcroft 946790bfb5
Add better PewPew error messages and update translations 2019-03-12 17:21:15 -07:00
Scott Shawcroft afbf59019e
Update displayio docs to add detail to display bus comments
Fixes #1599
2019-03-12 17:18:33 -07:00
Scott Shawcroft 224e9b1009
Standardize TileGrid to x and y properties over position
This brings it inline with Group. Also fixes #1613

This also includes a number of fixes for where a method is called
through a subclass. We now correctly get the native object.
Fixes #1567

Lastly, this adds subscript support to TileGrid for changing tile
indices. Similar to Bitmap, it accepts ints or 2-tuples.
2019-03-12 17:18:33 -07:00
Scott Shawcroft 96a924f5f0
Turn off networking on M0s.
It takes 10k of code space and isn't very useful because of the
M0's limited RAM. Disabling it allows us to add other things.
2019-03-12 17:18:30 -07:00
Scott Shawcroft ea45877ca5
Accept x and y kwargs into Group for initial position. 2019-03-12 17:17:32 -07:00
Dan Halbert 2169a62409
Merge pull request #1600 from jreese/pybadge
Add basic Pybadge board definition
2019-03-12 20:13:01 -04:00
Scott Shawcroft 2e500a8a29
Copy inline setting on feather m0 express that the metro has. 2019-03-12 14:06:01 -07:00
Scott Shawcroft 911509c80c
Fix function signature 2019-03-12 14:05:31 -07:00
Scott Shawcroft 3f6713abc1
Fix unix build by using safe mode stub 2019-03-12 11:56:35 -07:00
Scott Shawcroft d6b2199f36
Stub out safe mode for mpy-cross 2019-03-12 11:18:30 -07:00
Scott Shawcroft 545574dad9
Build pybadge on Travis 2019-03-12 11:18:29 -07:00
Scott Shawcroft b1c572e82e
Fixup the pybadge definition so the screen works. 2019-03-12 11:18:29 -07:00
Scott Shawcroft 37e10d4a81
Be more careful when initing the board outside the VM. 2019-03-12 11:18:29 -07:00
Scott Shawcroft 03be42ab84
Enter safe mode when an allocation is attempted on an uninitialized heap. 2019-03-12 11:18:26 -07:00
John Reese ef4a74e201
Add basic Pybadge board definition
Currently boots on board and can connect to REPL,
but does not appear as mountable drive in OS.
Starting REPL gives the following error message:

```
You are running in safe mode which means something unanticipated happened.
Looks like our core CircuitPython code crashed hard. Whoops!
Please file an issue at https://github.com/adafruit/circuitpython/issues
 with the contents of your CIRCUITPY drive and this message:
Crash into the HardFault_Handler.
```
2019-03-12 11:12:35 -07:00
Scott Shawcroft cfb54f0263
Merge pull request #1638 from dhalbert/disable-SPIM3
nrf: Disable SPIM3; add SPIM1; remove TWIM1
2019-03-12 10:57:56 -07:00
Dan Halbert c4586c0531 nrf: Disable SPIM3; add SPIM1; remove TWIM1 2019-03-12 08:31:03 -04:00