ESP32-S3

说明

本文用于介绍如何将此拓展板部署到 ESP32-S3 平台中,您可根据开发习惯选择 Arduino 或 ESP-IDF 开发。

Arduino

工程开发中,暂不支持。

ESP-IDF

搭建工程

1. 拉取工程并更新子模块
git clone https://github.com/embeddedboys/pico_dm_qd3503728_esp32s3_idf
cd pico_dm_qd3503728_esp32s3_idf
git submodule update --init
2. 准备 ESP-IDF 环境

Tested with ESP-IDF v5.2.3. Other versions may work as well.

mkdir -p ~/esp && cd ~/esp
git clone https://github.com/espressif/esp-idf.git -b release/v5.2
cd esp-idf
./install.sh

Make sure you have esp-idf exported, e.g.:

source ~/esp/esp-idf/export.sh
idf.py set-target esp32s3
3. 配置并编译烧录

这个项目的设计是兼容多个核心板配置,您需要打开 main/LGFX_MakerFabs_Parallel_S3.hpp。 并修改 DEFAULT_CORE_BOARD_MODEL 以适应您的核心板。以下是一些可供参考的选择:

  • Nologo tech ESP32-S3 Pico
  • Walnutpi PicoW
  • Unknown ESP32 S3 Dev Board A
#define NOLOGO_ESP32S3_PICO   1
#define WALNUTPI_PICOW        2
#define UNKNOWN_ESP32S3_PICO  3

#ifndef DEFAULT_CORE_BOARD_MODEL
  #define DEFAULT_CORE_BOARD_MODEL NOLOGO_ESP32S3_PICO
#endif

编译烧录:

idf.py build flash monitor

引脚定义

Nologo tech ESP32-S3 Pico
Walnutpi PicoW
Unknown ESP32 S3 Dev Board A
#define TFT_PIN_BLK   9
#define TFT_PIN_WR    3
#define TFT_PIN_RD    41
#define TFT_PIN_RS    4
#define TFT_PIN_RST   6

#define TFT_PIN_D0    43
#define TFT_PIN_D1    44
#define TFT_PIN_D2    38
#define TFT_PIN_D3    39
#define TFT_PIN_D4    40
#define TFT_PIN_D5    41
#define TFT_PIN_D6    42
#define TFT_PIN_D7    21
#define TFT_PIN_D8    20
#define TFT_PIN_D9    19
#define TFT_PIN_D10   18
#define TFT_PIN_D11   17
#define TFT_PIN_D12   14
#define TFT_PIN_D13   13
#define TFT_PIN_D14   12
#define TFT_PIN_D15   11

#define TP_PIN_SDA    7
#define TP_PIN_SCL    8
#define TP_PIN_INT    5

版权声明

此工程基于 Makefabsmakerfabs-parallel-tft-lvgl-lgfx 修改而来。