Commit Graph

27233 Commits

Author SHA1 Message Date
Dan Halbert
1c8f671f0a
Merge pull request #6118 from pewpew-game/parallel-reset-optional
paralleldisplay: reset and read pins should be optional
2022-03-08 09:34:25 -05:00
Dan Halbert
05a4d24a0f
Merge pull request #6117 from dhalbert/__future__
implement `from __future__ import annotations`
2022-03-08 09:33:36 -05:00
Dan Halbert
ab0a7a8515
Merge pull request #6126 from prplz/fix-espressif-pullup-detection
Espressif: Fix i2c pullup detection
2022-03-08 09:28:06 -05:00
Michael Himing
bc1dade304 Espressif: Fix i2c pullup detection 2022-03-08 16:39:24 +11:00
Dan Halbert
eff6057fa3 shrink matrixportal_m4 2022-03-07 21:37:28 -05:00
Dan Halbert
21d84c2b16
Merge pull request #6123 from prplz/some-board-fixes
Some board fixes (seeeduino_xiao_kb, melopero_shake_rp2040)
2022-03-07 21:30:13 -05:00
Dan Halbert
dd239efc94 add annotations to __future__; don't generate __future__ stubs 2022-03-07 17:43:15 -05:00
Michael Himing
78d7bce02a seeeduino_xiao_kb: Copy pins from seeeduino_xiao 2022-03-08 08:58:32 +11:00
Michael Himing
236ebba0ca melopero_shake_rp2040: Add missing BOARD_DICT_STANDARD_ITEMS 2022-03-08 08:58:32 +11:00
Jeff Epler
b439464627
Merge pull request #6107 from prplz/add-missing-board-items
Add missing BOARD_DICT_STANDARD_ITEMS to two boards
2022-03-07 15:36:17 -06:00
Scott Shawcroft
ff865b60da
Merge pull request #5298 from pewpew-game/logo-remove
Add a flag for removing the Blinka logo from the REPL
2022-03-07 12:53:56 -08:00
Dan Halbert
eab6760059
Merge pull request #6121 from ricksorensen/xiao-LED-pins
Xiao led pins
2022-03-07 11:39:29 -05:00
Dan Halbert
96aec37ead fix whitespace 2022-03-07 09:11:29 -05:00
Dan Halbert
e91c2e13fb
Seediuno XIAO SAMD21: inverted pins 2022-03-07 09:03:32 -05:00
Rick Sorensen
be3129a917
Update ports/atmel-samd/boards/seeeduino_xiao/pins.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-06 22:59:54 -06:00
Rick Sorensen
6fd0643b1e Remove trailing white space 2022-03-06 21:15:37 -06:00
Rick Sorensen
d7ef8f18df pins.c: added comment of reverse wiring for XIAO LEDs 2022-03-06 20:07:42 -06:00
Rick Sorensen
36a27806d8 pins.c: Modify and correct LED pin mappings and names for Xiao
Added YELLOW_LED=LED=D13,
      BLUE1_LED=RX_LED,
      BLUE2_LED=TX_LED
2022-03-06 19:20:37 -06:00
Radomir Dopieralski
b69a06b2ed Also fix the read pin in the atmel and rp2040 ports 2022-03-06 11:33:07 +01:00
Radomir Dopieralski
b5ad78715c
Update ports/espressif/common-hal/paralleldisplay/ParallelBus.h
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-05 21:48:00 +01:00
Radomir Dopieralski
f477848ac1 paralleldisplay: reset and read pins should be optional
The ``reset`` and ``read`` pins should be optional, but the espressif
code had several places where it assumed they are not, and a bug that
caused a crash on ``release_displays`` if they were made optional.

The bug was caused by the fields for storing pin numbers being set
to ``NO_PIN``, which has value of -1, while the fields have type
``uint8_t``.  That set the actual value to 255, and a subsequent
comparison to ``NO_PIN`` returned false.
2022-03-05 18:54:12 +01:00
Radomir Dopieralski
93ea1bd9bd Add a flag for removing the Blinka logo from the REPL
There may be several reasons why we might want to remove the logo form
the REPL: a fork of CircuitPython that doesn't have the right to use the
logo, an especially small display that needs all the room it has to be
useful, displays that are especially vulnerable to burn-in, maybe even
the smaller chips where we want to save as much flash memory as
possible.
2022-03-05 15:38:59 +01:00
Scott Shawcroft
08b44eade5
Merge pull request #6114 from pewpew-game/displayio-9bit
Add support for 9-bit mode to displayio.FourWire
2022-03-04 16:55:02 -08:00
Radomir Dopieralski
102ee716a7 Add support for 9-bit mode to displayio.FourWire
If the ``command`` pin is None, that information will instead be
sent as a ninth bit in the SPI transactions.

