Commit Graph

13065 Commits

Author SHA1 Message Date
Scott Shawcroft
7686f93ef4
Fix crash when getting board.SPI outside the VM
If one of the default pins was already in use it would crash.

The internal API has been refined to allow us to get the value
without causing an init of the singleton.

Fixes #1753
2019-04-05 19:06:37 -07:00
Dan Halbert
8b9e93329d
Merge pull request #1755 from tannewt/fix_tilegrid_bounds_check
Always check TileGrid's x, y
2019-04-05 17:51:04 -04:00
Scott Shawcroft
04a4e8a38d
Always check TileGrid's x, y
When using an int index you could end up writing past the end of
TileGrid's memory.

Fixes #1747
2019-04-05 13:10:47 -07:00
Dan Halbert
df058c971f
Merge pull request #1751 from makermelissa/ssd1331
Allow parameter data to be treated as commands for the ssd1331
2019-04-05 16:07:17 -04:00
Melissa LeBlanc-Williams
36b10104d6 Adjusted inline limit to fix Hallowing PL build 2019-04-05 12:17:16 -07:00
Melissa LeBlanc-Williams
97baa7899f Added comment regarding parameter loop 2019-04-05 11:11:27 -07:00
Melissa LeBlanc-Williams
7872a33f8b Merge branch 'master' of https://github.com/adafruit/circuitpython into ssd1331 2019-04-05 11:10:02 -07:00
Scott Shawcroft
b9e37818ea
Merge pull request #1748 from dhalbert/usb-disconnect
update tinyusb to fix disconnect/suspend issue with #1681
2019-04-05 10:22:09 -07:00
Dan Halbert
7798eb983d updated usb_descriptor submodule per @hathach 2019-04-05 11:52:38 -04:00
Dan Halbert
5f057d183a move pybadge to faster subjob 2019-04-05 11:32:58 -04:00
Dan Halbert
50d72ed993 shrink sparkfun_lumidrive to make room for large translations 2019-04-05 11:23:47 -04:00
Dan Halbert
4f201964a6 Merge remote-tracking branch 'adafruit/master' into usb-disconnect 2019-04-05 11:11:31 -04:00
Melissa LeBlanc-Williams
af3d809980 Updated boards files with displays 2019-04-04 23:18:15 -07:00
Melissa LeBlanc-Williams
8f1fc6c07d Added option to easily treat SPI parameter data as commands 2019-04-04 23:15:00 -07:00
Dan Halbert
b5bc8b3fc2
Merge pull request #1745 from dhalbert/rotaryio-typo-eic-refactor
ROTARYIO_MODULE typo; EIC interrupt handler refactor
2019-04-04 23:53:46 -04:00
Dan Halbert
682e83a63c Turn off rotaryio on pewpew10 so de_DE will fit 2019-04-04 20:28:32 -04:00
Dan Halbert
e5e9d2ba47 @hathach's changes; check cdc connected during string write 2019-04-04 18:58:35 -04:00
Dan Halbert
35cfc61607
Merge pull request #1746 from tannewt/fix_bitmap_wrap
Support multi-byte values with Bitmap
2019-04-04 18:17:02 -04:00
hathach
9d43a25d6e update tinyusb to fix disconnect/suspend issue with #1681 2019-04-04 17:59:20 -04:00
Dan Halbert
29df5930dd #if EIC handlers; turn off rotaryio in pirkey for space reasons 2019-04-04 16:48:38 -04:00
Scott Shawcroft
99b4913fda
Update translations 2019-04-04 13:38:05 -07:00
Dan Halbert
2528b67e77 update samd-peripherals 2019-04-04 16:36:14 -04:00
Dan Halbert
cdd77b5972 remove CPy-specific EIC handlers from samd-peripherals 2019-04-04 16:04:11 -04:00
Scott Shawcroft
6fcda1dec4
Support multi-byte values with Bitmap
It also corrects the behavior of single byte values.

