File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
1
# uiflow_micropython
2
2
3
- ## build
3
+ ## How to build
4
+ ### Setting up ESP-IDF and the build environment
5
+ ``` shell
6
+ mkdir uiflow_workspace && cd uiflow_workspace
7
+ git clone https://github.com/m5stack/esp-idf.git
8
+ git -C esp-idf checkout 014ee65f1f5e291230e398c4913020be9a6278a1
9
+ git -C esp-idf submodule update --init --recursive
10
+ ./esp-idf/install.sh
11
+ ```
4
12
13
+ ### Building the firmware
5
14
``` shell
6
- git clone https://github.com/m5stack/uiflow_micropython --recursive
15
+ git clone https://github.com/m5stack/uiflow_micropython
7
16
cd uiflow_micropython/m5stack
8
17
make submodules
9
18
make mpy-cross
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ PYTHON ?= python3
17
17
18
18
GIT_SUBMODULES = lib/berkeley-db-1.xx
19
19
20
- .PHONY : all clean deploy erase submodules FORCE
20
+ .PHONY : all clean deploy erase mpy-cross submodules FORCE
21
21
22
22
MAKEFILE_DIR: =$(dir $(abspath $(lastword $(MAKEFILE_LIST ) ) ) )
23
23
61
61
mpy-cross :
62
62
make -C ../micropython/mpy-cross
63
63
64
+ # The two submodules do not belong to the same repository
65
+ # micropython submodule belong to uiflow_micropython
66
+ # berkeley-db-1.xx submodule belong to micropython submodule
64
67
submodules :
68
+ git submodule update --init ../micropython
65
69
cd ./../micropython && git submodule update --init $(addprefix ./,$(GIT_SUBMODULES ) ) && cd -
You can’t perform that action at this time.
0 commit comments