Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions configs/sdkconfig_display_waveshares3_touch_lcd35.defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# display waveshares3 touch lcd35
CONFIG_APP_REPRODUCIBLE_BUILD=y
CONFIG_BF20A6_SUPPORT=n
CONFIG_BF3005_SUPPORT=n
CONFIG_BOARD_TYPE_WS_TOUCH_LCD35=y
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
CONFIG_BOOTLOADER_WDT_ENABLE=n
CONFIG_BT_ENABLED=y
CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=517
CONFIG_BT_NIMBLE_ENABLED=y
CONFIG_BT_NIMBLE_GAP_DEVICE_NAME_MAX_LEN=11
CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE=5632
CONFIG_BT_NIMBLE_LOG_LEVEL_NONE=y
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL=y
CONFIG_BT_NIMBLE_NVS_PERSIST=y
CONFIG_BT_NIMBLE_ROLE_BROADCASTER=n
CONFIG_BT_NIMBLE_ROLE_CENTRAL=n
CONFIG_BT_NIMBLE_ROLE_OBSERVER=n
CONFIG_BT_NIMBLE_SM_LEGACY=n
CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="j"
CONFIG_BUTTON_LONG_PRESS_HOLD_SERIAL_TIME_MS=100
CONFIG_BUTTON_LONG_PRESS_TIME_MS=500
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
CONFIG_COMPILER_STACK_CHECK_MODE_STRONG=y
CONFIG_COMPILER_WARN_WRITE_STRINGS=y
CONFIG_DEBUG_MODE=y
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_ESP_CONSOLE_NONE=y
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
CONFIG_ESP_ERR_TO_NAME_LOOKUP=n
CONFIG_ESP_MAIN_TASK_STACK_SIZE=12288
CONFIG_ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND=n
CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=n
CONFIG_ESP_SYSTEM_BBPLL_RECALIB=n
CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
CONFIG_ESP_TASK_WDT_EN=n
CONFIG_ESP_WIFI_AMPDU_RX_ENABLED=n
CONFIG_ESP_WIFI_AMPDU_TX_ENABLED=n
CONFIG_ESP_WIFI_IRAM_OPT=n
CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT=n
CONFIG_ESP_WIFI_NVS_ENABLED=n
CONFIG_ESP_WIFI_RX_IRAM_OPT=n
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n
CONFIG_ETH_USE_SPI_ETHERNET=n
CONFIG_FATFS_LFN_HEAP=y
CONFIG_FATFS_VFS_FSTAT_BLKSIZE=4096
CONFIG_FATFS_VOLUME_COUNT=1
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3
CONFIG_GC032A_SUPPORT=n
CONFIG_GC2145_SUPPORT=n
CONFIG_IDF_TARGET="esp32s3"
CONFIG_LIBC_NEWLIB_NANO_FORMAT=y
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=n
CONFIG_MBEDTLS_ECP_RESTARTABLE=y
CONFIG_LIBC_STDIN_LINE_ENDING_LF=y
CONFIG_LIBC_STDOUT_LINE_ENDING_LF=y
CONFIG_NT99141_SUPPORT=n
CONFIG_OV3660_SUPPORT=n
CONFIG_OV7670_SUPPORT=n
CONFIG_OV7725_SUPPORT=n
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitionss3.csv"
CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP=n
CONFIG_SC030IOT_SUPPORT=n
CONFIG_SPIRAM=y
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=256
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=65536
CONFIG_SPIRAM_MEMTEST=n
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_RODATA=y
CONFIG_SPIRAM_SPEED_80M=y
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
CONFIG_SPI_FLASH_VERIFY_WRITE=y
CONFIG_SPI_MASTER_ISR_IN_IRAM=n
CONFIG_SPI_SLAVE_ISR_IN_IRAM=n
CONFIG_TINYUSB_CDC_ENABLED=y
CONFIG_TINYUSB_CDC_RX_BUFSIZE=64
CONFIG_TINYUSB_DESC_MANUFACTURER_STRING="Waveshare"
CONFIG_TINYUSB_DESC_PRODUCT_STRING="S3 Touch LCD 3.5"
18 changes: 18 additions & 0 deletions diy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,24 @@ There are a number of hardware devices that can run Jade firmware with minimal c
(BT enabled, see next section for disabling)
* [Assembly Guide & Hardware Notes](./waveshare/)

### Waveshare S3 Touch LCD 3.5
![](img/ws-touch-lcd35.jpg)
* Costs ~$26 USD from manufacturer ($33 USD for the "-C" version with case and OV5640 camera)
* 3.5 inch 320x480 IPS display (ST7796), touch screen interface (virtual buttons)
* Wifi/Bluetooth
* AXP2101 power management with battery charging and level indicator
* Easy USB debugging and flashing
* Typically supports Secure Boot V2
* Hardware Required (No Soldering Required)
* [Waveshare S3 Touch LCD 3.5](https://www.waveshare.com/esp32-s3-touch-lcd-3.5.htm) (SKU 30733, or SKU 30934 for the -C version)
* OV5640/OV2640 Camera module (included in the -C version)
* 3.7V Lithium battery with MX1.25 connector (optional)
* NOTE: only the plain `3.5` model is supported - the `3.5B` variant uses a
different (QSPI) display controller and does NOT work with this firmware
* Build [config](../configs/sdkconfig_display_waveshares3_touch_lcd35.defaults)
(BT enabled, see next section for disabling)
* [Assembly Guide & Hardware Notes](./waveshare/)

# Modifying Configuration Files for Use
Once you are familiar with the process of flashing the firmware using the sdkconfig templates that are included in the /config folder of this repository, there are some additional changes that you should make to these files before using the device with actual funds.

Expand Down
Binary file added diy/img/ws-touch-lcd35.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions diy/waveshare/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ The device uses touchscreen navigation and the BOOT button for sleep/wake.
Bluetooth is enabled by default but can be turned off with the NORADIO config
script.

## S3 Touch LCD 3.5

Same navigation model as the Touch LCD 2 (virtual touch buttons, BOOT button
long-press for sleep/wake). The camera plugs into the onboard DVP FPC
connector (the -C version ships with an OV5640 fitted). Battery charging and
level reporting are handled by the onboard AXP2101 PMU; an optional 3.7V
lithium battery can be attached to the MX1.25 header (check the connector
polarity before plugging it in). A long press of the PWR button (4s) cuts
power; when off on battery, the PWR button powers the device back on.

NOTE: the `3.5B` variant is a different device (QSPI display controller) and
is not supported.

## Flashing

To prepare the board for flashing, hold down the `BOOT` button and plug in the
Expand Down
3 changes: 3 additions & 0 deletions gitlab/diy_fw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ build_diy_diycam_tcameraplus:

build_diy_display_waveshares3_touch_lcd2:
extends: .build_diy_template

build_diy_display_waveshares3_touch_lcd35:
extends: .build_diy_template
Loading