This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TM4C123GH6PZ: how to declare a packed struct in tivac?

Part Number: TM4C123GH6PZ

Tool/software: TI C/C++ Compiler

how to declare a packed struct in tivac?

like:

struct __packed struct {

uint8_t data0;
uint8_t data1; 
uint32_t data2; 
uint8_t data5;
uint8_t data6[8]; 
uint8_t data7;
};

thanks