Commit Graph

8362 Commits

Author SHA1 Message Date
Michael Himing
de168b106c Add board lilygo_ttgo_t-01c3 2022-03-17 17:24:24 +11:00
Scott Shawcroft
c098474854
Disable aesio and traceback on matrixportal to save space 2022-03-16 10:41:17 -07:00
Dan Halbert
af9f80daeb
Merge pull request #6144 from tannewt/back_to_idf4.4
Update ESP-IDF to fix PinAlarm
2022-03-15 17:10:42 -04:00
Scott Shawcroft
dcc3ec171e
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2 2022-03-15 13:56:11 -07:00
Scott Shawcroft
4ffbf0830b
Merge pull request #6157 from arms22/ssci_isp1807_micro_board
Add board ssci_isp1807_micro_board
2022-03-15 13:42:34 -07:00
Scott Shawcroft
1a73b44679
Merge pull request #6156 from arms22/ssci_isp1807_dev_board
Add board ssci_isp1807_dev_board
2022-03-15 13:41:54 -07:00
Scott Shawcroft
fd17ba6d91
Merge pull request #6143 from ZodiusInfuser/badger
Added built-in display bringup for Badger2040
2022-03-15 13:28:00 -07:00
arms22
2b4917bbf5 change USB_PID 2022-03-15 14:54:29 +09:00
arms22
7482148a78 Add board ssci_isp1807_micro_board 2022-03-15 14:39:32 +09:00
arms22
b671ba81b9 Add board ssci_isp1807_dev_board 2022-03-15 14:29:24 +09:00
Dan Halbert
ff0b3a9f50
Merge pull request #6153 from tannewt/refine_autoreload
Further refine autoreload
2022-03-14 22:22:08 -04:00
Scott Shawcroft
f602296e59
Re-enable BLE on MatrixPortal. Remove PortalBase
We have a guide that uses it. It was removed in #6043 without
realizing that.

Fixes #6152
2022-03-14 17:04:46 -07:00
Scott Shawcroft
32ac396a41
Further refine autoreload
This unifies the delay into the post-run delay that also waits
for user input and fake sleep. This ensures we always delay.
Previous code would only delay if the code.py was running when
autoreload was triggered. Now it will always delay.

