Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
rzeldent committed Jan 12, 2024
2 parents 5d3e3b6 + 3508b37 commit 8959ae5
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 25 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,21 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: "true"
submodules: recursive
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: platformio run
- name: Install PlatformIO
run: python -m pip install -U platformio
- name: Build firmware
run: pio run
- name: Archive firmwares
uses: actions/upload-artifact@v3
with:
Expand Down
Binary file removed PXL_20231130_225143662.jpg
Binary file not shown.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Bare minimum sketch for the Sunton aka Cheap Yellow Display (CYD) boards. ESP32_1732S019N/C, 2424S012N/C, 2432S024R/C/N, 2432S028R, 2432S032N/R/C, 3248S035R/C, 4827S043R/C, 8048S050N/C and 8048S070N/C
# Bare minimum sketch for the Sunton aka Cheap Yellow Display (CYD) boards. ESP32_1732S019N/C, 2424S012N/C, 2432S024R/C/N, 2432S028R, 2432S032N/R/C, 3248S035R/C, 4827S043R/C, 4848S040C, 8048S050N/C and 8048S070N/C

For [PlatformIO](https://platformio.org/)

[![Platform IO CI](https://github.com/rzeldent/esp32-smartdisplay-demo/actions/workflows/main.yml/badge.svg)](https://github.com/rzeldent/esp32-smartdisplay-demo/actions/workflows/main.yml)

This is a demo application for the [esp32-smartdisplay](https://github.com/rzeldent/esp32-smartdisplay) library that is intended to be used in [PlatformIO](https://platformio.org/).

>[!TIP]
>See [esp32-smartdisplay](https://github.com/rzeldent/esp32-smartdisplay/) for more information.
See [https://github.com/rzeldent/esp32-smartdisplay](https://github.com/rzeldent/esp32-smartdisplay/) for more information about the driver library.

>[!WARNING]
>Do not forget to clone this repository with submodules: ```git clone --recurse-submodules```!
This is required to also have the latest version of the [Sunton boards definitions](https://github.com/rzeldent/platformio-espressif32-sunton).
>This is required to also have the latest version of the [Sunton boards definitions](https://github.com/rzeldent/platformio-espressif32-sunton).
Example with sound! (if WiFi credentials are provided and speaker attached)

Expand Down
29 changes: 15 additions & 14 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
#default_envs = esp32-4827S043C
#default_envs = esp32-4827S043N
#default_envs = esp32-4827S043R
#default_envs = esp32-4848S040C
#default_envs = esp32-4848S040CIY1
#default_envs = esp32-4848S040CIY3
#default_envs = esp32-8048S043C
#default_envs = esp32-8048S043N
#default_envs = esp32-8048S043R
Expand All @@ -50,14 +51,12 @@ board_build.partitions = min_spiffs.csv

build_flags =
-Ofast
#-Wall
-Wall
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
# LVGL settings
-DLV_CONF_PATH=${PROJECT_INCLUDE_DIR}/lv_conf.h

#lib_deps = rzeldent/esp32_smartdisplay
-D'LV_CONF_PATH=${platformio.include_dir}/lv_conf.h'

lib_deps =
https://github.com/rzeldent/esp32-smartdisplay.git
https://github.com/rzeldent/esp32-smartdisplay#develop
https://github.com/schreibfaul1/ESP32-audioI2S

[env:esp32-1732S019C]
Expand All @@ -84,9 +83,8 @@ board = esp32-2432S024R
[env:esp32-2432S028R]
board = esp32-2432S028R

# Commented out because define creates an error during CI
#[env:esp32-2432S028Rv2]
#board = esp32-2432S028Rv2
[env:esp32-2432S028Rv2]
board = esp32-2432S028Rv2

[env:esp32-2432S032C]
board = esp32-2432S032C
Expand All @@ -106,14 +104,17 @@ board = esp32-3248S035R
[env:esp32-4827S043C]
board = esp32-4827S043C

[env:esp32-4827S043R]
board = esp32-4827S043R

[env:esp32-4827S043N]
board = esp32-4827S043N

[env:esp32-4827S043R]
board = esp32-4827S043R
[env:esp32-4848S040CIY1]
board = esp32-4848S040CIY1

[env:esp32-4848S040C]
board = esp32-8048S043C
[env:esp32-4848S040CIY3]
board = esp32-4848S040CIY3

[env:esp32-8048S043C]
board = esp32-8048S043C
Expand Down

0 comments on commit 8959ae5

Please sign in to comment.