-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ReadME Update, minor voltage adjust, version bump (#49)
* readme update Signed-off-by: Adam BZH <[email protected]> * power management voltage minor adjust, version bump Signed-off-by: Adam BZH <[email protected]> --------- Signed-off-by: Adam BZH <[email protected]>
- Loading branch information
1 parent
96bb143
commit b723ef0
Showing
3 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,42 @@ | ||
OneKey Pro Bluetooth Firmware | ||
# OneKey Pro Bluetooth Firmware | ||
|
||
This repo contains bluetooth firmware for OneKey Pro | ||
|
||
The firmware is based on NRF5 SDK 16.0.0, and build with CMake | ||
|
||
## How to build | ||
|
||
```shell | ||
# make sure you have cmake, Python 3, amd aarm-none-eabi toolchain available in PATH | ||
|
||
# export your OWN key for firmware signing | ||
export BT_SIG_PK=$(cat <<EOF | ||
-----BEGIN EC PRIVATE KEY----- | ||
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
-----END EC PRIVATE KEY----- | ||
EOF | ||
) | ||
|
||
# export toolchain prefix | ||
export TOOL_CHAIN_PREFIX="arm-none-eabi" | ||
|
||
# call build script | ||
./build.sh | ||
``` | ||
|
||
## CMake Build Targets | ||
|
||
```shell | ||
# ota image | ||
OnekeyProBTFW_OTA_BIN | ||
|
||
# full HEX image | ||
OnekeyProBTFW_FACTORY_HEX | ||
|
||
# flash full HEX image with jlink | ||
OnekeyProBTFW_FLASH_FACTORY | ||
``` | ||
|
||
## License | ||
|
||
Please check License.md for details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters