-
Notifications
You must be signed in to change notification settings - Fork 8.3k
boards: adafruit: add support for adafruit esp32s3 feather tft reverse #91776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dkalowsk
merged 2 commits into
zephyrproject-rtos:main
from
DBS06:board/adafruit-feather-esp32s3-reverse-tft
Jun 26, 2025
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| zephyr_library() | ||
| zephyr_library_sources(board.c) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Adafruit ESP32-S3 Reverse TFT Feather board configuration | ||
|
|
||
| # Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. | ||
| # Copyright (c) 2024 Leon Rinkel <[email protected]> | ||
| # Copyright (c) 2025 Philipp Steiner <[email protected]> | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| config HEAP_MEM_POOL_ADD_SIZE_BOARD | ||
| int | ||
| default 4096 if BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE_ESP32S3_PROCPU | ||
| default 256 if BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE_ESP32S3_APPCPU |
9 changes: 9 additions & 0 deletions
9
boards/adafruit/feather_esp32s3_tft_reverse/Kconfig.adafruit_feather_esp32s3_tft_reverse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. | ||
| # Copyright (c) 2024 Leon Rinkel <[email protected]> | ||
| # Copyright (c) 2025 Philipp Steiner <[email protected]> | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| config BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE | ||
| select SOC_ESP32S3_WROOM_N4R2 | ||
| select SOC_ESP32S3_PROCPU if BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE_ESP32S3_PROCPU | ||
| select SOC_ESP32S3_APPCPU if BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE_ESP32S3_APPCPU |
32 changes: 32 additions & 0 deletions
32
boards/adafruit/feather_esp32s3_tft_reverse/Kconfig.defconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Copyright (c) 2024 Leon Rinkel <[email protected]> | ||
| # Copyright (c) 2025 Philipp Steiner <[email protected]> | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| if BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE_ESP32S3_PROCPU | ||
|
|
||
| if DISPLAY | ||
|
|
||
| config BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE | ||
| select BOARD_LATE_INIT_HOOK | ||
|
|
||
| choice ST7789V_PIXEL_FORMAT | ||
| default ST7789V_RGB565 | ||
| endchoice | ||
|
|
||
| if LVGL | ||
|
|
||
| config LV_Z_BITS_PER_PIXEL | ||
| default 16 | ||
|
|
||
| choice LV_COLOR_DEPTH | ||
| default LV_COLOR_DEPTH_16 | ||
| endchoice | ||
|
|
||
| config LV_COLOR_16_SWAP | ||
| default y | ||
|
|
||
| endif # LVGL | ||
|
|
||
| endif # DISPLAY | ||
|
|
||
| endif # BOARD_ADAFRUIT_FEATHER_ESP32S3_TFT_REVERSE_ESP32S3_PROCPU |
10 changes: 10 additions & 0 deletions
10
boards/adafruit/feather_esp32s3_tft_reverse/Kconfig.sysbuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| choice BOOTLOADER | ||
| default BOOTLOADER_MCUBOOT | ||
| endchoice | ||
|
|
||
| choice BOOT_SIGNATURE_TYPE | ||
| default BOOT_SIGNATURE_TYPE_NONE | ||
| endchoice |
73 changes: 73 additions & 0 deletions
73
...ds/adafruit/feather_esp32s3_tft_reverse/adafruit_feather_esp32s3_tft_reverse-pinctrl.dtsi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| /* | ||
| * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. | ||
| * Copyright (c) 2024 Leon Rinkel <[email protected]> | ||
| * Copyright (c) 2025 Philipp Steiner <[email protected]> | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| #include <zephyr/dt-bindings/pinctrl/esp-pinctrl-common.h> | ||
| #include <dt-bindings/pinctrl/esp32s3-pinctrl.h> | ||
| #include <zephyr/dt-bindings/pinctrl/esp32s3-gpio-sigmap.h> | ||
|
|
||
| &pinctrl { | ||
| /* Debug TX (DBG) - This is the hardware UART debug pin */ | ||
| uart0_default: uart0_default { | ||
| group1 { | ||
| pinmux = <UART0_TX_GPIO43>; | ||
| output-high; | ||
| }; | ||
|
|
||
| group2 { | ||
| pinmux = <UART0_RX_GPIO44>; | ||
| bias-pull-up; | ||
| }; | ||
| }; | ||
|
|
||
| uart1_default: uart1_default { | ||
| group1 { | ||
| pinmux = <UART1_TX_GPIO39>; | ||
| output-high; | ||
| }; | ||
|
|
||
| group2 { | ||
| pinmux = <UART1_RX_GPIO38>; | ||
| bias-pull-up; | ||
| }; | ||
| }; | ||
|
|
||
| i2c0_default: i2c0_default { | ||
| group1 { | ||
| pinmux = <I2C0_SDA_GPIO3>, | ||
| <I2C0_SCL_GPIO4>; | ||
| drive-open-drain; | ||
| output-high; | ||
| }; | ||
| }; | ||
|
|
||
| spim2_default: spim2_default { | ||
| group1 { | ||
| pinmux = <SPIM2_MISO_GPIO37>, | ||
| <SPIM2_SCLK_GPIO36>, | ||
| <SPIM2_CSEL_GPIO42>; | ||
| }; | ||
|
|
||
| group2 { | ||
| pinmux = <SPIM2_MOSI_GPIO35>; | ||
| output-low; | ||
| }; | ||
| }; | ||
|
|
||
| spim3_ws2812_led: spim3_ws2812_led { | ||
| group1 { | ||
| pinmux = <SPIM3_MOSI_GPIO33>; | ||
| }; | ||
| }; | ||
|
|
||
| twai_default: twai_default { | ||
| group1 { | ||
| pinmux = <TWAI_TX_GPIO5>, | ||
| <TWAI_RX_GPIO6>; | ||
| }; | ||
| }; | ||
| }; | ||
33 changes: 33 additions & 0 deletions
33
boards/adafruit/feather_esp32s3_tft_reverse/adafruit_feather_esp32s3_tft_reverse_appcpu.dts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| /* | ||
| * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. | ||
| * Copyright (c) 2024 Leon Rinkel <[email protected]> | ||
| * Copyright (c) 2025 Philipp Steiner <[email protected]> | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
| /dts-v1/; | ||
|
|
||
| #include <espressif/esp32s3/esp32s3_wroom_n4r2.dtsi> | ||
| #include <espressif/partitions_0x0_amp.dtsi> | ||
| #include "adafruit_feather_esp32s3_tft_reverse-pinctrl.dtsi" | ||
|
|
||
| / { | ||
| model = "Adafruit ESP32-S3 Reverse TFT Feather APPCPU"; | ||
| compatible = "adafruit,feather_esp32s3_tft_reverse", "espressif,esp32s3"; | ||
|
|
||
| chosen { | ||
| zephyr,sram = &sram1; | ||
| zephyr,ipc_shm = &shm0; | ||
| zephyr,ipc = &ipm0; | ||
| zephyr,flash = &flash0; | ||
| zephyr,code-partition = &slot0_appcpu_partition; | ||
| }; | ||
| }; | ||
|
|
||
| &trng0 { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &ipm0 { | ||
| status = "okay"; | ||
| }; |
27 changes: 27 additions & 0 deletions
27
boards/adafruit/feather_esp32s3_tft_reverse/adafruit_feather_esp32s3_tft_reverse_appcpu.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| identifier: adafruit_feather_esp32s3_tft_reverse/esp32s3/appcpu | ||
| name: Adafruit ESP32-S3 Reverse TFT Feather APPCPU | ||
| type: mcu | ||
| arch: xtensa | ||
| toolchain: | ||
| - zephyr | ||
| supported: | ||
| - uart | ||
| testing: | ||
| ignore_tags: | ||
| - net | ||
| - bluetooth | ||
| - flash | ||
| - cpp | ||
| - posix | ||
| - watchdog | ||
| - logging | ||
| - kernel | ||
| - pm | ||
| - gpio | ||
| - crypto | ||
| - eeprom | ||
| - heap | ||
| - cmsis_rtos | ||
| - jwt | ||
| - zdsp | ||
| vendor: adafruit |
3 changes: 3 additions & 0 deletions
3
...dafruit/feather_esp32s3_tft_reverse/adafruit_feather_esp32s3_tft_reverse_appcpu_defconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| CONFIG_CLOCK_CONTROL=y |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.