update readme and py file

This commit is contained in:
Justin Hammond 2023-02-26 23:01:04 +08:00
parent 91afa0110f
commit 1002c84db0
3 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,13 @@
# bflb_fw_post_proc
Decompiled Version of bflb_fw_post_proc
This will not run - Its just a simple attempt to extract the source files
install bflb_mcu_tool:
```
pip3 install bflb_mcu_tool
```
Run (example, replace paths with your setup):
```
python3 bflb_fw_post_proc.py --chipname=bl808 --imgfile=/home/fish/bl808/bl_mcu_sdk/examples/helloworld/build/build_out/helloworld_bl808_d0.bin --brdcfgdir=/home/fish/bl808/bl_mcu_sdk/bsp/board/bl808dk/config
```

6
README.md~ Normal file
View file

@ -0,0 +1,6 @@
# bflb_fw_post_proc
Decompiled Version of bflb_fw_post_proc
```
python3 bflb_fw_post_proc.py --chipname=bl808 --imgfile=/home/fish/bl808/bl_mcu_sdk/examples/helloworld/build/build_out/helloworld_bl808_d0.bin --brdcfgdir=/home/fish/bl808/bl_mcu_sdk/bsp/board/bl808dk/config
```

View file

@ -4,6 +4,7 @@
# [GCC 9.4.0]
# Embedded file name: libs/bflb_fw_post_proc.py
import re, os, sys, time, shutil
from bflb_mcu_tool import libs
try:
import bflb_path
except ImportError: