Skip to content

Commit

Permalink
Update README and *.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShallowGreen123 committed Dec 9, 2024
1 parent 4b3759f commit bc8c789
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 7 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# https://docs.github.com/zh/actions/use-cases-and-examples/project-management/closing-inactive-issues

name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 30
days-before-issue-close: 14
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
44 changes: 44 additions & 0 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: PlatformIO CI

# GitHub Actions 的工作流语法 : https://docs.github.com/zh/actions/writing-workflows/workflow-syntax-for-github-actions

on:
push:
paths: # 推送以下文件时,就会运行工作流
- "examples/**"
- ".github/workflows/platformio.yml"
- "platformio.ini"

jobs:
build:
runs-on: ubuntu-20.04 # 指定的运行器环境中运行 [ubuntu-latest, macos-latest, windows-latest]
strategy:
matrix:
example:
- examples/display_demo
- examples/drawImages
- examples/grayscale_test
- examples/lora_recv
- examples/lora_send
- examples/multidevice_spi
- examples/sd_card_test

steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Run PlatformIO
run: |
export PLATFORMIO_SRC_DIR=${{ matrix.example }}
pio run
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

<h1 align = "center">🏆T-EPD47-S3🏆</h1>

![Build Status](https://github.com/Xinyuan-LilyGO/T5S3-4.7-e-paper-PRO/actions/workflows/platformio.yml/badge.svg?event=push)

<p>
<a href="https://platformio.org/"> <img src="./images/PlatformIO_badge.png" height="20px"> </a>
<a href="https://www.arduino.cc/en/software"> <img src="./images/Arduino_badge.png" height="20px"></a>
Expand All @@ -12,14 +14,19 @@

<!-- * [切换到中文版](./README_CN.md) -->


## :one:Product 🎁
| Version | v1.0 24-08-21 |
|:-------:|:-------------------:|
| module | ESP32-S3-WROOM-1 |
| Flash | 16MB |
| PSRAM | 8MB |
| screen | 960x540 16 Gray ink screen |

| Product | [T5 E-Paper S3 Pro](https://lilygo.cc/products/t5-e-paper-s3-pro) |
| :--------------: | :---------------------------------------------------------------: |
| MCU | ESP32-S3-WROOM-1 |
| Flash / PSRAM | 16M / 8M |
| Lora | SX1262 |
| Touch | GT911 |
| Driver IC | ED047TC1 (4.7 inches, 960x540 , 16 gray) |
| Battery Capacity | 1500mAh |
| Battery Chip | BQ25896, BQ27220 |
| RTC | PCF85063 |


## :two:Quick Start 🎁

Expand Down

0 comments on commit bc8c789

Please sign in to comment.