Skip to content

Commit

Permalink
- Updated build for LV_COLOR_16_SWAP
Browse files Browse the repository at this point in the history
- Added ESP32_4827S043
  • Loading branch information
rzeldent committed Nov 17, 2023
1 parent f7b5e27 commit 1cdf655
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,58 @@ jobs:
include:
- board: "esp32dev"
smartboard: "ESP32_2432S024N"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S024R"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S024C"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_2432S028R"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_3248S035R"
color16swap: 1
- board: "esp32dev"
smartboard: "ESP32_3248S035C"
color16swap: 1
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_4827S043N"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_4827S043R"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_4827S043C"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S043N"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S043R"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S043C"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S050N"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S050R"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S050C"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S070N"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S070R"
color16swap: 0
- board: "esp32-s3-devkitc-1"
smartboard: "ESP32_8048S070C"
color16swap: 0
steps:
- uses: actions/checkout@v3
- name: Set up python
Expand All @@ -49,4 +73,4 @@ jobs:
- name: Build firmware
run: pio ci --lib="." --project-conf "example/platformio.ini" --environment ${{matrix.board}} "example/main.cpp"
env:
PLATFORMIO_BUILD_FLAGS: -D${{matrix.smartboard}} -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h"
PLATFORMIO_BUILD_FLAGS: -D${{matrix.smartboard}} -DLV_CONF_PATH="${{github.workspace}}/example/lv_conf.h" -DLV_COLOR_16_SWAP=${{matrix.color16swap}}
2 changes: 1 addition & 1 deletion example/lv_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#define LV_COLOR_DEPTH 16

/*Swap the 2 bytes of RGB565 color. Useful if the display has an 8-bit interface (e.g. SPI)*/
#define LV_COLOR_16_SWAP 0
//#define LV_COLOR_16_SWAP 0

/*Enable features to draw on transparent background.
*It's required if opa, and transform_* style properties are used.
Expand Down

0 comments on commit 1cdf655

Please sign in to comment.