Commit Graph

38 Commits

Author SHA1 Message Date
Scott Shawcroft
e1df598199
Split displayio hardware support from core
These are moved:
* Display -> busdisplay.BusDisplay
* FourWire -> fourwire.FourWire
* EPaperDisplay -> epaperdisplay.EPaperDisplay
* I2CDisplay -> i2cdisplaybus.I2CDisplayBus

`paralleldisplay` is now `paralleldisplaybus` (and registered as
`paralleldisplay` too).

Bus related helpers are split out of display_core into bus_core.
It is in still displayio since it is a dependency of both
busdisplay and epaperdisplay.

Fixes #7667
2023-10-24 15:43:34 -07:00
Scott Shawcroft
4b29862d30
Clean up more s2 sdkconfig 2023-09-13 11:40:08 -07:00
MicroDev
8feb3bad29
refactor board config files 2023-09-13 11:35:14 -07:00
MicroDev
931ed7c6e5
conditionally include esp_psram and fix sdkconfig 2023-09-13 11:35:11 -07:00
Scott Shawcroft
d5b747b305
Fix board inits 2023-04-21 13:23:01 -07: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
9d1b12066d Espressif: do not hold pins during deep sleep if not necessary 2022-09-29 20:11:48 -04:00
Dan Halbert
4df8a51982 Remove unneeded workaround for Feather ESP32-S2 TFT 2022-09-15 20:06:47 -04:00
Dan Halbert
4cb69a51d5 Use MP_WEAK for default board.c routines 2022-09-08 07:36:50 -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
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
ce1273be7a
Pull Feather S2 TFT LED down on reset 2022-08-09 10:42:56 -07:00
Dan Halbert
76e32dcf93 remove need for CIRCUITPY_ESP_PSRAM 2022-07-08 14:54:55 -04:00
Dan Halbert
780c4963cb wip; change never-ever reset pin mechanism 2022-06-28 23:06:49 -04:00
Dan Halbert
02069eb0b5 wip 2022-06-23 15:59:06 -04:00
foamyguy
cbff9dd8e3 add new argument for all boards with built-in display 2022-06-04 11:08:20 -05:00
Dan Halbert
c3cfbc1259 Force pin 21 high; patch; need to diagnose further 2022-04-09 22:03:16 -04:00
Scott Shawcroft
4363361c87
Board definition clean up
Removes:
* AUTORESET_DELAY_MS which never did anything but was introduced
  somehow.
* CIRCUITPY_BOOT_BUTTON in all but one ESP board because they all have
  them. There is a default based on the strapping pins.
* BOARD_USER_SAFE_MODE_ACTION because it was all the same for boards
  with boot buttons. Now the safe mode code manages the message.
2022-03-21 17:58:43 -07: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
Kattni Rembor
c9213481b3 Update pin name to match TFT pins. 2022-02-16 16:32:08 -05:00
Scott Shawcroft
65af10cd23
Tweak I2C and TFT power pin defaults
This should set the power to on by default without preventing the
user code from repeatedly using it.

Fixes #5903
2022-02-14 16:19:56 -08:00
Neradoc
b2c8fd3938 add board.STEMMA_I2C alias to some boards 2022-02-02 01:18:46 +01:00
microDev
3970aa5a5e
fix build failure on two boards 2022-01-21 10:11:33 +05:30
Scott Shawcroft
d99847b410
Refactor pin reset on ESP
This makes it easier to blanket never reset flash and USB pins. It
also allows us to set a custom state after reset. The first case
is for the double tap reset that needs to be pulled low.

Fixes #5893
2022-01-20 12:40:41 -08:00
Scott Shawcroft
39639ecd17
Rework configs to take target into account
New script will filter settings to different tiers.
2022-01-13 15:55:37 -08:00
Dan Halbert
59275c7225
Merge pull request #5846 from jepler/feather-esp32s2-tft-spi
feather esp32s2 tft: fix sharing of main display bus
2022-01-12 23:05:42 -05:00
Jeff Epler
10c3836bc0
feather esp32s2 tft: fix sharing of main display bus 2022-01-12 14:35:00 -06:00
Kattni Rembor
fb96c09118 Add button pin to Feathers, fix pin order on QT Py. 2022-01-12 13:54:56 -05:00
Kattni Rembor
4efbfca2b0 Fix typo, pin order. 2022-01-10 14:45:54 -05:00
lady ada
1c1559f5af fix colororder 2021-12-17 09:41:44 -05:00
lady ada
c088090319 nuudge 2021-12-17 01:17:35 -05:00
lady ada
12e72ef406 fix final qtpys2 and s2tft feather pinouts 2021-12-17 00:24:19 -05:00
Dan Halbert
c43e0bd2db uncrustify fixes 2021-12-06 09:54:15 -05:00
lady ada
104af801b7 fix speed by not rotating 2021-11-11 21:39:23 -05:00
lady ada
0ba47ed115 comma on 2021-11-11 11:43:44 -05:00
lady ada
bcec249091 displaaaaaaaaay 2021-11-10 23:13:22 -05:00
ladyada
d30c3ba4c6 nu board w tft 2021-11-10 17:23:29 -05:00