File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [mpypack_config]
2+ # ----board----
3+ #>>>>----port----<<<<
4+ port = /dev/ttyUSB0
5+ #>>>>----baud rate----<<<<
6+ baud = 115200
7+
8+ # ----parameter----
9+ #>>>>----sync local source----<<<<
10+ local = ./
11+ #>>>>----sync remote target----<<<<
12+ remote = /
13+ #>>>>----build source----<<<<
14+ source = ./
15+ #>>>>----build output----<<<<
16+ output = ./.build
17+ #>>>>----include path RegExp----<<<<
18+ include = ^/data/sys_config\.json$|^/data/battery\.dat$
19+ #>>>>----exclude path RedExp----<<<<
20+ exclude = \.pyi$|\.pyc$|__pycache__|^/README.md|^/requirements.txt|^/resource/font/.+\.ufnt$|^/apps/.+|^/data/.+|^/tmp/.+|^/lib/.+
21+ #>>>>----include hidden file----<<<<
22+ hidden = false
23+ #>>>>----compile .py to .mpy----<<<<
24+ compile = true
25+ #>>>>----compile arch----<<<<
26+ arch = xtensawin
27+ #>>>>----mpy-cross executable path----<<<<
28+ # mpycross = ./.native/mpy-cross
Original file line number Diff line number Diff line change @@ -3,3 +3,13 @@ useing [mpypack](https://github.com/Dreagonmon/mpypack) to pack up code.
33
44This is the base software framework for Play32 game console.
55
6+ ## Install
7+ - [ flash firmware.bin] ( https://docs.micropython.org/en/latest/esp32/tutorial/intro.html )
8+ - keep A and B pressed while hard reset the board
9+ - connect to wifi Play32AP with password 123456
10+ - access ftp via 192.168.4.1:21 (recommand FileZilla with utf-8 coding)
11+ - upload framework.pack and framework.pack.sha256 to /tmp
12+ - keep A and B pressed and hard reset the board. release in 1 sec after reboot
13+ - wait the board reboot itself
14+ - press B at app_selector, enter normal ftp mode
15+ - upload apps to test
Original file line number Diff line number Diff line change 11[mpypack_config]
22# ----board----
33#>>>>----port----<<<<
4- port = COM4
4+ port = /dev/ttyUSB0
55#>>>>----baud rate----<<<<
66baud = 115200
77
88# ----parameter----
99#>>>>----sync local source----<<<<
10- local = .\
10+ local = ./
1111#>>>>----sync remote target----<<<<
1212remote = /apps
1313#>>>>----build source----<<<<
14- source = .\
14+ source = ./
1515#>>>>----build output----<<<<
16- output = ..\ .build\ apps
16+ output = ../ .build/ apps
1717#>>>>----include path RegExp----<<<<
1818# include = ^/data/hw_config.json$|^/data/sys_config.json$
1919#>>>>----exclude path RedExp----<<<<
@@ -25,4 +25,4 @@ compile = true
2525#>>>>----compile arch----<<<<
2626arch = xtensawin
2727#>>>>----mpy-cross executable path----<<<<
28- mpycross = ..\ .native\ mpy-cross-1.16.exe
28+ # mpycross = ../ .native/ mpy-cross
You can’t perform that action at this time.
0 commit comments