Commit Graph

12902 Commits

Author SHA1 Message Date
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
Scott Shawcroft
8f57606513
Merge pull request #1635 from caternuson/iss1634_SPEAKER
add SPEAKER pin alias for PyPortal
2019-03-11 19:16:01 -07:00
Dan Halbert
eec144d901
Merge pull request #1637 from tannewt/tweak_file_updater
Update board info build to handle top level list.
2019-03-11 22:15:42 -04:00
caternuson
46fc8a8a86 change order so SPEAKER is first 2019-03-11 17:45:27 -07:00
Scott Shawcroft
cac9da37f9
Update board info build to handle top level list. 2019-03-11 17:07:15 -07:00
Dan Halbert
e3e35a5048
Merge pull request #1624 from tannewt/add_translate_files
Add translation file locations back.
2019-03-11 19:32:05 -04:00
Scott Shawcroft
ac136a21b1
Merge pull request #1632 from pewpew-game/pewpew-brightness
Add default devices and tweak brightness in boards/pewpew10
2019-03-11 16:27:35 -07:00
caternuson
53b7055283 add SPEAKER pin alias for PyPortal 2019-03-11 15:12:29 -07:00
Radomir Dopieralski
caf51cf4eb Add default devices and tweak brightness in boards/pewpew10 2019-03-11 19:09:21 +01:00
Scott Shawcroft
5c104c934f
Add translation file locations back.
Skip line numbers because they cause diff churn. Also, keep sorting
by msgid to prevent churn from adding new files.
2019-03-08 12:47:04 -08:00
Scott Shawcroft
186e315911
Merge pull request #1622 from sommersoft/en_ARR
Add A Pirate Translation (English)
2019-03-08 11:24:08 -08:00
sommersoft
3f5559df9e outdated .po file was outdated. oops. 2019-03-07 21:48:01 -06:00
sommersoft
3a738af510 Merge branch 'master' of https://github.com/adafruit/circuitpython into en_ARR 2019-03-07 18:51:14 -06:00
sommersoft
c4d627a877 inital commit for English Pirate translation 2019-03-07 18:50:43 -06:00
Dan Halbert
2de8236979
Merge pull request #1620 from dhalbert/display-transactions-fix
Rework displayio display bus transaction handling during refresh
2019-03-07 10:19:42 -05:00
Dan Halbert
26ed411936 Shrink build so de_DE fits 2019-03-07 07:47:18 -05:00
Dan Halbert
1f31877d55 Rework background display task to allow reads from SPI SD card during display. Clarify code. Handle multiple displays better. 2019-03-07 00:08:16 -05:00
Dan Halbert
c854f6617a check display-bus transaction status and act accordingly 2019-03-06 13:45:48 -05:00
Dan Halbert
2eaa98ad71
Merge pull request #1601 from penguindustin/master
added height and width attributes for displayio
2019-03-06 12:43:55 -05:00
Dustin Mendoza
4145f87fcd changed from mp_int_t to uint16_t 2019-03-05 21:25:09 -08:00