Commit Graph

19974 Commits

Author SHA1 Message Date
Tsutomu IKEGAMI 3c4d763fef Fix format. 2021-04-01 18:04:33 +09:00
Tsutomu IKEGAMI 7810cb275c Add two escape sequences to terminalio.Termial:
- ESC[yy;xxH : move cursor to (xx, yy)
- ESC[2J     : clear screen
2021-04-01 17:33:57 +09:00
Dan Halbert d0ba75e6dc
Merge pull request #4522 from tannewt/ble_fixup
Fix central pairing and crash on clear
2021-03-31 21:24:19 -04:00
Scott Shawcroft 0752bbd5fd
Fix central pairing and crash on clear
The list_clear would crash if we tried to clear a NULL list. (It
can happen if we haven't tried to discover any services.)
2021-03-31 16:04:04 -07:00
Dan Halbert 3e8e683a73
Merge pull request #4521 from dhalbert/add-en_GB
add en_GB translation to builds
2021-03-31 16:06:43 -04:00
Dan Halbert 0e915dc3fb
Merge pull request #4518 from jepler/fix-bogus-assertion
mimxrt10xx: Fix bogus assertion.
2021-03-31 15:53:42 -04:00
Dan Halbert c41639f30a add en_GB translation to builds 2021-03-31 15:09:55 -04:00
Scott Shawcroft 5d8bdd20b4
Merge pull request #4517 from dhalbert/no-remote-wakeup
Turn off remote wakeup in USB configuration descriptor
2021-03-31 08:55:50 -07:00
Scott Shawcroft 0582d639c1
Merge pull request #4519 from jepler/rasberrypi-minconfig
raspberypi: Allow mpconfigboard to override additional items
2021-03-31 08:48:41 -07:00
Jeff Epler cce8b2be07 raspberypi: Allow mpconfigboard to override additional items
This allows more options to be overridden to 0 in an mpconfigboard.mk.

Improved:
 * FRAMEBUFFERIO, FULL_BUILD, BITOPS, PWMIO, RGBMATRIX, OTARYIO, PULSEIO, WATCHDOG

Still problematic (pull requests welcome):
 * RP2PIO & NEOPIXEL_WRITE, possibly only if a status neopixel is defined
 * BITBANGIO, possibly only if BUSIO is enabled
 * RTC

Incidentally, with RP2PIO & NEOPIXEL_WRITE, BITBANGIO, and RTC re-enabled I get
```
323956 bytes used, 720524 bytes free in flash firmware space out of 1044480 bytes (1020.0kB).
12072 bytes used, 250072 bytes free in ram for stack and heap out of 262144 bytes (256.0kB).
```

Closes #4515
2021-03-31 09:40:48 -05:00
Jeff Epler cb29ad0846 mimxrt10xx: Fix bogus assertion.
.. as noted by @d-c-d
2021-03-31 09:21:08 -05:00
Dan Halbert c9f2591d7c Turn off remote wakeup in USB configuration descriptor 2021-03-31 10:12:16 -04:00
Scott Shawcroft 7471e978bb
Merge pull request #4509 from lesamouraipourpre/time-error-param
Add a missing parameter to an error message (Fixes #4505)
2021-03-30 10:55:08 -07:00
Scott Shawcroft ea7ca8ae96
Merge pull request #4513 from jepler/mimxrt10xx-uart-fault
mimxrt1011: UART: Add additional error checking
2021-03-30 10:54:05 -07:00
Jeff Epler 71eee45a37 mimxrt1011: UART: Add additional error checking
.. and make the 'invalid pin' messages standard.

Closes #4502
2021-03-30 10:17:48 -05:00
Jeff Epler 2453d70e4c
Merge pull request #4511 from jepler/refine-bug-template
Remove sentence about a link that fixes a problem
2021-03-30 08:30:11 -05:00
Jeff Epler 1bb5bed80f Remove sentence about a link that fixes a problem
Multiple times it has occurred that people left this line in a PR by mistake.  it makes it look like they failed to include some useful information, but really is just a misunderstanding.  Delete the text to reduce the chance of misunderstanding.
2021-03-29 21:31:00 -05:00
Jeff Epler 38382bfd12
Merge pull request #4507 from Neradoc/fix-alias-boards-modules
fix list of modules for alias boards
2021-03-29 17:42:34 -05:00
Scott Shawcroft 580456719c
Merge pull request #4508 from dhalbert/rp2040-calc-sda-hold-time
Calculate RP2040 SDA hold time
2021-03-29 15:09:30 -07:00
James Carr 65759622ea Add a missing parameter to an error message (Fixes #4505) 2021-03-29 23:03:14 +01:00
Dan Halbert 840373f5c2
Merge pull request #4495 from tyomitch/patch-1
[ure] to save space, disable debug dumps by default
2021-03-29 16:08:56 -04:00
Dan Halbert b274a0497b
Merge pull request #4501 from jepler/rgbmatrix-memoryview
RGBMatrix: fix memoryview(matrix)
2021-03-29 16:07:22 -04:00
Dan Halbert 8e0834d74c Calculate RP2040 SDA hold time 2021-03-29 14:40:13 -04:00
Neradoc 38072a139e no default value for support_matrix[board_id]
will raise an error during build if things as not as expected
as suggested by @jepler
2021-03-29 19:03:35 +02:00
Jeff Epler f73625877d
Merge pull request #4490 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-03-29 08:02:17 -05:00
Neradoc f143e5d049 fix list of modules for alias boards 2021-03-29 12:25:25 +02:00
hexthat dfac6d9f62
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (970 of 970 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-03-29 10:26:59 +02:00
Hosted Weblate 277b0d1f0d Merge remote-tracking branch 'origin/main' into main 2021-03-27 18:49:41 +01:00
Jeff Epler 010232574e
Merge pull request #4468 from jepler/metro-m7-dup-pins
remove duplicate RX/TX pin lines
2021-03-27 12:49:33 -05:00
Jeff Epler b04f9130c7 RGBMatrix: fix memoryview(matrix)
Typical test:
```python
import displayio
import rgbmatrix
import board
displayio.release_displays()
matrix = rgbmatrix.RGBMatrix(
    width=128, bit_depth=4,
    rgb_pins=[board.GP0, board.GP1, board.GP2, board.GP3, board.GP4, board.GP5],
    addr_pins=[board.GP6, board.GP7, board.GP8, board.GP9],
    clock_pin=board.GP10, latch_pin=board.GP11, output_enable_pin=board.GP12)
mem = memoryview(matrix)
mem[0] = 65535 #  OK
mem[0] = 65536 #  errors (out of range)
```
2021-03-27 12:04:27 -05:00
Hosted Weblate bca327ec9a Merge remote-tracking branch 'origin/main' into main 2021-03-27 04:00:16 +01:00
Dan Halbert a13da2ad57
Merge pull request #4486 from kmatch98/displayio_area_expand
`displayio` and `vectorio`: move to displayio_area_union and away from _expand
2021-03-26 23:00:05 -04:00
Hosted Weblate 0280064640 Merge remote-tracking branch 'origin/main' into main 2021-03-27 01:21:57 +01:00
Limor "Ladyada" Fried 9ac8ea587a
Merge pull request #4499 from dhalbert/rp2040-lengthen-sda-tx-hold-time
Length RP2040 I2C SDA hold time
2021-03-26 20:21:52 -04:00
Hosted Weblate 9f1b68578b Merge remote-tracking branch 'origin/main' into main 2021-03-27 00:34:55 +01:00
Limor "Ladyada" Fried f8cd7d777f
Merge pull request #4497 from jepler/spi-enhancements
Spi enhancements
2021-03-26 19:34:50 -04:00
Dan Halbert 03340a3fcd Incorporate https://github.com/adafruit/pico-sdk/pull/2 2021-03-26 18:55:45 -04:00
Jeff Epler 583fc76cf5 run uncrustify 2021-03-26 15:38:20 -05:00
Hosted Weblate 0501c8d79f Merge remote-tracking branch 'origin/main' into main 2021-03-26 20:58:39 +01:00
Jeff Epler 999f713423
Merge pull request #4487 from jepler/fix-spi-gaps
Fix spi gaps
2021-03-26 14:58:32 -05:00
Jeff Epler 172715194f adafruit_bus_device: SPIDevice: Fix so it works with bitbangio.SPI
.. by calling methods, same as we did for I2C
2021-03-26 14:51:53 -05:00
Artyom Skrobov d7dc3801ab [ure] to save space, disable debug dumps by default
Has to stay enabled in unix port for the sake of tests/extmod/ure_debug.py
2021-03-26 13:24:20 -04:00
Jeff Epler a70b679ed5 bitbangio.SPI.read: Support write_value, fix some other nits 2021-03-26 12:24:09 -05:00
Jeff Epler 2bc61b4580 Parenthesize double-division for clarity 2021-03-26 11:01:22 -05:00
Jeff Epler 231cb1ffd9 mimxrt10xx: Use the proper "betweenTransferDelay" (et al) values
Set the betweenTransferDelay to the SCK low-time, to avoid long pauses
between bytes (transfers) while preventing the last SCK cycle in a byte
from being a runt pulse.

Compared to an earlier revision of this change, which just set the delays
all to zero, this doesn't break using an AirLift, which was sensitive
to the runt pulses (the simple loopback-wire test didn't detect the problem)
2021-03-26 10:54:13 -05:00
Jeff Epler 1d48054aea mimxrt10xx: Factor out "transfer_common"
.. and set the "MasterPcsContinuous" flag, which removes some of the
gap between bytes of a single SPI transaction
2021-03-26 10:04:35 -05:00
Jeff Epler ffb70a8737 Freeze ESP32SPI into mimxrt1011_evk
.. so that it is more conveniently like the metro m7 for my testing
2021-03-26 10:01:53 -05:00
Jeff Epler 9e110f120a mimxrt10xx: busio: cap SPI baudrate at 30MHz per datasheet 2021-03-26 10:01:53 -05:00
Hosted Weblate 8b448eb491 Merge remote-tracking branch 'origin/main' into main 2021-03-26 02:01:09 +01:00
Dan Halbert 155b61f027
Merge pull request #4378 from Gadgetoid/patch-remove-rp2040-i2c-bitbang
RP2040: Remove short-write bitbang from I2C
2021-03-25 21:01:02 -04:00