Skip to content

Commit acf2f6e

Browse files
authored
Merge pull request solosky#146 from solosky/develop
2.8.7
2 parents 9320737 + 16d0a10 commit acf2f6e

File tree

109 files changed

+8315
-3722
lines changed

Some content is hidden

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

109 files changed

+8315
-3722
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ fw/src/amiibo_private.c
55
fw/src/version.inc.h
66
fw/src/version.json
77

8+
fw/application/log.log
9+
810

911
fw/log.log
1012

@@ -24,8 +26,12 @@ hw/RevA/pixl.js/*.zip
2426
hw/RevA/pixl.js/*.pdf
2527
hw/RevA/pixl.js/*.kicad_prl
2628

29+
hw/RevC
30+
hw/RevD
2731
hw/SP.RevA
2832
hw/PRO.RevA
33+
hw/LIPO.RevA
34+
3d
2935

3036
dist
3137
# venv stuff
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ hw/RevC为最新PCB版本,使用[Kicad 6](https://www.kicad.org/download/)打
3030
* [RevC InteractiveHtmlBom](docs/RevC-ibom.html)
3131
* [RevC 物料清单购买指南](docs/RevC-bom.md)
3232

33-
## 衍生版本
34-
35-
[docs/boards-thirdparty.md](docs/boards-thirdparty.md)
36-
3733
## OLED版本
3834

3935
OLED版本由网友 @xiaohail 贡献,可以点[这里](https://gitlab.com/xiaohai/pixl.js)下载PCB。

docs/boards-thirdparty.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

fw/application/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"ipAddress": null,
4545
"serialNumber": null,
4646
"configFiles": [
47-
"${workspaceRoot}/config/pixljs.cfg"
47+
"${workspaceRoot}/openocd/debug.cfg"
4848
]
4949
}
5050
]

fw/application/.vscode/settings.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,21 @@
8383
"ntag_emu.h": "c",
8484
"settings.h": "c",
8585
"m-string.h": "c",
86-
"player_scene_config.h": "c"
86+
"player_scene_config.h": "c",
87+
"chrono": "c",
88+
"compare": "c",
89+
"functional": "c",
90+
"istream": "c",
91+
"ostream": "c",
92+
"ratio": "c",
93+
"tuple": "c",
94+
"type_traits": "c",
95+
"utility": "c",
96+
"mlib_common.h": "c",
97+
"mui_anim.h": "c",
98+
"mui_common.h": "c",
99+
"stdbool.h": "c",
100+
"app_timer.h": "c"
87101
},
88102
"cortex-debug.variableUseNaturalFormat": true,
89103
"cortex-debug.openocdPath.windows": "openocd",

fw/application/Makefile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ SRC_FILES += \
172172
$(PROJ_DIR)/utils.c \
173173
$(PROJ_DIR)/version2.c \
174174
$(PROJ_DIR)/amiibo_helper.c \
175+
$(PROJ_DIR)/mui_qrcode_helper.c \
175176
$(PROJ_DIR)/app_error_handler.c \
176177
$(PROJ_DIR)/libc_nano_stubs.c \
177178
$(PROJ_DIR)/hal/hal_spi_bus.c \
@@ -300,6 +301,7 @@ SRC_FILES += \
300301
$(COMP_DIR)/littlefs/lfs.c \
301302
$(COMP_DIR)/littlefs/lfs_util.c \
302303
$(COMP_DIR)/cwalk/src/cwalk.c \
304+
$(COMP_DIR)/qrcode/c/qrcodegen.c \
303305
$(U8G2_ROOT)/u8g2_bitmap.c \
304306
$(U8G2_ROOT)/u8g2_box.c \
305307
$(U8G2_ROOT)/u8g2_buffer.c \
@@ -522,6 +524,7 @@ INC_FOLDERS += \
522524
$(COMP_DIR)/littlefs \
523525
$(COMP_DIR)/tlsf \
524526
$(COMP_DIR)/cwalk/include \
527+
$(COMP_DIR)/qrcode/c \
525528
$(SDK_ROOT)/components/libraries/bsp
526529

527530
# Libraries common to all targets
@@ -666,14 +669,17 @@ ota:
666669
full: settingsgen
667670
mergehex --merge $(OUTPUT_DIRECTORY)/settings.hex $(OUTPUT_DIRECTORY)/bootloader.hex $(SDK_ROOT)/components/softdevice/s112/hex/s112_nrf52_7.2.0_softdevice.hex $(OUTPUT_DIRECTORY)/pixljs.hex --output $(OUTPUT_DIRECTORY)/pixljs_all.hex
668671

669-
flash_openocd:
672+
flash_ocd: default
670673
openocd -f interface/cmsis-dap.cfg -c "transport select swd" -f target/nrf52.cfg -d2 -c init -c "reset init" -c halt -c "program $(OUTPUT_DIRECTORY)/pixljs.hex verify" -c "reset" -c exit
671674

672-
flash_openocd_all:
673-
openocd -f interface/cmsis-dap.cfg -c "transport select swd" -f target/nrf52.cfg -d2 -c init -c "reset init" -c halt -c "nrf5 mass_erase" -c "program $(SDK_ROOT)/components/softdevice/s112/hex/s112_nrf52_7.2.0_softdevice.hex verify" -c "program $(OUTPUT_DIRECTORY)/pixljs.hex verify" -c "reset" -c exit
675+
flash_all_ocd:
676+
openocd -f interface/cmsis-dap.cfg -c "transport select swd" -f target/nrf52.cfg -d2 -c init -c "reset init" -c halt -c "nrf51 mass_erase" -c "program $(SDK_ROOT)/components/softdevice/s112/hex/s112_nrf52_7.2.0_softdevice.hex verify" -c "program $(OUTPUT_DIRECTORY)/pixljs.hex verify" -c "reset" -c exit
674677

675-
reset_openocd:
678+
reset_ocd:
676679
openocd -f interface/cmsis-dap.cfg -c "transport select swd" -f target/nrf52.cfg -c "init" -c "reset" -c "exit"
677680

678-
erase_openocd:
679-
openocd -f interface/cmsis-dap.cfg -c "transport select swd" -f target/nrf52.cfg -d2 -c init -c "reset init" -c halt -c "nrf5 mass_erase" -c "reset" -c exit
681+
erase_ocd:
682+
openocd -f interface/cmsis-dap.cfg -c "transport select swd" -f target/nrf52.cfg -d2 -c init -c "reset init" -c halt -c "nrf51 mass_erase" -c "reset" -c exit
683+
684+
rtt_ocd:
685+
openocd -f openocd/rtt.cfg

fw/application/src/amiidb/db_amiibo.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ const db_amiibo_t amiibo_list[] = {
129129
{0x08050200, 0x038f0402, "Octoling Boy", "章鱼族男孩"},
130130
{0x08050200, 0x041b0402, "Octoling - Blue", "章鱼族 - 蓝色"},
131131
{0x08050300, 0x03900402, "Octoling Octopus", "章鱼族章鱼形态"},
132+
{0x08070000, 0x04330402, "Shiver", "莎莎"},
133+
{0x08080000, 0x04340402, "Frye", "曼曼"},
134+
{0x08090000, 0x04350402, "Big Man", "鬼福"},
132135
{0x08060100, 0x041c0402, "Smallfry", "小鲑鱼"},
133136
{0x00240000, 0x038d0002, "Piranha Plant", "吞食花"},
134137
{0x00c00000, 0x037b0002, "King K. Rool", "库鲁鲁王"},

fw/application/src/amiidb/db_game.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const db_game_t game_list[] = {
1111
{9, 0, "Captain Toad: Treasure Tracker", "蘑菇队长:宝藏追踪者", 1, 4},
1212
{10, 0, "Bayonetta 2", "猎天使魔女2", 1, 13},
1313
{11, 0, "Animal Crossing: New Horizons", "集合啦!动物森友会", 99, 525},
14-
{12, 0, "Splatoon 3", "斯普拉遁3", 40, 20},
14+
{12, 0, "Splatoon 3", "斯普拉遁3", 40, 23},
1515
{13, 0, "Fire Emblem Warriors: Three Hopes", "火焰纹章:风花雪月无双", 15, 13},
1616
{14, 0, "Fire Emblem Warriors", "火焰纹章:无双", 15, 13},
1717
{15, 0, "Fire Emblem Three Houses", "火焰纹章:风花雪月", 30, 13},

fw/application/src/amiidb/db_link.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ const db_link_t link_list[] = {
144144
{12, 0x08050300, 0x03900402, "", "暂无简介"},
145145
{12, 0x08030000, 0x03760402, "", "暂无简介"},
146146
{12, 0x08060100, 0x041c0402, "", "暂无简介"},
147+
{12, 0x08070000, 0x04330402, "", "暂无简介"},
148+
{12, 0x08080000, 0x04340402, "", "暂无简介"},
149+
{12, 0x08090000, 0x04350402, "", "暂无简介"},
147150
{13, 0x21060000, 0x03601202, "", "暂无简介"},
148151
{13, 0x210b0000, 0x03a50002, "", "暂无简介"},
149152
{13, 0x21070000, 0x03611202, "", "暂无简介"},

0 commit comments

Comments
 (0)