Commit Graph

19830 Commits

Author SHA1 Message Date
DavePutz 4b567178f1
Merge pull request #44 from adafruit/main
Update from adafruit main
2021-03-14 14:59:26 -05:00
Jeff Epler 9133b23a37 bitmaptools: Add readinto
When reading uncompressed bitmap data directly, readinto can work
much more quickly than a Python-coded loop.

On a Raspberry Pi Pico, I benchmarked a modified version of
adafruit_bitmap_font's pcf reader which uses readinto instead of
the existing code. My test font was a 72-point file created from Arial.

This decreased the time to load all the ASCII glyphs from 4.9 seconds to
just 0.44 seconds.

While this attempts to support many pixel configurations (1/2/4/8/16/24/32
bpp; swapped words and pixels) only the single combination used by
PCF fonts was tested.
2021-03-14 13:57:46 -05:00
jposada202020 6a56d5dc73 Change in documentation in Analogio 2021-03-14 04:15:35 -04:00
Jeff Epler d2563c57de
Merge pull request #4395 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-13 13:39:26 -06:00
Hosted Weblate 1fbfd4f5d5 Merge remote-tracking branch 'origin/main' into main 2021-03-13 18:50:34 +01:00
Dan Halbert 8e425a9354
Merge pull request #4393 from tannewt/raise_default_flash_speed
Speed up a bit more
2021-03-13 12:50:29 -05:00
Hosted Weblate a339e31e4d Merge remote-tracking branch 'origin/main' into main 2021-03-13 01:51:32 +01:00
Scott Shawcroft 550eab2ddd
Merge pull request #4391 from tyomitch/patch-1
[vfs_fat_diskio] pdrv is not a drive number since f5f4cdae89
2021-03-12 16:51:29 -08:00
Hosted Weblate a8ea24849f
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-03-13 01:50:44 +01:00
Scott Shawcroft b413535ee1
Merge pull request #4376 from kmatch98/displayio_bitmap
add fill_region and draw_line to bitmap_tools
2021-03-12 16:50:39 -08:00
Scott Shawcroft 1b106de4e0
Merge pull request #4262 from DavePutz/issue_4111
Issue 4111 - Implement pulseio(pulsein) for RP2040
2021-03-12 16:48:57 -08:00
Scott Shawcroft 45487f14a0
Speed up a bit more 2021-03-12 16:00:16 -08:00
DavePutz 96ce43e6d6
Added the correct files 2021-03-12 16:18:33 -06:00
DavePutz 6628f49852
Use StateMachine.c interrupt setup and simplify SM program 2021-03-12 16:06:57 -06:00
Jeff Epler a5c6759325
Merge pull request #4392 from tannewt/lower_default_flash_speed
Lower default flash speed.
2021-03-12 13:58:44 -06:00
Scott Shawcroft aec03a409f
Lower default flash speed.
/ 6 leads to ~40mhz. 2M and 4M have a max 0x03 read speed of 60mhz.
If the divisor is / 4 then the speed is just over 60mhz.

