Skip to content

Commit

Permalink
Added Quick Start to README.md (#17)
Browse files Browse the repository at this point in the history
* Added simple Quick Start section to README.md
* Added requirements.txt file for linker script

Co-authored-by: Avamander <[email protected]>
  • Loading branch information
aiden-ct and Avamander committed Nov 19, 2020
1 parent c114ae2 commit 5a46ed9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,29 @@ Check ``docs/html`` for more detail.

Fire an issue, if you have any issue or need any support.

Quick Start
===========

In order to build one of the sample apps, you need to set a few environment
variables:
```
export BL60X_SDK_PATH=/path/to/this/repo
export CONFIG_CHIP_NAME=bl602
```
Then go to the sample directory of interest and call `make`, for example:
```
cd customer_app/bl602_boot2
make
```
There is a linker script (written in python) at `image_conf/flash_build.py`.
To run this, you need to specify the application and the target, for example:
```
python3 flash_build.py bl602_boot2 bl602
```

Hardware
=========

BL602 is a 32-bit RISC-V based combo chipset supporting Wi-Fi and BLE (Bluetooth Low Energy). The chip is made by `Nanjing-based Bouffalo Lab <https://www.bouffalolab.com/bl602>`_ for ultra-low-power applications.
In terms of price range and feature set, the chip is competing against `Espressif ESP8266 <https://www.espressif.com/en/products/socs/esp8266>`_

Expand Down
3 changes: 3 additions & 0 deletions image_conf/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# flash_build.py dependencies
fdt>=0.2.0
pycryptodomex>=3.9.8

0 comments on commit 5a46ed9

Please sign in to comment.