Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
365df0e
Add build_test example and GitHub Actions workflows to verify
lovyan03 Jan 28, 2026
6ffaaeb
Add additional colors including gray/grey variations and complete col…
yuyun2000 Jan 29, 2026
24feb6c
Merge pull request #180 from yuyun2000/develop
lovyan03 Feb 2, 2026
9335ffb
Refactor Arduino CI: use SoC-based devkit boards and add M5Stack boar…
lovyan03 Feb 2, 2026
a36a3d1
Fix M5Stack board FQBN in Arduino CI workflow
lovyan03 Feb 2, 2026
3e3ae18
Fix ESP-IDF inline asm build error by adding -fomit-frame-pointer to …
lovyan03 Feb 5, 2026
f124505
Use SFINAE to detect GPIO and I2C struct field naming, add ESP32-H2 s…
lovyan03 Feb 5, 2026
586d60b
Use SFINAE to detect GPIO and I2C struct field naming, add ESP32-H2 s…
lovyan03 Feb 5, 2026
9670b2e
Merge branch 'm5stack:develop' into develop
lovyan03 Feb 5, 2026
ff337c6
fix(esp32h2): redefine SPI register macros as parameterized for ESP32-H2
lovyan03 Feb 5, 2026
bc22fdb
Merge branch 'develop' of https://github.com/lovyan03/M5GFX into develop
lovyan03 Feb 5, 2026
770e402
Merge pull request #182 from lovyan03/develop
lovyan03 Feb 6, 2026
ee33493
Add StampS3Bat board id.
TinyuZhao Mar 11, 2026
8a6266e
Add StampP4 board id.
TinyuZhao Mar 11, 2026
7e951ff
Add lvgl font support.
lbuque Mar 13, 2026
20188be
Merge pull request #183 from TinyuZhao/develop
lovyan03 Mar 13, 2026
62f5ba0
Add lvgl font example.
lbuque Mar 16, 2026
22b903c
Merge pull request #184 from m5stack/feature/lvgl_font_support
lovyan03 Mar 16, 2026
f1de0e8
The loadFont function has been updated to allow setting the font type…
lovyan03 Mar 16, 2026
497b9d2
tweak for lvgl fonts
lovyan03 Mar 16, 2026
27483fc
fix Tab5 bus speed for ST7123
lovyan03 Mar 16, 2026
2ae7758
Fix compilation errors when using it with lvgl.
lbuque Mar 17, 2026
2f606df
Merge pull request #187 from lbuque/compile/lvgl_font
lovyan03 Mar 24, 2026
99e1820
Sync from LovyanGFX: ESP32P4 Bus_SPI fixes
lovyan03 Apr 10, 2026
25bdf8f
Sync from LovyanGFX: ESP-IDF v6 compatibility
lovyan03 Apr 10, 2026
2e4f4fc
Sync from LovyanGFX: UTF8 decoding improvements (4-byte support)
lovyan03 Apr 10, 2026
33a54e7
fix: environment-dependent build errors in lvgl font path
lovyan03 Apr 10, 2026
cfe42b2
cmake: dedupe lvgl font source glob
lovyan03 Apr 10, 2026
6baaa4c
Merge pull request #188 from lovyan03/develop
lovyan03 Apr 10, 2026
3c2552d
update board id
lovyan03 Apr 10, 2026
50080cc
add support PaperColor (under construction)
lovyan03 Apr 14, 2026
90c1265
tweak for PaperColor (under construction)
lovyan03 Apr 16, 2026
33189ce
tweak for PaperColor
lovyan03 Apr 17, 2026
cd70d07
tweak for emoji support
lovyan03 Apr 17, 2026
2565e8d
tweak for PaperColor
lovyan03 Apr 20, 2026
7ba7d3f
rising version 0.2.20
lovyan03 Apr 21, 2026
2f72532
remove unused function.
lovyan03 Apr 21, 2026
e133bfe
fix compile error
lovyan03 Apr 21, 2026
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
102 changes: 102 additions & 0 deletions .github/workflows/ArduinoBuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Arduino Build

on:
push:
paths:
- '**.ino'
- '**.cpp'
- '**.hpp'
- '**.h'
- '**.c'
- '.github/workflows/ArduinoBuild.yml'
pull_request:
workflow_dispatch:

