Skip to content

Commit 1499d28

Browse files
committed
release change
1 parent d1a9434 commit 1499d28

3 files changed

Lines changed: 43 additions & 5 deletions

File tree

.mpypack-release.conf

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@ useing [mpypack](https://github.com/Dreagonmon/mpypack) to pack up code.
33

44
This 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

apps/.mpypack.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
[mpypack_config]
22
# ----board----
33
#>>>>----port----<<<<
4-
port = COM4
4+
port = /dev/ttyUSB0
55
#>>>>----baud rate----<<<<
66
baud = 115200
77

88
# ----parameter----
99
#>>>>----sync local source----<<<<
10-
local = .\
10+
local = ./
1111
#>>>>----sync remote target----<<<<
1212
remote = /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----<<<<
2626
arch = xtensawin
2727
#>>>>----mpy-cross executable path----<<<<
28-
mpycross = ..\.native\mpy-cross-1.16.exe
28+
#mpycross = ../.native/mpy-cross

0 commit comments

Comments
 (0)