Tool/software: Code Composer Studio
Hi,
Following pragma section is defined in GPIO_Board.c file and I want to move it to another cpp file. I would like to know how to define following pragma in cpp file? The same is not working in cpp file.
#if defined(__TI_COMPILER_VERSION__)
#pragma DATA_SECTION(I2C_config, ".const:I2C_config")
#pragma DATA_SECTION(i2cTivaHWAttrs, ".const:i2cTivaHWAttrs")
#endif
Regards,
Sandhya