Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
IndentWidth: 4,
TabWidth: 4,
UseTab: Never,
}
}
44 changes: 22 additions & 22 deletions .github/workflows/pixl.js-fw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: pixl.js-fw

on:
push:
branches: [ "develop", "neo_v2"]
tags: ["*"]
branches: ["develop", "neo_v2"]
tags: ["*"]
pull_request:
types: ["opened"]
branches: ["develop"]
Expand All @@ -17,24 +17,24 @@ jobs:
runs-on: ubuntu-latest
container: solosky/nrf52-sdk:latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/checkout@v4
with:
submodules: "true"

- name: Change Owner of Container Working Directory
run: chown root:root .
- name: build firmware
run: cd fw && make all RELEASE=1 APP_VERSION=$GITHUB_RUN_NUMBER BOARD=${{matrix.board}}
- name: copy artifact
run: mv fw/_build/bootloader.hex . && mv fw/_build/pixljs.hex . && mv fw/_build/pixljs_all.hex . && mv fw/_build/pixjs_ota_v${{github.run_number}}.zip . && mv fw/docs/fw_readme.txt . && mv fw/scripts/fw_update.bat .
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: pixljs_fw_${{matrix.board}}
path: |
bootloader.hex
pixljs.hex
pixljs_all.hex
pixjs_ota_v${{github.run_number}}.zip
fw_readme.txt
fw_update.bat
- name: Change Owner of Container Working Directory
run: chown root:root .
- name: build firmware
run: cd fw && make all RELEASE=1 APP_VERSION=$GITHUB_RUN_NUMBER BOARD=${{matrix.board}}
- name: copy artifact
run: mv fw/_build/bootloader.hex . && mv fw/_build/pixljs.hex . && mv fw/_build/pixljs_all.hex . && mv fw/_build/pixjs_ota_v${{github.run_number}}.zip . && mv fw/docs/fw_readme.txt . && mv fw/scripts/fw_update.bat .
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: pixljs_fw_${{matrix.board}}
path: |
bootloader.hex
pixljs.hex
pixljs_all.hex
pixjs_ota_v${{github.run_number}}.zip
fw_readme.txt
fw_update.bat
2 changes: 1 addition & 1 deletion .vscode/.cortex-debug.registers.state.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[]
[]
66 changes: 33 additions & 33 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"configurations": [
{
"name": "Pixl.js Debug",
"includePath": [
"${workspaceFolder}/fw/application/src/**",
"${workspaceFolder}/fw/components/**",
"${NRF52_SDK_ROOT}/**"
],
"forcedInclude": [
"${workspaceFolder}/fw/application/config/sdk_config.h"
],
"defines": [
"BOARD_CUSTOM",
"FLOAT_ABI_HARD",
"NRF52",
"NRF52832_XXAA",
"NRF52_PAN_74",
"NRF_SD_BLE_API_VERSION=6",
"S132",
"SOFTDEVICE_PRESENT",
"SWI_DISABLE0",
"DEBUG",
"DEBUG_NRF",
"M_USE_THREAD_BACKEND=0"
],
"compilerPath": "/usr/local/bin/arm-none-eabi-gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "windows-gcc-arm"
}
],
"version": 4
}
"configurations": [
{
"name": "Pixl.js Debug",
"includePath": [
"${workspaceFolder}/fw/application/src/**",
"${workspaceFolder}/fw/components/**",
"${NRF52_SDK_ROOT}/**"
],
"forcedInclude": [
"${workspaceFolder}/fw/application/config/sdk_config.h"
],
"defines": [
"BOARD_CUSTOM",
"FLOAT_ABI_HARD",
"NRF52",
"NRF52832_XXAA",
"NRF52_PAN_74",
"NRF_SD_BLE_API_VERSION=6",
"S132",
"SOFTDEVICE_PRESENT",
"SWI_DISABLE0",
"DEBUG",
"DEBUG_NRF",
"M_USE_THREAD_BACKEND=0"
],
"compilerPath": "/usr/local/bin/arm-none-eabi-gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "windows-gcc-arm"
}
],
"version": 4
}
13 changes: 5 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "Pixl.js JLink Debug",
"cwd": "${workspaceRoot}",
Expand All @@ -16,7 +15,7 @@
"device": "nrf52",
"interface": "swd",
"ipAddress": null,
"serialNumber": null,
"serialNumber": null
},
{
"name": "Pixl.js Pyocd Debug",
Expand All @@ -29,7 +28,7 @@
"device": "nrf52",
"interface": "swd",
"ipAddress": null,
"serialNumber": null,
"serialNumber": null
},
{
"name": "Pixl.js Openocd Debug",
Expand All @@ -43,9 +42,7 @@
"interface": "swd",
"ipAddress": null,
"serialNumber": null,
"configFiles": [
"${workspaceRoot}/fw/application/openocd/debug.cfg"
]
"configFiles": ["${workspaceRoot}/fw/application/openocd/debug.cfg"]
},
{
"name": "Pixl.js BMP Debug",
Expand All @@ -59,7 +56,7 @@
"interface": "swd",
"ipAddress": null,
"serialNumber": null,
"BMPGDBSerialPort": "/dev/cu.usbmodem20240517021",
"BMPGDBSerialPort": "/dev/cu.usbmodem20240517021"
}
]
}
}
82 changes: 41 additions & 41 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
{
"files.associations": {
"vfs.h": "c",
"ntag_def.h": "c",
"vfs_driver_fs.h": "c",
"vfs_meta.h": "c",
"u8x8.h": "c",
"mui_u8g2.h": "c",
"mui_defines.h": "c",
"u8g2.h": "c",
"rgb_marquee.h": "c",
"utils.h": "c",
"array": "c",
"deque": "c",
"forward_list": "c",
"list": "c",
"string": "c",
"unordered_map": "c",
"unordered_set": "c",
"vector": "c",
"string_view": "c",
"initializer_list": "c",
"ranges": "c",
"optional": "c",
"istream": "c",
"ostream": "c",
"ratio": "c",
"system_error": "c",
"functional": "c",
"tuple": "c",
"type_traits": "c",
"utility": "c",
"mui_list_view.h": "c",
"nrf_log.h": "c",
"string.h": "c",
"math.h": "c",
"mlib_common.h": "c",
"ios": "c",
"limits": "c",
"algorithm": "c"
}
}
"files.associations": {
"vfs.h": "c",
"ntag_def.h": "c",
"vfs_driver_fs.h": "c",
"vfs_meta.h": "c",
"u8x8.h": "c",
"mui_u8g2.h": "c",
"mui_defines.h": "c",
"u8g2.h": "c",
"rgb_marquee.h": "c",
"utils.h": "c",
"array": "c",
"deque": "c",
"forward_list": "c",
"list": "c",
"string": "c",
"unordered_map": "c",
"unordered_set": "c",
"vector": "c",
"string_view": "c",
"initializer_list": "c",
"ranges": "c",
"optional": "c",
"istream": "c",
"ostream": "c",
"ratio": "c",
"system_error": "c",
"functional": "c",
"tuple": "c",
"type_traits": "c",
"utility": "c",
"mui_list_view.h": "c",
"nrf_log.h": "c",
"string.h": "c",
"math.h": "c",
"mlib_common.h": "c",
"ios": "c",
"limits": "c",
"algorithm": "c"
}
}
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@

