Commit Graph

27508 Commits

Author SHA1 Message Date
Dan Halbert 9b2e22a6df Make autoreload checking more robust
- Add reset for autoreload. De-request ticks.
- Separate state a little more in autoreload.c
- Rename some routines.
- Remove redundant settings of CIRCUITPY_AUTORELOAD_DELAY_MS.
2022-03-09 11:07:55 -05:00
Neradoc cbcfb8a598 Add binascii crc32 to documentation 2022-03-09 14:02:08 +01:00
Scott Shawcroft 45f9522a63
Fix EVK status led to be inverted 2022-03-08 18:15:43 -08:00
Dan Halbert 442026548f
Merge pull request #6084 from fabaff/lilygo-ttgo-esp32-s2
Add support for LILYGO TTGO T8 ESP32-S2-WROOM
2022-03-08 21:00:44 -05:00
Scott Shawcroft 91468ed36b
Don't crash on early debug print 2022-03-08 17:55:21 -08:00
Scott Shawcroft 96f5eec2ee
Add Teensy 4.1 power pin and fix SWD for DEBUG=1 2022-03-08 17:17:07 -08:00
Dan Halbert 16432c8393
Merge pull request #6079 from fabaff/lilygo-ttgo-t8
Add support for LILYGO TTGO T8 ESP32-S2
2022-03-08 18:11:42 -05:00
Dan Halbert d7f0b70c5f restore local/circuitpython.pot 2022-03-08 18:08:32 -05:00
Dan Halbert 63ac23a631
Merge pull request #6129 from prplz/backport-6126
Espressif: Fix i2c pullup detection
2022-03-08 18:00:11 -05:00
Michael Himing d933f8ac50 Espressif: Fix i2c pullup detection 2022-03-09 07:36:17 +11:00
Fabian Affolter 0a72420dcb Add support for LILYGO TTGO T8 ESP32-S2-WROOM 2022-03-08 20:07:37 +01:00
Fabian Affolter 1b1b363515 Add support for LILYGO TTGO T8 ESP32-S2 2022-03-08 19:56:41 +01:00
Scott Shawcroft 4ac6ef0086
Fix SAMD51 builds on GCC11.2
Fixes #5351
2022-03-08 10:41:34 -08:00
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
Scott Shawcroft 83593a1558
Start of USB host API
This allows you to list and explore connected USB devices. It
only stubs out the methods to communicate to endpoints. That will
come in a follow up once TinyUSB has it. (It's in progress.)

Related to #5986
2022-03-07 18:07:25 -08: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
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