BK72XX SDK User's Manual
Page 3 of 14
Content
1. Revision History................................................................................................................................................... 2
2. SDK SOURCE CODE OVERVIEW ........................................................................................................................... 4
2.1 SDK overview ................................................................................................................................................ 4
2.1.1 SDK with FreeRTOS ............................................................................................................................. 4
2.1.2 SDK with RT-Thread ............................................................................................................................ 5
2.1.3 SDK with AliOS .................................................................................................................................... 5
2.2 Configuration ................................................................................................................................................. 6
2.3 Libraries ......................................................................................................................................................... 6
3. Environment Setup ............................................................................................................................................. 7
3.1 Install Toolchain ............................................................................................................................................ 7
3.2 RT-thread environment setup ...................................................................................................................... 7
3.3 AliOS environment setup .............................................................................................................................. 7
4. BUILD ................................................................................................................................................................... 8
4.1 FreeRTOS Building ......................................................................................................................................... 8
4.1.1 Building commands ............................................................................................................................ 8
4.1.2 Pack image .......................................................................................................................................... 8
4.2 RT-thread Building ........................................................................................................................................ 8
4.2.1 Building commands ............................................................................................................................ 8
4.2.2 Pack Image.......................................................................................................................................... 8
4.3 AliOS Building ................................................................................................................................................ 9
4.3.1 Build Commands ................................................................................................................................ 9
4.3.2 Generated Images .............................................................................................................................. 9
5. OVERVIEW OF THE DEMO BOARD .................................................................................................................... 10
5.1 BK7251 ......................................................................................................................................................... 10
5.2 BK7231U ...................................................................................................................................................... 10
5.3 BK7231N ...................................................................................................................................................... 11
6. Download firmware into flash .......................................................................................................................... 12
6.1 Hardware Tools............................................................................................................................................ 12
6.2 Download tools ........................................................................................................................................... 12
6.3 Download firmware .................................................................................................................................... 12
6.3.1 Download via SPI ............................................................................................................................. 12
6.3.2 Download via UART ......................................................................................................................... 13
7. FAQ .................................................................................................................................................................... 14
7.1 System requirements for the host platform ............................................................................................... 14
7.2 Default UART setting ................................................................................................................................... 14