Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
26
Ver.1.0.0
All screenshots
herein are from files “boot.link”, “cstartup_5316.s”, “5316_ble_remote.bin”
and “5316_ble_remote.lst”.
In the list file, each code
of a specific function is called a “section”. The figure below
shows section distribution in the list file “5316_ble_remote.lst”.
Figure 2-3 Section Distribution in list File
Below lists the sections in the list file. Detailed introductions are followed.
1) vectors: start from Flash 0, size is 0x100.
2) ram_code: start from Flash 0x100, size is 0x168c.
3) text: start from Flash 0x1790, size is 0x6f30.
4) rodata: start from Flash 0x86c0, size is 0xa64.
5) data: start from SRAM 0x80a100, size is 0x194.
6) bss: start from SRAM 0x80a2a0, size is 0xc98
. By calculation “bss” ending address
is 0x 0xc98 = 0x80af38
. The remaining space size following the “bss” is
0x80c000
– 0x80af38 = 0x10c8 = 4296 bytes, from which minus 256 bytes for stack,
the remaining 4040 bytes are unused.