Fix #6109
2022-03-04 22:59:17 +01:00
Dan Halbert
1164f2b081 implement: from __future__ import annotations 2022-03-04 14:16:40 -05:00
Scott Shawcroft
9265cca752
Merge pull request #6110 from tekktrik/doc/document-special-math-funcs
Add disclaimer about availability of math functions
2022-03-04 10:40:27 -08:00
Scott Shawcroft
faaf181b71
Merge pull request #6112 from t-ikegami/fix_bitmaptools_dither
Fix freeze on bitmaptools.dither
2022-03-04 10:29:00 -08:00
Alec Delaney
ad502a946d Change reference of "ports" to "boards" 2022-03-04 11:44:40 -05:00
Tsutomu IKEGAMI
c9aa4527a9 Fix freeze on bitmaptools.dither 2022-03-04 17:06:07 +09:00
tekktrik
842d807086
Add disclaimer about availability of math functions 2022-03-03 17:40:07 -05:00
Dan Halbert
6af4c7797c
Merge pull request #6106 from DavePutz/issue_5982
Make countio object long-lived
2022-03-02 18:30:24 -05:00
Michael Himing
c2434782c4 Seeed_XIAO_nRF52840_Sense: remove redundant MICROPY_HW_LED_STATUS 2022-03-03 10:18:58 +11:00
Michael Himing
661140ebcc Add missing BOARD_DICT_STANDARD_ITEMS to two boards 2022-03-03 09:03:34 +11:00
DavePutz
4ac28587ef
Update Counter.c
Add a comment as to why the countio object needs to be long-lived.
2022-03-02 12:21:13 -06:00
Scott Shawcroft
953745f69a
Merge pull request #6105 from prplz/seeed-xiao-ble-status-led
Seeed_XIAO_nRF52840_Sense: Enable rgb status LED
2022-03-02 10:09:57 -08:00
root
1ef8aacd73 Make countio object long-lived 2022-03-02 12:07:54 -06:00
Michael Himing
9ad50dfefb Seeed_XIAO_nRF52840_Sense: Enable rgb status LED 2022-03-02 22:34:01 +11:00
Dan Halbert
83cdfc42cc
Merge pull request #6103 from ladyada/main
fix automatic i2c enablement with rev C
2022-03-01 20:21:20 -05:00
Dan Halbert
90c5fb2515
Update ports/espressif/boards/adafruit_feather_esp32s2/pins.c 2022-03-01 19:56:23 -05:00
lady ada
ee52795540 fix automatic i2c enablement with rev C 2022-03-01 18:15:37 -05:00
Scott Shawcroft
b1161f5c4c
Merge pull request #6095 from sgauche/add_stm32f412cx_micro
Add STM32F412Cx Microcontroller to CircuitPython
2022-03-01 11:31:18 -08:00
Dan Halbert
548d6beb4c
Merge pull request #6085 from rimwolf-redux/msgpack
changed msgpack to use ByteStream type annotations
2022-03-01 10:17:10 -05:00
Dan Halbert
6c4fff6729
Merge pull request #6093 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-03-01 09:26:27 -05:00
Hosted Weblate
fb9ee79438
Merge remote-tracking branch 'origin/main' 2022-03-01 03:31:51 +01:00
Dan Halbert
a240fed0ce
Merge pull request #6097 from FoamyGuy/update_nina
update nina-fw submodule
2022-02-28 21:31:47 -05:00
Dan Halbert
38e9fd703b add circuitpython_typing. to some annotations; generalize extract_pyi.pi 2022-02-28 21:27:24 -05:00
Hosted Weblate
e585bdaa33
Merge remote-tracking branch 'origin/main' 2022-03-01 03:04:22 +01:00
Dan Halbert
1f512314d6
Merge pull request #6101 from prplz/usb-hid-typing-fix
Fix usb_hid.Device constructor typing
2022-02-28 21:04:16 -05:00
Michael Himing
1fe9eea225 Fix usb_hid.Device constructor typing
descriptor -> report_descriptor
2022-03-01 12:44:21 +11:00
Hosted Weblate
d970408f89
Merge remote-tracking branch 'origin/main' 2022-02-28 05:42:18 +01:00