Commit Graph

9077 Commits

Author SHA1 Message Date
Dan Halbert
60f43b1703 allow preserving pin state during deep sleep 2022-09-15 17:35:14 -04:00
Wind-stormger
56c5f1eedf Add BananaPi BPI-Leaf-S3.
Based on esp32s3, all available pins are drawn.
2M PSRAM, 8M FLASH.
A JST SH 4-pin Connector can be used for STEMMA QT / Qwiic.
A MX 1.25mm 2-Pin Connector Lithium battery power supply.
A WS2812 LED.
2022-09-15 14:18:24 +08:00
Dan Halbert
14fc4a0797
Merge pull request #6898 from dhalbert/espressif-pwmout-reset
Espressif pwmout reset fixes
2022-09-14 18:47:05 -04:00
Dan Halbert
ae64f9fd78
Merge pull request #6899 from BPI-STEAM/CircuitPython-main-BPI-BIT-S2-PR
Add BananaPi BPI-Bit-S2 .
2022-09-13 23:02:46 -04:00
Wind-stormger
6f4cc611ed Add BananaPi BPI-Bit-S2 .
Adds support for the BananaPi BPI-Bit-S2 Boards.
Based on esp32s2 chip.
With 25 ws2812 LEDs, 1 buzzer, 2 photosensitive sensors, 1 thermosensitive sensor,
2 buttons on the front, 1 reset button and 1 boot button on the back.
2022-09-14 10:21:23 +08:00
Dan Halbert
d2f28eb980
Merge pull request #6887 from RetiredWizard/Broadcom-UART
Enable CIRCUITPY_CONSOLE_UART by default on Broadcom boards
2022-09-13 14:35:16 -04:00
Dan Halbert
2b25a5d574 update esp32-camera 2022-09-13 13:16:37 -04:00
Dan Halbert
14adfb16dd avoid pwmout_reset() workaround by reordering in main(); remove unnecessary never-resets 2022-09-12 21:32:21 -04:00
Dan Halbert
d0d10179c2 fix logic in pwmout_reset() 2022-09-12 17:03:45 -04:00
Kong Wai Weng
c157f1cb39 Cast pin_number to int8_t so that it can be used with switch-case. 2022-09-12 18:56:15 +08:00
Kong Wai Weng
0ae015e4d9 Removed whitespaces. 2022-09-12 18:25:27 +08:00
Kong Wai Weng
aaa2be1200 Set the default pin state for GPIOs to pull down. 2022-09-12 18:19:33 +08:00
microDev
36221bd749
update board microdev_micro_c3 2022-09-11 13:31:38 +05:30
RetiredWizard
14b604f48c
Add LED pin definition to Zero 2W board 2022-09-10 23:18:25 -04:00
RetiredWizard
28756936d5
Add HW_LED_STATUS pin to Zero 2W board 2022-09-10 23:17:02 -04:00
RetiredWizard
38a0ca324e
Uses different pins for RX/TX 2022-09-10 21:48:10 -04:00
RetiredWizard
f4eb618598
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:42:41 -04:00
RetiredWizard
1bdf9fca40
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:40:31 -04:00
RetiredWizard
1d03d73c13
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:39:51 -04:00
RetiredWizard
29e0aba72f
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:39:03 -04:00
RetiredWizard
fb4062d23f
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:38:16 -04:00
RetiredWizard
72c479efe6
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:37:31 -04:00
RetiredWizard
a892af8d77
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:36:41 -04:00
RetiredWizard
7708f19ec8
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:36:01 -04:00
RetiredWizard
0913e3a148
Define CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:34:45 -04:00
RetiredWizard
ecb74aa652
Remove CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:33:29 -04:00
microDev
8cd4b9fc04 fix espressif run modes 2022-09-10 18:08:09 +05:30
Kong Wai Weng
2fbb3090e2 Changed the pins assignment. 2022-09-09 16:50:14 +08:00
Lee Atkinson
f279a2dbb2
Merge branch 'adafruit:main' into adcdma 2022-09-08 11:46:01 -04:00
Dan Halbert
dd37c81136
Merge pull request #6847 from dhalbert/status-bar-control
Allow enabling and disabling of status bar
2022-09-08 10:48:36 -04:00
Dan Halbert
58b00467c4
Merge pull request #6878 from dhalbert/weak-board-defs
Use MP_WEAK for default board.c routines
2022-09-08 10:47:08 -04:00
Dan Halbert
4cb69a51d5 Use MP_WEAK for default board.c routines 2022-09-08 07:36:50 -04:00
latkinso42
c1f57c6ceb Pushing for resolution 2022-09-07 18:53:35 -04:00
Dan Halbert
328138225b
Merge pull request #6868 from PontusO/main
Added challenger_rp2040_wifi_ble board
2022-09-07 18:36:52 -04:00
Seon Rozenblum
6c4f352533 Fixed incorrect IO naming for ProS3 and FeatherS3 2022-09-07 19:51:45 +10:00
latkinso42
25078a24a3 Attempt to fix Build-Docs and Pre-Commit 2022-09-06 18:58:57 -04:00
Pontus Oldberg
c043c437f7 Merge branch 'main' of https://github.com/PontusO/circuitpython 2022-09-06 09:37:25 +02:00
Pontus Oldberg
9a937e6ea3 Added challenger_rp2040_wifi_ble board. 2022-09-06 09:37:21 +02:00
latkinso42
5498b3ac91 fix to analogbufio BufferedIn.h 2022-09-05 14:22:08 -04:00
Scott Shawcroft
a09836eb4a
Merge pull request #6681 from PontusO/main
Adds support for the Challenger RP2040 SubGHz board
2022-09-05 10:01:51 -07:00
latkinso42
a1856ea3e9 Renaming module from adcbuffer to analogbufio 2022-09-05 12:11:49 -04:00
latkinso42
478b40ecf9 Merge branch 'adcdma' of https://github.com/latkinso42/circuitpython into adcdma
Syncing with remote
2022-09-04 16:07:37 -04:00
Lee Atkinson
3cd8259a78
Merge branch 'adafruit:main' into adcdma 2022-09-04 15:59:20 -04:00
latkinso42
d7a1db5b87 Changes per review 2022-09-04 15:57:59 -04:00
Dan Halbert
14498f793d
Merge pull request #6859 from wemos/s3_cpython
Add LOLIN S3 ESP32-S3 board.
2022-09-04 13:10:52 -04:00
bill88t
ca7fb6dede removal of sda-scl and add "GP" to 40,41 2022-09-04 18:05:50 +03:00
bill88t
e1891038c8 Forgor the one IO pin and sda-scl 2022-09-04 16:59:56 +03:00
Dan Halbert
449b43e5a6
Merge pull request #6863 from jepler/rp2pio-erroneous-mask
rp2pio: fix occasional bug when not using OUT pins
2022-09-04 09:15:35 -04:00
Jeff Epler
a3e17189a4
rp2pio: fix occasional bug when not using OUT pins
a NULL first pin object is used to indicate that there are zero
of some kind of pin associated with the StateMachine. However,
mask_and_rotate wasn't checking for zero. It actually read data from
near address 0x0 and (in my case) got a nonzero mask, which then
caused a program with GPIO11 and GPIO12 as input with pull-up and no
out pins to erroneously encounter the error "pull masks conflict with
direction masks"
2022-09-03 20:39:42 -05:00
wemos
3a18d285a2 Add LOLIN S3 ESP32-S3 board. 2022-09-03 11:06:51 +08:00
latkinso42
6fe2ea4513 Merging back with updated main files 2022-09-02 15:51:45 -04:00
Pontus Oldberg
59fb3fbbd6
Merge branch 'adafruit:main' into main 2022-09-01 10:35:13 +02:00
Dan Halbert
52080e24eb status bar control 2022-08-30 15:23:44 -04:00
Dan Halbert
3ba385ff5c
Merge pull request #6794 from jepler/esp32-camera-error-checking
Esp32 camera error checking
2022-08-30 11:41:42 -04:00
Dan Halbert
371e544a92
Merge pull request #6823 from pypewpew/ugame10-fix
Fix ugame.py for the ugame10 board
2022-08-29 12:34:02 -04:00
Jeff Epler
2c6f57be5e
Update ports/espressif/common-hal/esp32_camera/Camera.c
Co-authored-by: Mark <56205165+gamblor21@users.noreply.github.com>
2022-08-28 16:46:50 -05:00
Lee Atkinson
04af01a672 Pin Validation fixed/readmultiple return fixed 2022-08-27 14:47:12 -04:00
Radomir Dopieralski
0a0c03c3d2 Fix ugame.py for the ugame10 board
It was still trying to use the gamepad module, and there was a typo
2022-08-26 17:07:44 +02:00
Jeff Epler
ebd58155f2 bump pico-sdk to 1.4.0 2022-08-26 09:54:16 -05:00
Jeff Epler
dc27fb967d error at runtime if no psram actually reserved 2022-08-26 09:27:50 -05:00
Jeff Epler
9f22e75e5e error if camera is configured but no psram 2022-08-26 09:27:50 -05:00
Jeff Epler
8ed6a6135a Disable camera on boards without psram 2022-08-26 09:27:50 -05:00
Dan Halbert
83838fc4fd
Merge pull request #6798 from DavePutz/issue_6735
Fix handling of zero-length pulseout pulse
2022-08-25 07:49:28 -04:00
Lee Atkinson
37b6079c05 Merge branch 'adcdma' of https://github.com/latkinso42/circuitpython into adcdma
Reconciling remote updates
2022-08-24 21:46:28 -04:00
Lee Atkinson
55c0404d85
Merge branch 'adafruit:main' into adcdma 2022-08-24 21:07:12 -04:00
Lee Atkinson
6fd08483e2 Tidying code for PR/ Minor Issues 2022-08-24 17:41:51 -04:00
DavePutz
c00a630f50
Update PulseOut.c
reorder the tests for zero-length
2022-08-23 15:58:27 -05:00
root
3daebb36c3 Fix handling of zero-length pulseout pulse 2022-08-23 15:17:54 -05:00
Jeff Epler
6572f85913
Merge pull request #6779 from dhalbert/matrixportal-more-ram
matrixportal: remove ulab to make room to freeze portalbase
2022-08-23 09:41:36 -06:00
Lee Atkinson
e23b621d69 Fixing 8 bit and 12 bit conversion 2022-08-22 18:55:55 -04:00
Lee Atkinson
f5655dd48c Fixing Build errors/ DMA Xfer Rate 2022-08-21 11:44:40 -04:00
Lee Atkinson
68671399d1 More formating 2022-08-19 10:51:13 -04:00
Lee Atkinson
d3c3c9eac4 Tidy a few things 2022-08-18 19:10:16 -04:00
Lee Atkinson
f91af513b7 Introduced odule adcbuffer / removed analogio/AnalogFastIn 2022-08-18 16:23:17 -04:00
Dan Halbert
0c87d0b40d matrixportal: remove ulab instead of bleio HCI 2022-08-18 10:23:37 -04:00
Lee Atkinson
34b8fbaf14
Merge branch 'adafruit:main' into adcdma 2022-08-18 09:08:10 -04:00
Dan Halbert
2664d3766d matrixportal: remove BLEIO HCI to make room to freeze portalbase 2022-08-18 07:43:31 -04:00
arturo182
23f2b62196 Add the Solder Party BBQ20KBD board 2022-08-17 20:44:23 +02:00
Scott Shawcroft
2f0e209eca
Merge pull request #6772 from dhalbert/esp32-touch-fix
Fix ESP32 touch; rework common code a bit
2022-08-17 10:24:22 -07:00
Dan Halbert
2bc8d73776 Fix ESP32 touch; rework common code a bit 2022-08-16 20:04:27 -04:00
Scott Shawcroft
4b1d1fd72d
Merge pull request #6768 from mayrhomar/main
Add Waveshare ESP32-S2-Pico-LCD
2022-08-16 09:50:46 -07:00
Scott Shawcroft
3fbddfde59
Merge pull request #6758 from gamblor21/rp2040_i2ctarget
Rp2040 i2ctarget support
2022-08-15 13:57:49 -07:00
Martin
528da05f54 Add Waveshare ESP32-S2-Pico-LCD 2022-08-15 16:46:14 +02:00
Lee Atkinson
4542c801b0 Tidying up loose endson draft PR 2022-08-14 13:03:33 -04:00
lady ada
2f2ccdddbf pycam rev b pins 2022-08-13 23:41:35 -04:00
gamblor21
7584363f66 Forgot an include 2022-08-13 17:41:45 -05:00
gamblor21
1ae2a2154e Initial i2ctaret commit 2022-08-13 17:00:43 -05:00
MicroDev
fa3e265bfb
Merge pull request #6753 from tannewt/esp_led_reset
Audit all boards with LED pins defined
2022-08-13 15:25:02 +05:30
Lee Atkinson
8cd12b2478 Copyright Change 2022-08-12 16:01:58 -04:00
Lee Atkinson
81c7ba899d Copyright Update/Acknowledgements 2022-08-12 13:57:45 -04:00
Lee Atkinson
6d8e8c71fc Merge branch 'adcdma' of https://github.com/latkinso42/circuitpython into adcdma
Fixing code behind commits
2022-08-11 17:58:46 -04:00
Lee Atkinson
ce24469848
Merge branch 'adafruit:main' into adcdma 2022-08-11 17:57:01 -04:00
Lee Atkinson
c3c1e307c4 Sample Rate Enhancements 2022-08-11 17:50:30 -04:00
Scott Shawcroft
df1435ae94
Audit all boards with LED pins defined
Add them as MICROPY_HW_LED_STATUS so that we can share reset code
for them. They aren't actually used for the status if another RGB
option is available. (But maybe they should be.)

