The macros in this file are defined based upon which compiler is being used. The macros abstract common section names and gives a common way to place code in a particular section. Some macros have a version that ends in V2. These were created to unify the usage between compilers while retaining backwards compatibility in the existing macros and should be preferred in new code.
Description of macros:
- BSP_SECTION_STACK - Name of section where stack(s) are stored
- BSP_SECTION_HEAP - Name of section where heap(s) are stored
- BSP_SECTION_VECTOR - Name of section where vector table is stored
- BSP_SECTION_ROM_REGISTERS - Name of section where ROM registers are located
- BSP_PLACE_IN_SECTION - Macro for placing code in a particular section
- BSP_ALIGN_VARIABLE - Macro for specifiying a minimum alignment in bytes
- BSP_PACKED - Macro for setting a 1 byte alignment to remove padding
- BSP_DONT_REMOVE - Keyword to tell linker/compiler to not optimize out a variable or function
- Note
- Currently supported compilers are GCC and IAR