Fixes #4377
2021-03-12 11:06:39 -08:00
Dan Halbert bbb1a8b7fa
Merge pull request #4387 from dhalbert/esp32s2-i2c-bug
Esp32-S2 I2C fixes
2021-03-12 10:26:56 -05:00
Artyom Skrobov 8265c321f6 [vfs_fat_diskio] pdrv is not a drive number since f5f4cdae89 2021-03-12 10:01:14 -05:00
Jeff Epler 73139102fc
Merge pull request #4389 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-12 08:37:47 -06:00
Dan Halbert 0ce5b2f594 put back pullup setting 2021-03-12 08:20:09 -05:00
Hosted Weblate 054908b912 Merge remote-tracking branch 'origin/main' into main 2021-03-12 04:26:17 +01:00
Dan Halbert 8d3217cbf3
Merge pull request #4390 from dhalbert/board-i2c-clock-stretch
correct clock stretch timeout for board.I2C()
2021-03-11 22:26:09 -05:00
gamblor21 307d2a99fe Fix after rebase 2021-03-11 20:06:50 -06:00
Alvaro Figueroa 06cabd6995
Translated using Weblate (Spanish)
Currently translated at 100.0% (975 of 975 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-03-12 03:03:10 +01:00
Dan Halbert fa34b8a404 correct clock stretch timeout for board.I2C() 2021-03-11 21:02:07 -05:00
gamblor21 5689307798 Changed frequency to match PIO having 2 instructions 2021-03-11 19:32:44 -06:00
gamblor21 b02b1e9979 Set frequency default 60Mhz 2021-03-11 19:32:44 -06:00
gamblor21 1658fe04f9 Set the statemachine to never reset so REPL works 2021-03-11 19:32:44 -06:00
gamblor21 c384ebe5c0 Updated to initalize pindirs 2021-03-11 19:32:44 -06:00
gamblor21 7321411962 Added frequency to parallel display 2021-03-11 19:32:43 -06:00
gamblor21 56a219911f Add frequency support to parallel bus 2021-03-11 19:32:43 -06:00
gamblor21 b080d6207b Removing debug info and clean up 2021-03-11 19:32:43 -06:00
gamblor21 c6aaab6f64 Initial commit 2021-03-11 19:32:43 -06:00
Dan Halbert c71b6cb699 move to esp-idf PR merge 2021-03-11 20:05:31 -05:00
Kevin Matocha a9afa0d9d4 Move input checks to shared-module, update docstrings 2021-03-11 16:18:17 -06:00
Dan Halbert f75a009ed4 fix unnecessary statement order change 2021-03-11 15:16:32 -05:00
Dan Halbert b5d2cc6f46 Merge remote-tracking branch 'adafruit/main' into esp32s2-i2c-bug 2021-03-11 15:09:18 -05:00
Jeff Epler 24f4d981bd
Merge pull request #4380 from jepler/rp2040-audiomp3
raspberrypi: Enable mp3 playback
2021-03-11 12:53:46 -06:00
Scott Shawcroft 0e451a1681
Merge pull request #4383 from hierophect/stm32-uart-dereserve
STM32: Fix UART deinit
2021-03-11 10:48:01 -08:00
Scott Shawcroft 40886d198d
Merge pull request #4385 from hierophect/stm32-f407-can
STM32: add all F405 modules to F407
2021-03-11 10:45:08 -08:00
Scott Shawcroft a32359b0a2
Merge pull request #4386 from kamtom480/spi_and_i2c
spresense: minor i2c and spi fixes
2021-03-11 10:43:27 -08:00
Dan Halbert 3b948b244e
Merge pull request #4384 from dhalbert/disable-default-usb_cdc
disable default usb_cdc
2021-03-11 12:46:15 -05:00
Dan Halbert de88fa37fb Merge remote-tracking branch 'adafruit/main' into esp32s2-i2c-bug 2021-03-11 12:27:29 -05:00
Dan Halbert 061d5910cb use fixed esp-idf 2021-03-11 12:09:01 -05:00
Kamil Tomaszewski 18668f6e28 spresense: fix spi to work with only one data pin 2021-03-11 18:06:49 +01:00
Kamil Tomaszewski 76d0870fba spresense: return error as positive value for i2c 2021-03-11 18:04:01 +01:00
Lucian Copeland 0b73c7a212 Update F407 to match F405 2021-03-11 11:27:17 -05:00
Dan Halbert 5ace7af933 disable default usb_cdc 2021-03-11 11:20:29 -05:00
Lucian Copeland 1ebbd14d0f Fix UART deinit 2021-03-11 11:02:13 -05:00
Jeff Epler 15e97f12a1
Merge pull request #4379 from jepler/rp2040-rtc
raspberrypi: RTC: Ensure a time is set
2021-03-11 09:00:31 -06:00