We also now suspend autoreload when a USB write starts and then
resume on completion. This should prevent reloading in between
sectors of a single write.
2022-03-14 16:49:30 -07:00
ZodiusInfuser
af2862ead9
Removed trailing whitespace 2022-03-14 22:28:28 +00:00
ZodiusInfuser
a778469082 Inverted the display pixels to match the expected CPY behaviour 2022-03-14 11:12:03 +00:00
Dan Halbert
f13d218749
Merge pull request #6125 from tannewt/usb_host
Start of USB host API
2022-03-11 21:41:28 -05:00
Scott Shawcroft
7cb66dd316
Merge pull request #6142 from dhalbert/7.2.x-autoreload-fake-sleep
7.2.x autoreload rework (again)
2022-03-11 16:46:04 -08:00
Scott Shawcroft
a719fabbb6
Shrink bluemicro833 build 2022-03-11 16:04:12 -08:00
Scott Shawcroft
96dd11a198
Update ESP-IDF to fix PinAlarm
Fixes #5973
2022-03-11 14:40:49 -08:00
ZodiusInfuser
eab5f00548 Added built-in display bringup for Badger2040 2022-03-11 20:10:42 +00:00
Dan Halbert
e4cd9690f1 rework auto-reload delay logic 2022-03-11 14:03:04 -05:00
Dan Halbert
862210b3fb
Merge pull request #6135 from CircuitART/main
merge hexky_s2 board
2022-03-11 07:48:54 -05:00
CircuitART
43bd2c41e0
Update pins.c 2022-03-11 13:27:08 +08:00
CircuitART
597430ef96
Update pins.c 2022-03-11 12:26:49 +08:00
CircuitART
016bc00f01
Update pins.c
fixed
2022-03-11 11:54:32 +08:00
Dan Halbert
dbc8a312a2
Merge pull request #6137 from dhalbert/7.2.x-__future__
Backport from __future__ import annotations from #6117
2022-03-10 20:46:05 -05:00
Scott Shawcroft
c9ec5c89b6
Fix ESP32-S3 box display color order 2022-03-10 15:50:07 -08:00
Dan Halbert
19e7647f3d turn off MIDI on sensebox_mcu for sapce 2022-03-10 18:20:04 -05:00
Dan Halbert
a7260a8b61 squeeze arduino_zero further 2022-03-10 15:56:51 -05:00
Dan Halbert
c5947fd6de squeeze arduino_zero and sensebox_mcu 2022-03-10 12:46:08 -05:00
foamyguy
2f83264f09 update nina-fw submodule 2022-03-10 12:24:43 -05:00
Dan Halbert
6ddab0f3c8 shrink matrixportal_m4 2022-03-10 11:20:44 -05:00
CircuitART
4bfe9e53df
merge hexky_s2 board
Hello, please add support to my custom esp32-s2 board.
thanks
2022-03-10 13:27:14 +08:00
Scott Shawcroft
0957c1546f
Merge pull request #6132 from dhalbert/fix-autoreload
Make autoreload checking more robust
2022-03-09 14:02:15 -08:00
Dan Halbert
6465d81918
Update ports/stm/boards/stm32f411ce_blackpill_with_flash/mpconfigboard.h
whoopsies

Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-03-09 13:33:54 -05:00
Dan Halbert
3089c9b7fd
Merge pull request #6128 from tannewt/gcc11_stringop
Fix SAMD51 builds on GCC11.2
2022-03-09 13:32:56 -05:00
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
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
96f5eec2ee
Add Teensy 4.1 power pin and fix SWD for DEBUG=1 2022-03-08 17:17:07 -08: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
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
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
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
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
Michael Himing
9ad50dfefb Seeed_XIAO_nRF52840_Sense: Enable rgb status LED 2022-03-02 22:34:01 +11: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
a240fed0ce
Merge pull request #6097 from FoamyGuy/update_nina
update nina-fw submodule
2022-02-28 21:31:47 -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
Scott Gauche
46129e327d add stm32f412cx micro to cpy 2022-02-26 16:53:30 -05:00
lady ada
a9d87e6e8b fix missing pins, speed up 2022-02-25 20:30:35 -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
Dan Halbert
61425864f0 turn off onewireio in matriportal_m4 2022-02-25 12:22:45 -05:00
Scott Shawcroft
9e16487203
Merge pull request #6048 from t-ikegami/atmel-samd-fix-alarm
Fix atmel-samd alarm module
2022-02-23 15:29:54 -08:00
Scott Shawcroft
f32b5880c8
Merge pull request #6074 from ZodiusInfuser/badger
Added definition for an upcoming Pimoroni EInk board
2022-02-23 15:04:23 -08:00
Scott Shawcroft
40b430eea8
Merge pull request #6067 from sgauche/spi_polarity_pullupdown
Set SPI CLK pin pull up/down in SPI Configure based on SPI polarity config
2022-02-22 11:51:45 -08:00
Scott Shawcroft
e2f56e9031
Merge pull request #6065 from prplz/ai-thinker-esp32c3s-changes
ai_thinker_esp32-c3s: Pull LEDs down on reset
2022-02-22 10:53:50 -08:00
Scott Shawcroft
85b53eab0a
Merge pull request #5963 from arturo182/esp32-s3-devkitm-1
espressif: Add ESP32-S3-DevKitM-1 board support
2022-02-22 10:48:07 -08:00
ZodiusInfuser
d66cf1d8ef Name fix 2022-02-21 11:26:43 +00:00
ZodiusInfuser
d0bbaddcb3 Board definitions for upcoming EInk board 2022-02-21 11:23:55 +00:00
Tsutomu IKEGAMI
6499d18bb8 Remove board_deep_sleep_hook, which should be done in board_deinit. 2022-02-21 19:21:42 +09:00
Scott Gauche
6827586d33 add setting SPI CLK pin pull up/down based on SPI polarity config 2022-02-19 08:46:02 -05:00
Michael Himing
dbedb1575e ai_thinker_esp32-c3s: Pull LEDs down on reset 2022-02-19 14:30:51 +11:00
Scott Shawcroft
918145f768
Merge pull request #6038 from jepler/merge-1.18
Merge 1.18
2022-02-18 17:57:18 -08:00
arturo182
e57e4bd667 esp32s3: Rename to devkitm_1 to devkitm_1_n8 to make more future-proof 2022-02-18 21:32:36 +01:00
Dan Halbert
57bbe7922d
Merge pull request #6058 from Neradoc/add-hiibot-iots2
Add hiibot iots2
2022-02-18 12:18:25 -05:00
Jeff Epler
f45a6d762f
Merge remote-tracking branch 'origin/main' into merge-1.18 2022-02-18 08:12:05 -06:00
Dan Halbert
1c3e03d1b1
Merge pull request #6057 from tannewt/board_pin_reset
Allow ESP boards to customize how a pin is reset
2022-02-17 21:12:11 -05:00
Dan Halbert
60ceb6e367
Merge pull request #6043 from makermelissa/main
Add PortalBase and Fake Requests and update Frozen Libs on Portal boards
2022-02-17 20:19:33 -05:00
Scott Shawcroft
5a51aa2a75
Merge pull request #6056 from Neradoc/qtpys2-debug-uart
free RX and TX on QTPY-ESP32S2 in non debug builds
2022-02-17 17:02:46 -08:00
Scott Shawcroft
c4fb5f7df1
Allow ESP boards to customize how a pin is reset
This allows board code to override the default pull up reset state.

It is useful for pins that are already externally connected, pulled
or otherwise used by the board.

Fixes #5931
2022-02-17 16:32:29 -08:00
Neradoc
3acb0d48bc free RX and TX on QTPY-ESP32S2 in non debug builds 2022-02-18 01:13:37 +01:00
Dan Halbert
fe6e03f504
Merge pull request #6013 from tannewt/esp_ble_gatt_client
Add S3 GATT client support
2022-02-17 16:02:11 -05:00
Neradoc
aedae120c7 use espressif assigned PID for Hiibot IOTS2 2022-02-17 15:06:38 +01:00
Tsutomu IKEGAMI
bd9dd3dc63 Fix atmel-samd alarm module. 2022-02-17 23:00:26 +09:00
Neradoc
139c2710aa rebase, fix call to common_hal_busio_spi_construct 2022-02-17 14:41:47 +01:00