Jeff Epler
253385d9b7
codeformat: use pathlib for correct(-er) processing of * vs ** in globs
2021-03-15 18:10:43 -05:00
Jeff Epler
0403a2cca5
codeformat: Run sed only on requested files
...
When running from pre-commit, we believe the different invocations of
sed were racing with each other, sometimes leaving zero-byte files in
the filesystem (ow)
2021-03-15 18:10:43 -05:00
Jeff Epler
ed61e8955d
codeformat: require filenames, filter them by include/exclude lists
2021-03-15 18:10:43 -05:00
Jeff Epler
d0e3848b24
codeformat: Exclude specified files even from commandline, for pre-commit
2021-03-15 18:10:43 -05:00
Jeff Epler
cc1dd73e94
pre-commit: Have pre-commit pass the list of files to codeformat.py
2021-03-15 15:32:26 -05:00
Scott Shawcroft
4538d973d2
Add Sourcegraph link and raspberrypi port
2021-03-15 13:23:15 -07:00
Jeff Epler
c2ed1b0942
pre-commit: only run uncrustify if changed files are detected
...
This adds the "no-run-if-empty" flag to the xargs invocation. Otherwise,
if git diff names no files, the command is run once with no agument
specified which leads to running on a default list of files that appears
to include ignored files and files in submodules.
I am uneasy about how this works (it means that `pre-commit run --all`
doesn't actually check all files) but that's a separate issue.
2021-03-15 15:19:23 -05:00
Jeff Epler
05ed179e11
Merge pull request #4362 from microDev1/code-formatting
...
Add code formatting and translations check
2021-03-15 13:50:49 -05:00
microDev
f9b4189b4c
update line numbering
2021-03-15 23:01:23 +05:30
Kamil Tomaszewski
ed3f636be5
spresense: empty rx uart fifo after initialization
2021-03-15 16:14:16 +01:00
Kamil Tomaszewski
22ed0abf6c
spresens: configure pin mode for i2c and spi
2021-03-15 16:14:16 +01:00
mintakka
0567d06936
added board configuration for Sparkfun ThingPlus RP2040
2021-03-15 10:27:21 -04:00
Jeff Epler
2e2b40be01
Update ulab
2021-03-15 09:10:49 -05:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
microDev
090b6ba42f
update pre-commit
...
- add formatting check
- add translations check
2021-03-15 19:26:29 +05:30
Jeff Epler
3cbff45f9a
Merge pull request #4407 from jposada202020/RTC_doc_corrections
...
RTC and Touchin docs changes
2021-03-14 20:52:19 -05:00
Jeff Epler
4fdcddaa4d
Merge pull request #4406 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-03-14 20:50:39 -05:00
Jeff Epler
b33d77bfe8
disable bitmaptools on over-full board
2021-03-14 20:08:09 -05:00
Hugo Dahl
0eec279371
Translated using Weblate (French)
...
Currently translated at 98.4% (960 of 975 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-03-15 00:02:55 +01:00
Jeff Epler
651f54b4cc
fix docs
2021-03-14 15:47:15 -05:00
Jeff Epler
094265cb86
bitmaptools.readinto: Fix diagnostics on atmel-samd builds
2021-03-14 15:36:20 -05:00
jposada202020
1386a8104a
RTC and Touchin docs changes
2021-03-14 16:20:40 -04:00
root
9a83501982
Fixed initial settings for program_struct to allow more than 1 program per pio
2021-03-14 15:05:56 -05:00
Jeff Epler
6e9a44bbfd
make translate
2021-03-14 15:03:00 -05:00
Jeff Epler
da030ce7d8
Merge pull request #4402 from jposada202020/analogio_doc_corrections
...
Change in documentation in Analogio
2021-03-14 15:00:48 -05:00
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