jobs:
build:
name: ${{ matrix.board }} (${{ matrix.esp32_version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# ===================
# Espressif Board Manager
# ===================
# ESP32
- board: esp32:esp32:esp32
esp32_version: 2.0.17
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
- board: esp32:esp32:esp32
esp32_version: 3.1.1
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
# ESP32-S3
- board: esp32:esp32:esp32s3
esp32_version: 2.0.17
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
- board: esp32:esp32:esp32s3
esp32_version: 3.1.1
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
# ESP32-C3
- board: esp32:esp32:esp32c3
esp32_version: 2.0.17
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
- board: esp32:esp32:esp32c3
esp32_version: 3.1.1
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
# ESP32-C6 (v3 only)
- board: esp32:esp32:esp32c6
esp32_version: 3.1.1
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
# ESP32-P4 (v3 only)
- board: esp32:esp32:esp32p4
esp32_version: 3.1.1
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
# ESP32-H2 (v3 only)
- board: esp32:esp32:esp32h2
esp32_version: 3.1.1
board_manager_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
# ===================
# M5Stack Board Manager
# ===================
# M5Core (ESP32)
- board: m5stack:esp32:m5stack_core
esp32_version: 2.1.4
board_manager_url: https://static-cdn.m5stack.com/resource/arduino/package_m5stack_index.json
- board: m5stack:esp32:m5stack_core
esp32_version: 3.2.5
board_manager_url: https://static-cdn.m5stack.com/resource/arduino/package_m5stack_index.json
# M5CoreS3 (ESP32-S3, v3 only)
- board: m5stack:esp32:m5stack_cores3
esp32_version: 3.2.5
board_manager_url: https://static-cdn.m5stack.com/resource/arduino/package_m5stack_index.json

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install arduino-cli
run: |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh -s 1.1.1
echo "$PWD/bin" >> $GITHUB_PATH

- name: Configure arduino-cli
run: |
arduino-cli config init
arduino-cli config add board_manager.additional_urls ${{ matrix.board_manager_url }}

- name: Install board package
run: |
arduino-cli core update-index
# Extract core (package:architecture) from FQBN (package:architecture:board)
CORE=$(echo "${{ matrix.board }}" | cut -d: -f1,2)
arduino-cli core install "${CORE}@${{ matrix.esp32_version }}"

- name: Install library
run: |
mkdir -p "$HOME/Arduino/libraries"
ln -s "$GITHUB_WORKSPACE" "$HOME/Arduino/libraries/M5GFX"

- name: Build
run: |
arduino-cli compile --fqbn ${{ matrix.board }} examples/Test/build_test/build_test.ino
62 changes: 62 additions & 0 deletions .github/workflows/IDFBuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: ESP-IDF Build

on:
push:
paths:
- '**.cpp'
- '**.hpp'
- '**.h'
- '**.c'
- '**/CMakeLists.txt'
- '.github/workflows/IDFBuild.yml'
pull_request:
workflow_dispatch:

jobs:
build:
name: ${{ matrix.target }} (IDF ${{ matrix.idf_version }})
runs-on: ubuntu-latest
container:
image: espressif/idf:v${{ matrix.idf_version }}
strategy:
fail-fast: false
matrix:
include:
# ESP32
- target: esp32
idf_version: "5.3"
- target: esp32
idf_version: "5.1.6"
# ESP32-S3
- target: esp32s3
idf_version: "5.3"
- target: esp32s3
idf_version: "5.1.6"
# ESP32-C3
- target: esp32c3
idf_version: "5.3"
- target: esp32c3
idf_version: "5.1.6"
# ESP32-C6 (IDF 5.3+ only)
- target: esp32c6
idf_version: "5.3"
# ESP32-H2
- target: esp32h2
idf_version: "5.3"
- target: esp32h2
idf_version: "5.1.6"
# ESP32-P4 (IDF 5.3+ only)
- target: esp32p4
idf_version: "5.3"

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build
working-directory: examples/Test/build_test
shell: bash
run: |
. $IDF_PATH/export.sh
idf.py set-target ${{ matrix.target }}
idf.py build
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ file(GLOB SRCS
src/*.cpp
src/lgfx/Fonts/efont/*.c
src/lgfx/Fonts/IPA/*.c
src/lgfx/Fonts/lvgl/*.c
src/lgfx/utility/*.c
src/lgfx/v1/*.cpp
src/lgfx/v1/lv_font/*.c
src/lgfx/v1/misc/*.cpp
src/lgfx/v1/panel/*.cpp
src/lgfx/v1/platforms/esp32/*.cpp
Expand Down
Loading
Loading