5.1 Directives that Define Sections

Sections are locatable blocks of code or data that will occupy contiguous locations in the 32-bit MCU device memory. Three sections are pre-defined: .text for executable code, .data for initialized data, and .bss for uninitialized data. Other sections may be defined; the linker defines several that are useful for locating data in specific areas of memory.

Section directives are described in the following sections.