## 文档

* [中文文档](docs/zh/README.md)
* [English Documentation](docs/en/README.md)
* [Italian Documentation](docs/it/README.md)
- [中文文档](docs/zh/README.md)
- [English Documentation](docs/en/README.md)
- [Italian Documentation](docs/it/README.md)

## Credits

* [FlipperZero Firmware](https://github.com/flipperdevices/flipperzero-firmware)
* [mlib](https://github.com/P-p-H-d/mlib)
* [TLSF](https://github.com/mattconte/tlsf)
* [cwalk](https://github.com/likle/cwalk)
* [SPIFFS](https://github.com/pellepl/spiffs)
* [ChameleonUltra](https://github.com/RfidResearchGroup/ChameleonUltra)
* [CH32V003-GameConsole](https://github.com/wagiminator/CH32V003-GameConsole)
- [FlipperZero Firmware](https://github.com/flipperdevices/flipperzero-firmware)
- [mlib](https://github.com/P-p-H-d/mlib)
- [TLSF](https://github.com/mattconte/tlsf)
- [cwalk](https://github.com/likle/cwalk)
- [SPIFFS](https://github.com/pellepl/spiffs)
- [ChameleonUltra](https://github.com/RfidResearchGroup/ChameleonUltra)
- [CH32V003-GameConsole](https://github.com/wagiminator/CH32V003-GameConsole)

## Contribution
## Contribution

* 特别感谢 @Caleeeeeeeeeeeee 完善的Bootloader。
* 特别感谢 @白橙 制作的外壳。
* 特别感谢 @impeeza 提供的文档翻译 。
- 特别感谢 @Caleeeeeeeeeeeee 完善的Bootloader。
- 特别感谢 @白橙 制作的外壳。
- 特别感谢 @impeeza 提供的文档翻译 。

## 讨论群

Expand All @@ -38,7 +38,8 @@
## Office Channel

Where do you find the community?
* [Pixl.js community discord server](https://discord.gg/4mqeQwcAB2)

- [Pixl.js community discord server](https://discord.gg/4mqeQwcAB2)

## 声明

Expand All @@ -47,19 +48,18 @@ Amiibo是任天堂的注册商标,NTAG21X为NXP的注册商标。

内置的Amiibo数据库来源分别如下:

* [amiiloop](https://download.amiloop.app/)
* [AmiiboAPI](https://www.amiiboapi.com/)
- [amiiloop](https://download.amiloop.app/)
- [AmiiboAPI](https://www.amiiboapi.com/)

源代码没有包含任何有任天堂版权的资源(比如相关密钥,Amiibo原始数据等)。

# License

本项目基于GPL 2.0 License发布,使用请遵循License的约定。

* 如果对项目做了修改,需要把改后的源码发布出来
* 发布出来的源码必须要使用相同的License发布

- 如果对项目做了修改,需要把改后的源码发布出来
- 发布出来的源码必须要使用相同的License发布

## 提示
## 提示

Amiibo无限刷需要网上搜索key_retail.bin文件然后上传到到磁盘根目录后才能使用。
Loading