Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lcd: update lcd library #35

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
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
231 changes: 231 additions & 0 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
name: Nightly Build

on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:

permissions:
contents: read

jobs:
build_t-call:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-Call
run: |
cp config_T-CALL config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T-CALL_firmware
path: ./bin/esp32/LILYGO_T-CALL/

build_t-picoc3:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-PicoC3
run: |
cp config_T-PicoC3 config
sudo apt install gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T_PicoC3_firmware
path: ./bin/rp2/LILYGO_T_PicoC3/

build_t-sim7000g:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-SIM7000G
run: |
cp config_T-SIM7000G config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T-SIM7000G_firmware
path: ./bin/esp32/LILYGO_T-SIM7000G/

build_t5-47:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T5-4.7
run: |
cp config_T5-4.7 config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T5-4.7_firmware
path: ./bin/esp32/LILYGO_T5-4.7/

build_t5-47-plus:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T5-4.7 Plus
run: |
cp config_T5-4.7-Plus config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T5-4.7-PLUS_firmware
path: ./bin/esp32s3/LILYGO_T5-4.7-PLUS/

build_t-display:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-Display
run: |
cp config_T-Display config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T-Display_firmware
path: ./bin/esp32/LILYGO_T-Display/

build_t-displays3:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-DisplayS3
run: |
cp config_T-DisplayS3 config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T-DisplayS3_firmware
path: ./bin/esp32s3/LILYGO_T-DisplayS3/

build_t-rgb:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-RGB
run: |
cp config_T-RGB config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T-RGB_firmware
path: ./bin/esp32s3/LILYGO_T-RGB/

build_t7-s3:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T7-S3
run: |
cp config_T7-S3 config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T7-S3_firmware
path: ./bin/esp32s3/LILYGO_T7-S3/

build_t-displays3-amoled:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-DisplayS3-AMOLED
run: |
cp config_T-DisplayS3-AMOLED config
make
- name: Deliver firmware
uses: actions/upload-artifact@v3
with:
name: LILYGO_T-DisplayS3-AMOLED_firmware
path: ./bin/esp32s3/LILYGO_T-DisplayS3-AMOLED/
6 changes: 6 additions & 0 deletions .github/workflows/t-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-Call
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t-display.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-Display
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t-displays3-amoled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-DisplayS3-AMOLED
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t-displays3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-DisplayS3
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t-echo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-Echo
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t-picoc3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-PicoC3
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t-rgb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-RGB
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t-sim7000g.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T-SIM7000G
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t5-4.7-plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T5-4.7 Plus
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t5-4.7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T5-4.7
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/t7-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache dl
id: cache-dl
uses: actions/cache@v3
with:
path: dl/
key: ${{ runner.os }}-${{ hashFiles('**/dl') }}
- name: Install packages
run: sudo apt-get install git make python3 python3-pip cmake quilt
- name: Build T7-S3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To compile with lilygo-micropython you need to get the following packages. The c
- Ubuntu and Debian:

```
sudo apt-get install git make python3 python3-pip cmake quilt
sudo apt-get install git make python3 python3-pip cmake quilt libusb-1.0-0-dev libusb-dev libudev-dev
```

## Supported Boards
Expand Down
4 changes: 2 additions & 2 deletions extmod/display/lcd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ define lcd/info
PKG_NAME:=lcd_binding_micropython
PKG_SOURCE_URL:=https://github.com/liangyingy/lcd_binding_micropython.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=59bbbdae5ecc9ae84b986ce54c089250a13cb768
PKG_SOURCE_VERSION:=d822b4239e72475b1ca18f40a1c47a2fe5ed8c53
PKG_SOURCE_MD5:=
endef

Expand All @@ -15,4 +15,4 @@ include $(INCLUDE_DIR)/package.mk
all:
$(eval $(lcd/info))
$(call Package/prereq,$(TARGET_BUILD_DIR))
# $(call Package/patches,$(TARGET_BUILD_DIR)/$(PKG_NAME),$(shell pwd)/patches)
# $(call Package/patches,$(TARGET_BUILD_DIR)/$(PKG_NAME),$(shell pwd)/patches)
Loading