Contiki 3.x
sa_mtb.c
1 /*
2 * sa_mtb.c
3 *
4 * Contains the definition of the buffer used for allocating SRAM space for the MTB trace.
5 */
6 
7 #if (defined(__SA_MTB_SIZE) && (__SA_MTB_SIZE > 0))
8 /*
9 * MTB (Micro Trace Buffer) is using its own section name, which is used in the linker script.
10 */
11 #define SA_MTB_ALIGNEMENT 64 /* alignment of the MTB buffer */
12 unsigned char __attribute__((section (".mtb_buf"))) mtb_buf[__SA_MTB_SIZE] __attribute__ ((aligned (SA_MTB_ALIGNEMENT)));
13 
14 #endif /* __SA_MTB_SIZE */
#define __attribute__(nothing)
Define attribute to nothing since it isn't handled by IAR.
Definition: iar.h:194