本文档以在TG7100B开发板上编译light_ctl程序为例,选择以下任一命令执行即可。
出现以下提示时,则编译成功。
AOS MEMORY MAP
|=================================================================|
| MODULE | ROM | RAM |
|=================================================================|
| newlib_stub | 0 | 270 |
| kv | 0 | 3615 |
| bt_common | 0 | 7705 |
| crc | 0 | 128 |
| mcu_tg7100b | 0 | 38556 |
| rhino | 0 | 19885 |
| vfs | 0 | 860 |
| libgcc | 0 | 8552 |
| ref_impl | 0 | 1972 |
| bt_mesh | 0 | 54456 |
| bt_host | 0 | 43334 |
| cli | 0 | 9039 |
| yloop | 0 | 1205 |
| board_tg7100b | 0 | 965 |
| libc_nano | 0 | 13100 |
| genie_service | 0 | 24533 |
| auto_component | 0 | 2 |
| driver_bt | 0 | 18408 |
| osal | 0 | 950 |
| log | 0 | 428 |
| armv6m | 0 | 336 |
| light_ctl | 0 | 2841 |
| *fill* | 0 | 938 |
|=================================================================|
| TOTAL (bytes) | 0 | 252078 |
|=================================================================|
[INFO] Create bin files
sign all partitions with key:def_otp
----------------------------------------------------------------
bomtb, 0, 0, 0x11002100, 0x00001000, 0x11003100, bomtb
FCDS, 0, 0, 0x11004000, 0x00001000, 0x11005000
imtb, 0, 0, 0x11005000, 0x00002000, 0x11007000, imtb
kv, 0, 0, 0x11007000, 0x00002000, 0x11009000
boot, 0, 0, 0x11009000, 0x00005000, 0x1100e000, boot
jumptb, 1, 2, 0x1100e000, 0x00001000, 0x1100f000, jumptb
prim, 1, 2, 0x1100f000, 0x00012000, 0x11021000, prim
misc, 0, 0, 0x11021000, 0x00039000, 0x1105a000
xprim, 1, 2, 0x1105a000, 0x00026000, 0x11080000, xprim
bomtb, 16 bytes
boot, 17696 bytes
jumptb, 1024 bytes
prim, 70996 bytes
xprim, 140172 bytes
imtb, 8192 bytes
----------------------------------------------------------------
[out/bluetooth.light_ctl@tg7100b/binary/fota.bin]FULL==>:jumptb,size:1024,[isforce:0]
[out/bluetooth.light_ctl@tg7100b/binary/fota.bin]FULL==>:prim,size:70996,[isforce:0]
[out/bluetooth.light_ctl@tg7100b/binary/fota.bin]FULL==>:xprim,size:140172,[isforce:0]
Build complete
Making .gdbinit
build time is 9min 48s
在文档使用中是否遇到以下问题
更多建议
匿名提交