Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
5b0a7d01
Unverified
Commit
5b0a7d01
authored
Feb 08, 2023
by
Ha Thach
Committed by
GitHub
Feb 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new board Adafruit Feather ESP32-S3 Reverse TFT (#7811)
parent
b4ad2054
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
321 additions
and
0 deletions
+321
-0
boards.txt
boards.txt
+200
-0
variants/adafruit_feather_esp32s3_reversetft/bootloader-tinyuf2.bin
...dafruit_feather_esp32s3_reversetft/bootloader-tinyuf2.bin
+0
-0
variants/adafruit_feather_esp32s3_reversetft/partitions-4MB-tinyuf2.csv
...uit_feather_esp32s3_reversetft/partitions-4MB-tinyuf2.csv
+11
-0
variants/adafruit_feather_esp32s3_reversetft/pins_arduino.h
variants/adafruit_feather_esp32s3_reversetft/pins_arduino.h
+68
-0
variants/adafruit_feather_esp32s3_reversetft/tinyuf2.bin
variants/adafruit_feather_esp32s3_reversetft/tinyuf2.bin
+0
-0
variants/adafruit_feather_esp32s3_reversetft/variant.cpp
variants/adafruit_feather_esp32s3_reversetft/variant.cpp
+42
-0
No files found.
boards.txt
View file @
5b0a7d01
...
...
@@ -9648,6 +9648,206 @@ adafruit_feather_esp32s3_tft.menu.EraseFlash.none.upload.erase_cmd=
adafruit_feather_esp32s3_tft.menu.EraseFlash.all=Enabled
adafruit_feather_esp32s3_tft.menu.EraseFlash.all.upload.erase_cmd=-e
##############################################################
# Adafruit Feather ESP32-S3 Reverse TFT
adafruit_feather_esp32s3_reversetft.name=Adafruit Feather ESP32-S3 Reverse TFT
adafruit_feather_esp32s3_reversetft.vid.0=0x239A
adafruit_feather_esp32s3_reversetft.pid.0=0x8123
adafruit_feather_esp32s3_reversetft.vid.1=0x239A
adafruit_feather_esp32s3_reversetft.pid.1=0x0123
adafruit_feather_esp32s3_reversetft.vid.2=0x239A
adafruit_feather_esp32s3_reversetft.pid.2=0x8124
adafruit_feather_esp32s3_reversetft.bootloader.tool=esptool_py
adafruit_feather_esp32s3_reversetft.bootloader.tool.default=esptool_py
adafruit_feather_esp32s3_reversetft.upload.tool=esptool_py
adafruit_feather_esp32s3_reversetft.upload.tool.default=esptool_py
adafruit_feather_esp32s3_reversetft.upload.tool.network=esp_ota
adafruit_feather_esp32s3_reversetft.upload.maximum_size=1310720
adafruit_feather_esp32s3_reversetft.upload.maximum_data_size=327680
adafruit_feather_esp32s3_reversetft.upload.flags=
adafruit_feather_esp32s3_reversetft.upload.extra_flags=
adafruit_feather_esp32s3_reversetft.upload.use_1200bps_touch=true
adafruit_feather_esp32s3_reversetft.upload.wait_for_upload_port=true
adafruit_feather_esp32s3_reversetft.serial.disableDTR=false
adafruit_feather_esp32s3_reversetft.serial.disableRTS=false
adafruit_feather_esp32s3_reversetft.build.tarch=xtensa
adafruit_feather_esp32s3_reversetft.build.bootloader_addr=0x0
adafruit_feather_esp32s3_reversetft.build.target=esp32s3
adafruit_feather_esp32s3_reversetft.build.mcu=esp32s3
adafruit_feather_esp32s3_reversetft.build.core=esp32
adafruit_feather_esp32s3_reversetft.build.variant=adafruit_feather_esp32s3_reversetft
adafruit_feather_esp32s3_reversetft.build.board=ADAFRUIT_FEATHER_ESP32S3_REVTFT
adafruit_feather_esp32s3_reversetft.build.usb_mode=0
adafruit_feather_esp32s3_reversetft.build.cdc_on_boot=1
adafruit_feather_esp32s3_reversetft.build.msc_on_boot=0
adafruit_feather_esp32s3_reversetft.build.dfu_on_boot=0
adafruit_feather_esp32s3_reversetft.build.f_cpu=240000000L
adafruit_feather_esp32s3_reversetft.build.flash_size=4MB
adafruit_feather_esp32s3_reversetft.build.flash_freq=80m
adafruit_feather_esp32s3_reversetft.build.flash_mode=dio
adafruit_feather_esp32s3_reversetft.build.boot=qio
adafruit_feather_esp32s3_reversetft.build.partitions=default
adafruit_feather_esp32s3_reversetft.build.defines=
adafruit_feather_esp32s3_reversetft.build.loop_core=
adafruit_feather_esp32s3_reversetft.build.event_core=
adafruit_feather_esp32s3_reversetft.build.flash_type=qio
adafruit_feather_esp32s3_reversetft.build.psram_type=qspi
adafruit_feather_esp32s3_reversetft.build.memory_type={build.flash_type}_{build.psram_type}
adafruit_feather_esp32s3_reversetft.menu.LoopCore.1=Core 1
adafruit_feather_esp32s3_reversetft.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
adafruit_feather_esp32s3_reversetft.menu.LoopCore.0=Core 0
adafruit_feather_esp32s3_reversetft.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
adafruit_feather_esp32s3_reversetft.menu.EventsCore.1=Core 1
adafruit_feather_esp32s3_reversetft.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
adafruit_feather_esp32s3_reversetft.menu.EventsCore.0=Core 0
adafruit_feather_esp32s3_reversetft.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
adafruit_feather_esp32s3_reversetft.menu.USBMode.default=USB-OTG (TinyUSB)
adafruit_feather_esp32s3_reversetft.menu.USBMode.default.build.usb_mode=0
adafruit_feather_esp32s3_reversetft.menu.USBMode.hwcdc=Hardware CDC and JTAG
adafruit_feather_esp32s3_reversetft.menu.USBMode.hwcdc.build.usb_mode=1
adafruit_feather_esp32s3_reversetft.menu.CDCOnBoot.cdc=Enabled
adafruit_feather_esp32s3_reversetft.menu.CDCOnBoot.cdc.build.cdc_on_boot=1
adafruit_feather_esp32s3_reversetft.menu.CDCOnBoot.default=Disabled
adafruit_feather_esp32s3_reversetft.menu.CDCOnBoot.default.build.cdc_on_boot=0
adafruit_feather_esp32s3_reversetft.menu.MSCOnBoot.default=Disabled
adafruit_feather_esp32s3_reversetft.menu.MSCOnBoot.default.build.msc_on_boot=0
adafruit_feather_esp32s3_reversetft.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode)
adafruit_feather_esp32s3_reversetft.menu.MSCOnBoot.msc.build.msc_on_boot=1
adafruit_feather_esp32s3_reversetft.menu.DFUOnBoot.default=Disabled
adafruit_feather_esp32s3_reversetft.menu.DFUOnBoot.default.build.dfu_on_boot=0
adafruit_feather_esp32s3_reversetft.menu.DFUOnBoot.dfu=Enabled (Requires USB-OTG Mode)
adafruit_feather_esp32s3_reversetft.menu.DFUOnBoot.dfu.build.dfu_on_boot=1
adafruit_feather_esp32s3_reversetft.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB)
adafruit_feather_esp32s3_reversetft.menu.UploadMode.cdc.upload.use_1200bps_touch=true
adafruit_feather_esp32s3_reversetft.menu.UploadMode.cdc.upload.wait_for_upload_port=true
adafruit_feather_esp32s3_reversetft.menu.UploadMode.default=UART0 / Hardware CDC
adafruit_feather_esp32s3_reversetft.menu.UploadMode.default.upload.use_1200bps_touch=false
adafruit_feather_esp32s3_reversetft.menu.UploadMode.default.upload.wait_for_upload_port=false
adafruit_feather_esp32s3_reversetft.menu.PSRAM.enabled=QSPI PSRAM
adafruit_feather_esp32s3_reversetft.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
adafruit_feather_esp32s3_reversetft.menu.PSRAM.enabled.build.psram_type=qspi
adafruit_feather_esp32s3_reversetft.menu.PSRAM.disabled=Disabled
adafruit_feather_esp32s3_reversetft.menu.PSRAM.disabled.build.defines=
adafruit_feather_esp32s3_reversetft.menu.PSRAM.disabled.build.psram_type=qspi
adafruit_feather_esp32s3_reversetft.menu.PSRAM.opi=OPI PSRAM
adafruit_feather_esp32s3_reversetft.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM
adafruit_feather_esp32s3_reversetft.menu.PSRAM.opi.build.psram_type=opi
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.tinyuf2=TinyUF2 4MB (1.3MB APP/960KB FFAT)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.tinyuf2.build.custom_bootloader=bootloader-tinyuf2
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.tinyuf2.build.custom_partitions=partitions-4MB-tinyuf2
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.tinyuf2.upload.maximum_size=1441792
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.tinyuf2.upload.extra_flags=0x2d0000 "{runtime.platform.path}/variants/{build.variant}/tinyuf2.bin"
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.default.build.partitions=default
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.minimal.build.partitions=minimal
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.no_ota.build.partitions=no_ota
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.huge_app.build.partitions=huge_app
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
adafruit_feather_esp32s3_reversetft.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.240=240MHz (WiFi)
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.240.build.f_cpu=240000000L
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.160=160MHz (WiFi)
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.160.build.f_cpu=160000000L
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.80=80MHz (WiFi)
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.80.build.f_cpu=80000000L
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.40=40MHz
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.40.build.f_cpu=40000000L
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.20=20MHz
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.20.build.f_cpu=20000000L
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.10=10MHz
adafruit_feather_esp32s3_reversetft.menu.CPUFreq.10.build.f_cpu=10000000L
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio=QIO 80MHz
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio.build.flash_mode=dio
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio.build.boot=qio
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio.build.boot_freq=80m
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio.build.flash_freq=80m
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio120=QIO 120MHz
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio120.build.flash_mode=dio
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio120.build.boot=qio
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio120.build.boot_freq=120m
adafruit_feather_esp32s3_reversetft.menu.FlashMode.qio120.build.flash_freq=80m
adafruit_feather_esp32s3_reversetft.menu.FlashMode.dio=DIO 80MHz
adafruit_feather_esp32s3_reversetft.menu.FlashMode.dio.build.flash_mode=dio
adafruit_feather_esp32s3_reversetft.menu.FlashMode.dio.build.boot=dio
adafruit_feather_esp32s3_reversetft.menu.FlashMode.dio.build.boot_freq=80m
adafruit_feather_esp32s3_reversetft.menu.FlashMode.dio.build.flash_freq=80m
adafruit_feather_esp32s3_reversetft.menu.FlashMode.opi=OPI 80MHz
adafruit_feather_esp32s3_reversetft.menu.FlashMode.opi.build.flash_mode=dout
adafruit_feather_esp32s3_reversetft.menu.FlashMode.opi.build.boot=opi
adafruit_feather_esp32s3_reversetft.menu.FlashMode.opi.build.boot_freq=80m
adafruit_feather_esp32s3_reversetft.menu.FlashMode.opi.build.flash_freq=80m
adafruit_feather_esp32s3_reversetft.menu.FlashSize.4M=4MB (32Mb)
adafruit_feather_esp32s3_reversetft.menu.FlashSize.4M.build.flash_size=4MB
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.921600=921600
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.921600.upload.speed=921600
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.115200=115200
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.115200.upload.speed=115200
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.256000.windows=256000
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.256000.upload.speed=256000
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.230400.windows.upload.speed=256000
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.230400=230400
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.230400.upload.speed=230400
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.460800.linux=460800
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.460800.macosx=460800
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.460800.upload.speed=460800
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.512000.windows=512000
adafruit_feather_esp32s3_reversetft.menu.UploadSpeed.512000.upload.speed=512000
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.none=None
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.none.build.code_debug=0
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.error=Error
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.error.build.code_debug=1
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.warn=Warn
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.warn.build.code_debug=2
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.info=Info
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.info.build.code_debug=3
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.debug=Debug
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.debug.build.code_debug=4
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.verbose=Verbose
adafruit_feather_esp32s3_reversetft.menu.DebugLevel.verbose.build.code_debug=5
adafruit_feather_esp32s3_reversetft.menu.EraseFlash.none=Disabled
adafruit_feather_esp32s3_reversetft.menu.EraseFlash.none.upload.erase_cmd=
adafruit_feather_esp32s3_reversetft.menu.EraseFlash.all=Enabled
adafruit_feather_esp32s3_reversetft.menu.EraseFlash.all.upload.erase_cmd=-e
##############################################################
# Adafruit QT Py ESP32-S3 No PSRAM
...
...
variants/adafruit_feather_esp32s3_reversetft/bootloader-tinyuf2.bin
0 → 100644
View file @
5b0a7d01
File added
variants/adafruit_feather_esp32s3_reversetft/partitions-4MB-tinyuf2.csv
0 → 100644
View file @
5b0a7d01
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
# bootloader.bin,, 0x1000, 32K
# partition table, 0x8000, 4K
nvs, data, nvs, 0x9000, 20K,
otadata, data, ota, 0xe000, 8K,
ota_0, 0, ota_0, 0x10000, 1408K,
ota_1, 0, ota_1, 0x170000, 1408K,
uf2, app, factory,0x2d0000, 256K,
ffat, data, fat, 0x310000, 960K,
variants/adafruit_feather_esp32s3_reversetft/pins_arduino.h
0 → 100644
View file @
5b0a7d01
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#define USB_VID 0x239A
#define USB_PID 0x8123
#define USB_MANUFACTURER "Adafruit"
#define USB_PRODUCT "Feather ESP32-S3 Reverse TFT"
#define USB_SERIAL "" // Empty string for MAC adddress
#define EXTERNAL_NUM_INTERRUPTS 46
#define NUM_DIGITAL_PINS 48
#define NUM_ANALOG_INPUTS 20
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
#define digitalPinHasPWM(p) (p < 46)
#define LED_BUILTIN 13
#define PIN_NEOPIXEL 33
#define NEOPIXEL_NUM 1 // number of neopixels
#define NEOPIXEL_POWER 21 // power pin
#define NEOPIXEL_POWER_ON HIGH // power pin state when on
#define TFT_I2C_POWER 7
#define TFT_CS 42
#define TFT_RST 41
#define TFT_DC 40
#define TFT_BACKLITE 45
static
const
uint8_t
SDA
=
3
;
static
const
uint8_t
SCL
=
4
;
static
const
uint8_t
SS
=
42
;
static
const
uint8_t
MOSI
=
35
;
static
const
uint8_t
SCK
=
36
;
static
const
uint8_t
MISO
=
37
;
static
const
uint8_t
A0
=
18
;
static
const
uint8_t
A1
=
17
;
static
const
uint8_t
A2
=
16
;
static
const
uint8_t
A3
=
15
;
static
const
uint8_t
A4
=
14
;
static
const
uint8_t
A5
=
8
;
static
const
uint8_t
TX
=
39
;
static
const
uint8_t
RX
=
38
;
#define TX1 TX
#define RX1 RX
static
const
uint8_t
T5
=
5
;
static
const
uint8_t
T6
=
6
;
static
const
uint8_t
T8
=
8
;
static
const
uint8_t
T9
=
9
;
static
const
uint8_t
T10
=
10
;
static
const
uint8_t
T11
=
11
;
static
const
uint8_t
T12
=
12
;
static
const
uint8_t
T13
=
13
;
static
const
uint8_t
T14
=
14
;
static
const
uint8_t
DAC1
=
17
;
static
const
uint8_t
DAC2
=
18
;
#endif
/* Pins_Arduino_h */
variants/adafruit_feather_esp32s3_reversetft/tinyuf2.bin
0 → 100644
View file @
5b0a7d01
File added
variants/adafruit_feather_esp32s3_reversetft/variant.cpp
0 → 100644
View file @
5b0a7d01
/*
* The MIT License (MIT)
*
* Copyright (c) 2021 Ha Thach (tinyusb.org) for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "esp32-hal-gpio.h"
#include "pins_arduino.h"
extern
"C"
{
// Initialize variant/board, called before setup()
void
initVariant
(
void
)
{
// This board has power control pins, and we must set them to output and high
// in order to enable the NeoPixels, TFT & I2C
pinMode
(
NEOPIXEL_POWER
,
OUTPUT
);
digitalWrite
(
NEOPIXEL_POWER
,
HIGH
);
pinMode
(
TFT_I2C_POWER
,
OUTPUT
);
digitalWrite
(
TFT_I2C_POWER
,
HIGH
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment