Commit Graph

12660 Commits

Author SHA1 Message Date
Max Holliday a2936c4c20 adding SAM32 board
SAMD51 running circuitpython talking to an ESP32 running micropython.
Full board details at: https://github.com/maholli/SAM32
2019-02-05 17:22:34 -08:00
Scott Shawcroft 041a84e8f9
Merge pull request #1520 from tannewt/check_seq_multiply_for_overflow
Check sequence multiply for length overflow
2019-02-04 21:23:27 -08:00
Scott Shawcroft 844c20106b
Turn off `micropython.mem_info` on SAMD to get ~1k back 2019-02-04 18:00:18 -08:00
Scott Shawcroft 0c50154c83
Use generic overflow so 64 bit is handled ok. 2019-02-04 16:11:16 -08:00
Scott Shawcroft c60f77d5ab
Check sequence multiply for length overflow
Fixes #1279
2019-02-04 15:33:36 -08:00
Kattni 9bcc38e995
Merge pull request #1519 from tannewt/speed_debug
Add fast seek support and turn on auto brightness by default
2019-02-04 17:56:40 -05:00
Scott Shawcroft b249243a9f
Fix allocation size 2019-02-04 13:39:51 -08:00
Scott Shawcroft 90e5964703
Set auto brightness on by default for boards with displays built in. 2019-02-03 13:42:03 -08:00
Scott Shawcroft a393a6e0c5
Add fast seek support to file objects 2019-02-03 13:41:20 -08:00
Scott Shawcroft 3d07571029
Merge pull request #1515 from tannewt/fix_long_live
Fix a couple long live issues
2019-02-01 16:40:33 -08:00
Scott Shawcroft 5555a24479
Never long live the main dictionary.
It's contents change often and may be referenced elsewhere.

Fixes #1443
2019-02-01 16:05:37 -08:00
Scott Shawcroft a39fc94dde
Don't long live class attributes
When they are added later, they are also referenced in the main
dictionary.

Fixes #1218
2019-02-01 16:04:16 -08:00
Scott Shawcroft 3af57f3e92
Fix up heap analysis for dynamic heap location 2019-02-01 16:03:37 -08:00
Dan Halbert 12917d323d
Merge pull request #1513 from tannewt/rotation
Add support for display rotation and raw commands
2019-02-01 13:35:26 -05:00
Scott Shawcroft 845783a457
Clarify rotation parameter 2019-02-01 09:33:33 -08:00
Dan Halbert 7d039a5467
Merge pull request #1512 from adafruit/tannewt-patch-9
Update the discord link
2019-02-01 08:47:15 -05:00
Scott Shawcroft 03068a9388
Fix built-in inits and terminal allocate 2019-02-01 01:00:10 -08:00
Scott Shawcroft 9a9d85fadc
Update translations for display rotation 2019-02-01 00:36:21 -08:00
Scott Shawcroft 448ae64d8e
Add support for display rotation and raw commands
Display rotation is relative to the scan order of the display.
The scan order can be found by scrolling the display with command
0x37 `display_bus.send(0x37, struct.pack(">H", i % 128))`

Fixes #1504
2019-02-01 00:32:03 -08:00
Scott Shawcroft 6ee16c0aae
Update the discord link
Thanks to @ticky for the heads up.

Fixes #1511
2019-01-31 19:03:13 -08:00
Dan Halbert 7c443fbef2
Merge pull request #1510 from tannewt/terminalio
Add a terminal that shows by default on displays.
2019-01-31 16:03:51 -05:00
Scott Shawcroft d72cd5b2d6
Correct TileGrid class name. 2019-01-31 11:42:15 -08:00
Scott Shawcroft 354a26963b
Correctly handle no backlight pin. 2019-01-31 11:42:15 -08:00
Scott Shawcroft 2c069a5685
Polish up comments 2019-01-31 11:42:15 -08:00
Scott Shawcroft da206012e2
Update translations 2019-01-31 11:42:15 -08:00
Scott Shawcroft 73bc614a4b
Remove doc reference to Sprite 2019-01-31 11:42:15 -08:00
Scott Shawcroft ec03887040
Fix hallowing and nrf builds 2019-01-31 11:42:15 -08:00
Scott Shawcroft 4672866eec
Remove Sprite references 2019-01-31 11:42:14 -08:00
Scott Shawcroft 601a910f4e
More improvements to Terminal:
* Fix Hallowing.
* Fix builds without displayio.
* Fix y bounds that appears as untrollable row of pixels.
* Add scrolling to TileGrid.
* Remove Sprite to save space. TileGrid is a drop in replacement.
2019-01-31 11:42:14 -08:00
Scott Shawcroft 6145f08cc8
Support adjustable backlight brightness 2019-01-31 11:42:14 -08:00
Scott Shawcroft 69bc5e189b
Rudamentary backlight support 2019-01-31 11:42:14 -08:00
Scott Shawcroft 1a1dbef992
Hook up the terminal based on the first display. 2019-01-31 11:42:14 -08:00
Scott Shawcroft 590e029198
Begin font parsing and packing for terminal 2019-01-31 11:42:13 -08:00
Scott Shawcroft fb0970ec6e
Add terminalio 2019-01-31 11:42:13 -08:00
Scott Shawcroft 73cf490635
Add TileGrid 2019-01-31 11:42:13 -08:00
Dan Halbert 63d456127b
Merge pull request #1508 from adafruit/tannewt-patch-8
Fix up board build
2019-01-31 14:22:32 -05:00
Scott Shawcroft 39240516f3
Correct pin capitalization 2019-01-31 09:11:30 -08:00
Dan Halbert 323108e2ba
Merge pull request #1503 from hathach/nrf-tinyusb-sd
update tinyusb, work better with sd
2019-01-31 10:36:12 -05:00
Scott Shawcroft 1c3106e56e
Balance board builds 2019-01-30 22:56:25 -08:00
Scott Shawcroft 3225878f63
for redboard turbo too 2019-01-30 22:55:36 -08:00
Scott Shawcroft fe2a092f1c
Fix board_bus location 2019-01-30 22:54:26 -08:00
Scott Shawcroft 68d524fc2a
Merge pull request #1506 from sparkfun/master
All files for SparkFun LumiDrive and Redboard Turbo
2019-01-30 16:48:15 -08:00
Elias Santistevan b124071e10 Removes a lot of left over comments, adds lumidrive and redboard turbo to travis.yml 2019-01-30 16:13:08 -07:00
Elias Santistevan 9984b26a32 Updates devices.h to include the W25Q32FV flash chip that is on the SparkFun LumiDrive and Redboard Turbo 2019-01-30 13:53:00 -07:00
Elias Santistevan 178cfc1623 Adds make config files for SparkFun LumiDrive and Redboard Turbo 2019-01-30 13:50:29 -07:00
hathach a51f2b0716 refactor nrfx from supervisor/usb.c 2019-01-30 22:30:23 +07:00
hathach 164e1e2341 re-init usb hardware when enable/disable SD 2019-01-30 14:13:07 +07:00
hathach d1fb384a4a
update tinyusb, work better with sd 2019-01-29 21:03:18 +07:00
Scott Shawcroft 765d877dfa
Merge pull request #1499 from nickzoic/nickzoic/circuitpython-nrf-touchin-1048
Nickzoic/circuitpython nrf touchin 1048
2019-01-28 00:22:34 -08:00
Nick Moore 294b026aca Automatically set a default threshold for touchio.TouchIn channels 2019-01-28 18:22:57 +11:00