diff --git a/README.rst b/README.rst index 2e41eafc..5439ae6a 100755 --- a/README.rst +++ b/README.rst @@ -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 `_ for ultra-low-power applications. In terms of price range and feature set, the chip is competing against `Espressif ESP8266 `_ diff --git a/image_conf/requirements.txt b/image_conf/requirements.txt new file mode 100644 index 00000000..8abb3261 --- /dev/null +++ b/image_conf/requirements.txt @@ -0,0 +1,3 @@ +# flash_build.py dependencies +fdt>=0.2.0 +pycryptodomex>=3.9.8