macro use in array initialization -
i'm pretty confused bit of code in microchip demo application pic24f microcontroller. looks macro being assigned @ runtime address of array. didn't think possible, limited knowledge of c failing me right now. able provide insight?
#define mbr_addr_tag #define mbr_attributes __attribute__((space(psv), address(drv_fileio_internal_flash_config_files_address))) ... const uint8_t mbr_attributes masterbootrecord[fileio_config_media_sector_size] mbr_addr_tag = {....}
Comments
Post a Comment