Skip to content

Commit ab99584

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop-pandian
2 parents 20f01dc + fc3c6a0 commit ab99584

File tree

293 files changed

+7425
-879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+7425
-879
lines changed

.github/workflows/nightly-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/[email protected]
1616
- name: Install packages
17-
run: source tools/ci.sh && ci_esp32_idf44_setup
17+
run: source tools/ci.sh && ci_esp32_idf504_setup
1818
- name: Build
1919
run: source tools/ci.sh && ci_esp32_nightly_build
2020
- name: Deliver AtomS3 firmware

.github/workflows/ports_m5stack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
steps:
1919
- uses: actions/[email protected]
2020
- name: Install packages
21-
run: source tools/ci.sh && ci_esp32_idf44_setup
21+
run: source tools/ci.sh && ci_esp32_idf504_setup
2222
- name: Build
2323
run: source tools/ci.sh && ci_esp32_build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ tools/littlefs/prebuilt/
5252

5353
dependencies.lock
5454
m5stack/.workenv
55+
managed_components/

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: codeformat
5+
name: MicroPython codeformat.py for changed C files
6+
entry: tools/codeformat.py -v -c -f
7+
language: python
8+
- id: verifygitlog
9+
name: MicroPython git commit message format checker
10+
entry: tools/verifygitlog.py --check-file --ignore-rebase
11+
language: python
12+
verbose: true
13+
stages: [commit-msg]
14+
- repo: https://github.com/charliermarsh/ruff-pre-commit
15+
rev: v0.1.3
16+
hooks:
17+
- id: ruff
18+
- id: ruff-format

README.md

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
```shell
88
mkdir uiflow_workspace && cd uiflow_workspace
9-
git clone https://github.com/m5stack/esp-idf.git
10-
git -C esp-idf checkout 014ee65f1f5e291230e398c4913020be9a6278a1
9+
git clone -b uiflow/v2.0-idf5.0.4 https://github.com/m5stack/esp-idf.git
1110
git -C esp-idf submodule update --init --recursive
1211
./esp-idf/install.sh
1312
. ./esp-idf/export.sh
@@ -18,38 +17,17 @@ git -C esp-idf submodule update --init --recursive
1817
```shell
1918
git clone https://github.com/m5stack/uiflow_micropython
2019
cd uiflow_micropython/m5stack
21-
make submodules # Only need once
20+
make submodules
21+
make patch
2222
make littlefs
2323
make mpy-cross
24-
# Build and flash
25-
# atoms3
26-
make BOARD=M5STACK_AtomS3 pack_all flash
27-
# atoms3-lite
28-
make BOARD=M5STACK_AtomS3_Lite pack_all flash
29-
# atoms3u
30-
make BOARD=M5STACK_AtomS3U pack_all flash
31-
# core(BASIC/M5GO/GRAY) (Falsh 16MB)
32-
make BOARD=M5STACK_Basic pack_all flash
33-
# core(BASIC/M5GO/GRAY) (Falsh 4MB)
34-
make BOARD=M5STACK_Basic_4MB pack_all flash
35-
# capsule
36-
make BOARD=M5STACK_Capsule pack_all flash
37-
# core2,tough
38-
make BOARD=M5STACK_Core2 pack_all flash
39-
# cores3
40-
make BOARD=M5STACK_CoreS3 pack_all flash
41-
# dial
42-
make BOARD=M5STACK_Dial pack_all flash
43-
# fire
44-
make BOARD=M5STACK_Fire pack_all flash
45-
# stamps3
46-
make BOARD=M5STACK_StampS3 pack_all flash
47-
# stickcplus
48-
make BOARD=M5STACK_StickC_PLUS pack_all flash
49-
# stickcplus2
50-
make BOARD=M5STACK_StickC_PLUS2 pack_all flash
24+
make flash_all
5125
```
5226

27+
The default board build the M5STACK_AtomS3 one, You can specify a different board by passing `BOARD=<board>` to the make commands. More BOARD type define is under [m5satck/boards](./m5stack/boards/) path.
28+
29+
More command support, you can check the [Makefile](./m5stack/Makefile).
30+
5331
## Documentation
5432

5533
API documentation for this library can be found on [Read the Docs](https://uiflow-micropython.readthedocs.io/en/latest/).
166 KB
Loading
172 KB
Loading
193 KB
Loading
299 KB
Loading
297 KB
Loading

0 commit comments

Comments
 (0)