Commit Graph

521 Commits

Author SHA1 Message Date
Scott Shawcroft 895cd269b3
Merge pull request #7422 from CDarius/m5stack_stick_c
Add M5Stack Stick C board
2023-01-10 14:48:47 -08:00
Jeff Epler 7db8f92554 Update some build flags to be more like the original tft feathers
.. enable camera and use default (better) optimization
2023-01-10 12:28:51 -06:00
Jeff Epler af70401aa6 Switch the reverse feathers to use modules with psram
.. by copying the sdkconfig files from the original s2/s3 tft feathers,
as the module is of the same type.
2023-01-10 12:18:53 -06:00
Jeff Epler 8f0e72ce2b Merge remote-tracking branch 'origin/main' into feather-esp32-s23-reverse-tft 2023-01-10 12:16:31 -06:00
CDario a2668cdf0d Added PORT A i2c and slowed down display SPI 2023-01-05 22:30:10 +00:00
CDario 208fb341e2 Added M5Stack Stick C board 2023-01-05 21:29:02 +00:00
Dan Halbert 3cf947ff8f
Merge pull request #7399 from CDarius/m5stack_atom_matrix
Added M5Stack Atom Matrix board
2023-01-02 13:28:04 -05:00
Dan Halbert 6d9d593a0d
Merge pull request #7401 from CDarius/m5stack_atom_echo
Added M5Stack Atom Echo board
2023-01-02 13:27:48 -05:00
Dan Halbert a061729dcc
Update ports/espressif/boards/m5stack_atom_matrix/sdkconfig 2023-01-02 10:41:25 -05:00
Dan Halbert f5c0996fb7
Update ports/espressif/boards/m5stack_atom_echo/sdkconfig 2023-01-02 10:41:11 -05:00
Dan Halbert 01f6762aa1
Update ports/espressif/boards/m5stack_atom_u/sdkconfig 2023-01-02 10:40:49 -05:00
CDario 4fe00ef74a Added M5Stack Atom U 2022-12-31 06:21:49 +00:00
CDario dec0b272fe Fixed I2C bus definition 2022-12-30 23:21:46 +00:00
CDario 58e32bd2cb Fixed speacker and microphone pins definition 2022-12-30 23:09:38 +00:00
CDario 52ee5a9272 Added M5Stack Atom Echo 2022-12-30 20:21:00 +00:00
CDario 42195a4a29 Added M5Stack Atom Matrix board 2022-12-30 17:37:37 +00:00
chukwon a932fb3fb1
Update pins.c
also match lolin_c3_mini pins definition of new version
2022-12-28 21:25:25 +08:00
Dan Halbert 88d0eba7f4
Merge pull request #7258 from m1cha1s/ESP32DevKitV1
Esp32 dev kit v1
2022-12-24 09:12:45 -05:00
evildave666 7cfdd24f77
Change flash mode to dio 2022-12-22 09:30:52 +09:00
evildave666 e80ff20583
Remove IO11 from definition
It is used internally on this particular board version despite being broken out to a pin and marked on silkscreen.
2022-12-22 09:29:24 +09:00
root aac324c4d1 added frozen modules, changed to 8BM FLASH 2022-12-18 22:49:28 +00:00
RetiredWizard 68d510cb2f
Update mpconfigboard.h
Configure LED pin for STATUS display and to prevent ESP floating pins from constantly lighting led dimly.
2022-12-07 23:00:09 -05:00
Dan Halbert 676e40d62f
Merge pull request #7311 from dhalbert/esp32-box-lite-sdkconfig
make esp32-box-lite sdkconfig same as box
2022-12-06 21:31:45 -05:00
Dan Halbert 3965ef9c2a make esp32-box-lite sdkconfig same as box 2022-12-06 19:27:00 -05:00
evildave666 eaf39b4c10
Update pins.c 2022-12-05 16:40:36 +09:00
evildave666 14b430ed35
Fix pre-commit issues 2022-12-05 16:35:48 +09:00
evildave666 5b6f06d84c
Add additional files 2022-12-05 16:08:12 +09:00
evildave666 05a8bf8c38
Create board.c 2022-12-05 16:06:50 +09:00
m1cha1s b5dda0b770 Removed esp32_devkit_v1 folder 2022-12-02 14:26:46 +01:00
m1cha1s d904d8e9a0 Renamed the board folder to doit_esp32_devkit_v1 2022-11-30 20:26:41 +01:00
m1cha1s 680e56c52a Changed creator id 2022-11-25 14:09:35 +01:00
m1cha1s 26fbb25653 Fixed formatting 2022-11-25 13:55:06 +01:00
m1cha1s fb46e7c4d8 Defined esp32 board for the esp32 devkit v1 2022-11-25 12:13:44 +01:00
Dan Halbert 85a83b8150 Simplify some ESP32-C3 board sdkconfig files 2022-11-21 12:35:10 -05:00
MicroDev 3a418379d3
Merge branch 'main' of origin into ESP32-S3-DevKitC-1-N32R8 2022-11-18 09:40:20 +05:30
Neradoc f9f1edbb08 setup PWM status LED on aithinker ESP32-C3 boards 2022-11-17 20:32:50 +01:00
Jeff Epler 12545fb060
Add prototype feather esp32s2/s3 reverse tft board definition
This is not final hardware and may change!
2022-11-15 20:22:20 -06:00
root 43566dec5b allow inclusion of board while blocking build files 2022-11-13 12:13:32 +00:00
root 6c3b9b64da add crcibernetica-ideaboard 2022-11-12 03:22:15 +00:00
dronecz 11ce074318
Update mpconfigboard.mk 2022-11-08 23:43:13 +01:00
dronecz a568a5c2e2
Rename sdkonfig to sdkconfig 2022-11-06 22:14:19 +01:00
dronecz f1e658f8bb
Update sdkonfig 2022-11-06 22:07:12 +01:00
dronecz 882100a87a
Create sdkonfig 2022-11-02 22:10:44 +01:00
dronecz 71b5e6088b
Update mpconfigboard.mk 2022-11-02 22:07:28 +01:00
dronecz d6fe378456
Update mpconfigboard.h 2022-11-02 22:05:39 +01:00
dronecz 9b1181804c
Merge branch 'adafruit:main' into main 2022-10-30 19:16:05 +01:00
dronecz 468709abcc
Update pins.c
Hopefully last change nefore merge.
2022-10-30 18:51:46 +01:00
dronecz ae8f415bd5
Update board.c 2022-10-30 02:17:38 +02:00
Neradoc 0aa41fa92e change BOARD_USER_SAFE_MODE_ACTION into a separate sentence 2022-10-30 01:55:42 +02:00
Neradoc 934d2a7004 remove duplicate press boot button, it's already the default 2022-10-30 01:52:17 +02:00
dronecz 5d7c58da5d
Update pins.c
Attempt to fix build issue
2022-10-30 01:52:09 +02:00
Dan Halbert a064b52ad7
CIRCUITPY_ESP32_CAMERA, not CIRCUITPY_USB_CAMERA 2022-10-29 10:13:11 -04:00
Dan Halbert 2ffd16a10c
Update mpconfigboard.mk 2022-10-29 09:27:09 -04:00
CDario 19fd9107a2 Merded with main branch 2022-10-29 07:46:54 +00:00
CDarius 7282bd9c9a
Removed boilerplate already handled by MP_WEAK definitions
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-10-29 09:34:45 +02:00
Dan Halbert 053d0fa8b5
Merge pull request #7145 from chukwon/fix_lolin_s3
fix and add lolin_s3 pins definition
2022-10-28 23:50:53 -04:00
chukwon 9c66320474 fix and add lolin_s3 pins definition 2022-10-28 21:40:35 +08:00
CDario b815a4cc5e Added safe mode button and fix coyright attribution 2022-10-28 12:06:11 +00:00
CDario 27142d090b Fixed copyright attribution 2022-10-28 11:08:30 +00:00
CDario b276ed7af9 Fixed copyright attribution 2022-10-28 05:32:09 +00:00
CDario b94447fde5 Added safe mode button 2022-10-28 05:00:54 +00:00
Dan Halbert 8fe44a23d2
Merge pull request #7140 from dhalbert/esp32-s3-box-spiram-fix
correct SPIRAM settings for ESP32-S3-BOX
2022-10-27 16:09:59 -04:00
Dan Halbert 26688fa826 correct SPIRAM settings for ESP32-S3-BOX 2022-10-27 14:45:29 -04:00
MicroDev baa44a2dba
Merge pull request #7133 from CDarius/fix_m5stack_core_basic
Fixed wrong configuration in sdkconfig
2022-10-27 18:34:07 +05:30
dronecz d774f3d34f
Update board.c
Fix for CLI
2022-10-27 15:02:44 +02:00
dronecz 0e0c106740 Add Maker badge board 2022-10-27 01:06:38 +02:00
CDario cdbad53649 Fixed wrong configuration in sdkconfig 2022-10-26 20:06:27 +00:00
CDario be07722bbc Added board M5Stack Atom Lite 2022-10-26 19:57:23 +00:00
Dan Halbert 5ebdf281cb
Merge pull request #7125 from dhalbert/esp-pin-alarm-fix
Fix setup of Espressif PinAlarms
2022-10-26 15:24:58 -04:00
Jeff Epler 366cf4a048
Merge pull request #7113 from CDarius/m5stack_core_fire
Added M5Stack Core Fire board
2022-10-26 09:10:50 -05:00
Dan Halbert e49cd00d60 fix debug UART pins on Metro ESP32-S2 2022-10-25 20:41:08 -04:00
CDario f6e2369bbd Removed not available UART in board 2022-10-25 16:53:42 +00:00
CDario f9983ff556 Added M5Stack Core Basic board 2022-10-25 16:42:14 +00:00
CDario c8191e8830 Better pins definitions 2022-10-25 11:41:39 +00:00
CDario 5fa67548ea Added missing sdkconfig file 2022-10-24 20:03:06 +00:00
CDario 39171d7626 Removed unnecessary compiler flags 2022-10-24 19:21:26 +00:00
CDario beab76c325 Added M5Stack Core Fire board 2022-10-24 18:38:30 +00:00
Neradoc 3c5bf4e852
Update ports/espressif/boards/m5stack_stamp_c3/mpconfigboard.mk
Co-authored-by: MicroDev <70126934+MicroDev1@users.noreply.github.com>
2022-10-22 16:23:27 +02:00
askpatrickw d147712522 Add M5 Stamp C3 board 2022-10-22 00:45:54 +02:00
microDev 5114ae7a31
fix `2MB-no-uf2` partition table 2022-10-17 19:44:08 +05:30
Kong Wai Weng fc00a6675e Added some pin definitions to match with the Arduino core. 2022-10-14 17:25:24 +08:00
Dan Halbert 822e806f03
Merge pull request #7031 from BPI-STEAM/CircuitPython-main-bpi-picow-dev
Add BananaPi BPI-PicoW-S3 .
2022-10-11 22:53:37 -04:00
Wind-stormger 376df8ec7e Add BananaPi BPI-PicoW-S3 .
Adds support for the BananaPi BPI-PicoW-S3 Boards.
Based on esp32s3 chip.
With one WS2812 LED, one monochrome LED, one ceramic antenna.
Support double-reset to tinyUF2.
2022-10-12 09:11:25 +08:00
microDev 4f753251db
cleanup `mpconfigboard.mk` of espressif boards
- move `INTERNAL_FLASH_FILESYSTEM` to `mpconfigport.mk`
- move `LONGINT_IMPL` to `mpconfigport.mk`
- move `CFG_TUD_TASK_QUEUE_SZ` to `Makefile`
2022-10-06 16:15:01 +05:30
Dan Halbert 296960dd89 shorten board.c 2022-10-05 20:23:19 -04:00
Neradoc d31acdef6c
we don't use AUTORESET_DELAY_MS 2022-10-06 02:19:48 +02:00
Kyle Mohr dd5f9411c8
Merge branch 'adafruit:main' into main 2022-10-05 13:44:12 -05:00
Kyle Mohr 02e115cbc2
Update mpconfigboard.mk 2022-10-04 00:03:59 -05:00
Kyle Mohr 330b96726a add newlines to end of files 2022-10-04 04:56:31 +00:00
Kyle Mohr 5268ef01c9
Utilize VID/PID from native USB port 2022-10-03 23:45:28 -05:00
Kyle Mohr cffc1bfcab
sdkconfig didn't get committed for some reason... 2022-10-03 22:54:31 -05:00
Kyle Mohr a948dc399b add esp32-s2-devkitc-1-n8r2 variant 2022-10-04 03:51:51 +00:00
Dan Halbert 90f6096955 fix ai-thinker creation ids; fix some typos elsewhere 2022-10-03 15:29:03 -04:00
Dan Halbert 9d1b12066d Espressif: do not hold pins during deep sleep if not necessary 2022-09-29 20:11:48 -04:00
Jeff Epler a769beed3f
Use new unique ID for this board 2022-09-22 16:23:38 -05:00
Jeff Epler 1091d51af2
Merge pull request #6918 from UnexpectedCircuitPython/main
Added support for Unexpected Maker TinyPICO (V2/V3) and TinyPICO Nano
2022-09-17 21:39:17 -04:00
Seon Rozenblum 268b3f0dde Added support for Unexpected Maker TinyPICO (V2/V3) and TinyPICO Nano boards using ESP32-PICO-D4 2022-09-18 09:49:30 +10:00
Paul Price b2ffda219a
updated a pin definition 2022-09-17 16:53:24 -04:00
MicroDev 4a69dfa50c
Merge pull request #6907 from dhalbert/preserve-pins-on-deep-sleep
allow preserving pin state during deep sleep
2022-09-16 17:52:04 +05:30
Dan Halbert 4df8a51982 Remove unneeded workaround for Feather ESP32-S2 TFT 2022-09-15 20:06:47 -04:00
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 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
Kong Wai Weng 2fbb3090e2 Changed the pins assignment. 2022-09-09 16:50:14 +08: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
Seon Rozenblum 6c4f352533 Fixed incorrect IO naming for ProS3 and FeatherS3 2022-09-07 19:51:45 +10: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
wemos 3a18d285a2 Add LOLIN S3 ESP32-S3 board. 2022-09-03 11:06:51 +08:00
Jeff Epler 8ed6a6135a Disable camera on boards without psram 2022-08-26 09:27:50 -05:00
Martin 528da05f54 Add Waveshare ESP32-S2-Pico-LCD 2022-08-15 16:46:14 +02:00
lady ada 2f2ccdddbf pycam rev b pins 2022-08-13 23:41:35 -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
Dan Halbert 198c8fea11 merge from upstream and fix espressif_esp32s3_eye 2022-08-10 08:43:08 -04:00
Dan Halbert 02cc6c2aee Merge remote-tracking branch 'adafruit/main' into remove-autobrightness 2022-08-10 08:35:53 -04:00
Dan Halbert 41bcd7b260 Remove support for auto-brightness 2022-08-09 22:40:21 -04:00
Scott Shawcroft 59b4353282
Merge pull request #6713 from tannewt/exception_filename
Add exception filename to title bar
2022-08-09 16:59:12 -07:00
Scott Shawcroft 554063a817
Merge branch 'main' into espressif-camera-2 2022-08-09 14:07:14 -07:00
Scott Shawcroft 5084de1b73
Merge pull request #6708 from strid3r21/main
Added Smart Bee Design Boards
2022-08-09 14:06:11 -07:00
Scott Shawcroft b3b27a1d80
Remove extra leading spaces 2022-08-09 10:45:47 -07:00
Scott Shawcroft 556d01a685
Remove extra newline at end of file 2022-08-09 10:44:57 -07:00
Scott Shawcroft ce1273be7a
Pull Feather S2 TFT LED down on reset 2022-08-09 10:42:56 -07:00
Jeff Epler ec839d6f90 these items should not have been disabled 2022-08-09 11:42:19 -05:00
Jeff Epler f87e34b9ed add shutter button 2022-08-09 11:42:19 -05:00
Dan Halbert 10275001ac enable web workflow on Feather HUZZAH32 2022-08-09 07:26:18 -04:00
paul 15ad24ba62 ran pre-commit. 2022-08-09 04:32:21 -04:00
lady ada 2cd9222e5e add includes 2022-08-07 14:32:29 -04:00
lady ada 029b6b6fbe add default display 2022-08-07 14:12:40 -04:00
paul a6eadd6259 Added Bee Motion S3 board 2022-08-07 11:59:43 -04:00
paul f39058edc4 Added Bee S3 board 2022-08-06 22:22:20 -04:00
Jeff Epler 1da8065d6b
Merge remote-tracking branch 'origin/main' into espressif-camera-2 2022-08-05 16:38:51 -05:00
Jeff Epler 3f49d77036
Improve esp32-s3-eye board definition 2022-08-05 13:10:21 -05:00
Scott Shawcroft 125b276af0
Get CIRCUITPY FATFS directly.
Otherwise, you may actually get a non-root filesystem.

