Commit Graph

27326 Commits

Author SHA1 Message Date
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
foamyguy
6a792ab373 update types 2022-03-03 18:47:04 -06: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
foamyguy
c24d16ceae update wifi module doc types to str 2022-03-01 19:33:26 -06: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
Limor "Ladyada" Fried
a13c320509
Merge pull request #6098 from jamesbowman/main
Add EVE support to Feather M4 CAN
2022-02-27 23:42:11 -05:00
James Bowman
353ea6f70e Add EVE support to Feather M4 CAN 2022-02-27 18:34:30 -08:00
foamyguy
2f57800ffd update nina-fw submodule 2022-02-27 16:15:57 -06:00
Dan Halbert
54e7019b3e add adafruit-circuitpython-typing to requirements-doc.txt 2022-02-27 00:06:40 -05:00
Scott Gauche
46129e327d add stm32f412cx micro to cpy 2022-02-26 16:53:30 -05:00
Hosted Weblate
df376eac7d
Merge remote-tracking branch 'origin/main' 2022-02-26 03:46:12 +01:00
Mark
bfd56d4380
Merge pull request #6094 from ladyada/main
fix missing pins, speed up
2022-02-25 20:46:07 -06:00
lady ada
a9d87e6e8b fix missing pins, speed up 2022-02-25 20:30:35 -05:00
Fabian Affolter
4b69e8454a
Translated using Weblate (German)
Currently translated at 88.5% (931 of 1051 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2022-02-25 22:58:28 +01:00
Dan Halbert
4f2d88e669 use pip-installed circuitpython_typing instead of private copy 2022-02-25 13:49:06 -05:00
Dan Halbert
01d880829a
Merge pull request #6041 from t-ikegami/enable_uasyncio
Enable _uasyncio module
2022-02-25 13:42:29 -05:00
Scott Shawcroft
c68b7a20fb
Merge pull request #6088 from dhalbert/merge-7.2.x-to-main
Merge 7.2.x to main
2022-02-25 09:46:23 -08:00
Dan Halbert
61425864f0 turn off onewireio in matriportal_m4 2022-02-25 12:22:45 -05:00
Dan Halbert
d70f149390 change module list in extra_coverage test results 2022-02-24 22:44:13 -05:00