Fixes #6717
2022-08-11 14:41:20 -07:00
Scott Shawcroft
5823bcc744
Merge branch 'main' into c3_short_send 2022-08-11 12:45:02 -07:00
Scott Shawcroft
f1053fb963
Introduce port_yield()
This allows the web workflow send code to yield briefly when
waiting for more room to send in a socket. Waiting for an "interrupt"
could wait forever because the select task only waits for read and
error. Adding wait on write is tricky because much of the time we
don't care if the sockets are ready to write. Using yield avoids
this trickiness.
2022-08-11 11:25:34 -07:00
Lee Atkinson
5fb5fd0558
Merge branch 'adafruit:main' into adcdma 2022-08-10 18:33:52 -04:00
Scott Shawcroft
f9d724c09e
Fix retries after successful connection.
We may have set retries to 0 to enforce a timeout but the connect
succeeded. When it succeeds, we want to allow retries later in
case we lose signal briefly. (The callback will do this too but
the connect function will override it after.)

Also, remove extra code from websocket that is leftover from
debugging.
2022-08-10 15:24:08 -07:00
Jeff Epler
c2a45c1f27
Merge pull request #6739 from jepler/qrio-esp32camera
Enable qrio to work with rgb565 data, including byte-swapped data
2022-08-10 13:54:40 -05:00
Scott Shawcroft
7a5d2e81fc
Merge pull request #6734 from dhalbert/remove-autobrightness
Remove support for auto-brightness
2022-08-10 10:22:53 -07:00