Fixes #6575
2022-08-04 16:06:27 -07:00
Jeff Epler 861fa9625d
Add the ESP32-EYE aka ESP-EYE 2022-08-04 15:12:12 -05:00
Jeff Epler 0e26a937cc
Disable camera everywhere it doesn't fit 2022-08-04 15:12:08 -05:00
Jeff Epler 69949ecb43
update PID for this board 2022-08-04 15:11:56 -05:00
Jeff Epler b903a020fd
Enable display on esp32-s3-eye 2022-08-04 15:11:52 -05:00
Jeff Epler 8d673bdbf5
reserve 1MB of PSRAM for camera framebuffer on esp32s3-eye
.. this setting can be overridden with a bigger or smaller value in
CIRCUITPY/.env but 1/8 of PSRAM seems like a good initial value. It's
enough to store a single 800x600 or 640x480 RGB565 frame, or multiple
smaller frames such as 320x240.
2022-08-04 15:11:51 -05:00
Jeff Epler 5db6db0128
add esp32-camera
This uses the esp32-camera code instead of our own homebrewed camera code.
In theory it supports esp32, esp32-s2 and esp32-s3, as long as they have
PSRAM.

This is very basic and doesn't support changing any camera parameters,
including switching resolution or pixelformat.

This is tested on the Kaluga (ESP32-S2) and ESP32-S3-Eye boards.

First, reserve some PSRAM by putting this line in `CIRCUITPY/_env`:
```
CIRCUITPY_RESERVED_PSRAM=524288
```
and hard-reset the board for it to take effect.

Now, the following script will take a very low-resolution jpeg file and print
it in the REPL in escape coded form:

```python
import board
import esp32_camera

c = esp32_camera.Camera(
    data_pins=board.CAMERA_DATA,
    external_clock_pin=board.CAMERA_XCLK,
    pixel_clock_pin=board.CAMERA_PCLK,
    vsync_pin=board.CAMERA_VSYNC,
    href_pin=board.CAMERA_HREF,
    pixel_format=esp32_camera.PixelFormat.JPEG,
    i2c=board.I2C(),
    external_clock_frequency=20_000_000)

m = c.take()
if m is not None:
    print(bytes(m))
```

Then on desktop open a python repl and run something like
```python
>>> with open("my.jpg", "wb") as f: f.write(<BIG PASTE FROM REPL>)
```
and open my.jpg in a viewer.
2022-08-04 15:11:50 -05:00
Jeff Epler 8e08cc38f8
Add default I2C bus to Kaluga 2022-08-04 15:11:48 -05:00