Fixes #1744
2019-04-04 12:50:35 -07:00
Dan Halbert
5b0c1c8df9
Merge pull request #1743 from tannewt/fs_testing
A display fix and file system flush tweak
2019-04-03 22:12:39 -04:00
Scott Shawcroft
ceb6f2e4fc
Rework flash flush so it preserves the cache
This should make filesystem writes quicker and cause less heap
churn.
2019-04-03 18:28:27 -07:00
Scott Shawcroft
a5520f8a3d
Set the terminal tilegrid NULL after free
Without this, a double free can occur when a display (and terminal)
is released and then a crash occurs. Upon a second release,
different memory is released (sometimes the heap). When this is
followed by an allocation for the flash cache, the cache can
overwrite the active heap causing crashes.

Fixes #1667
2019-04-03 15:24:15 -07:00
Scott Shawcroft
9bfa625170
Merge pull request #1740 from caternuson/iss1739_insert
Fix shift right in displayio.Group
2019-04-03 10:18:44 -07:00
caternuson
5298119aa2 change direction of shift right 2019-04-03 09:21:34 -07:00
Dan Halbert
19278e0284
Merge pull request #1736 from nickzoic/circuitpython-nickzoic-1046-nrf-rtc-2
Circuitpython nickzoic 1046 nrf rtc 2
2019-04-02 17:38:24 -04:00
Dan Halbert
709de9ce9f
Merge pull request #1732 from ladyada/master
add airlift lite - samd51j19 + 2MB QSPI
2019-04-02 17:11:59 -04:00
Scott Shawcroft
2dda3df637
Merge pull request #1731 from makermelissa/ssd1351-fix
Improved readability of Single Byte Bounds code
2019-04-02 10:26:05 -07:00
ladyada
39098af7c1 add board build line 2019-04-02 13:05:46 -04:00
Melissa LeBlanc-Williams
f1e4a2ffb9 Removed unnecessary bit-ANDing 2019-04-01 19:52:35 -07:00
Nick Moore
fbcea96ec0 Update translations ... 2019-04-02 13:43:59 +11:00
Nick Moore
781d301bb6 Remove unnecessary MP_WEAK declarations 2019-04-02 13:33:22 +11:00
Scott Shawcroft
92095eb666 Update comment 2019-04-02 13:28:35 +11:00
Nick Moore
94bda3bde1 Change nRF RTC implementation to use RTC2 #1046
(to avoid interference with Bluetooth Softdevice. See
https://github.com/adafruit/circuitpython/pull/1534#issuecomment-478776240
with thanks to @bboser for pointing it out)
2019-04-02 13:28:22 +11:00
Nick Moore
6afe23d0b0 There isn't really a good way to calibrate this RTC adafruit/circuitpython#1046 2019-04-02 13:28:03 +11:00
Nick Moore
6206fa9a82 adafruit/circuitpython#1046 handle overflows in the RTC counter 2019-04-02 13:27:45 +11:00
Nick Moore
f846fa109e enable NRFX RTC adafruit/circuitpython#1046 2019-04-02 13:27:28 +11:00
Nick Moore
f88f9fd748 more fake RTC code ... adafruit/circuitpython#1046
(works if MP_WEAK common_hal_rtc_get_time is removed)
2019-04-02 13:27:13 +11:00
Nick Moore
4a5c52fbd6 starting on #1046 rtc for nRF 2019-04-02 13:27:00 +11:00
Melissa LeBlanc-Williams
8e9f75bff9 Merge branch 'master' of https://github.com/adafruit/circuitpython into ssd1351-fix 2019-04-01 18:56:08 -07:00
Dan Halbert
c9571fe1ea ROTARYIO_MODULE mistakenly omitted from module list 2019-04-01 17:59:59 -04:00
Dan Halbert
367f6584ae
Merge pull request #1734 from dhalbert/hallowing-shrink-build
shrink inline-limit to allow large Hallowing translation to fit
2019-04-01 14:10:00 -04:00
Dan Halbert
10e35f30f0 shrink inline-limit to allow large Hallowing translation to fit 2019-04-01 12:18:25 -04:00
ladyada
8159272a8b remove old comment 2019-03-31 23:17:19 -04:00
ladyada
89cf60eac3 add airlift lite - samd51j19 + 2MB QSPI 2019-03-31 19:20:15 -04:00
Melissa LeBlanc-Williams
8b4ca24e56 Improved readability of Single Byte Bounds code 2019-03-31 14:17:54 -07:00