def get_flash_info(self):
        """!
        @brief Get info about the flash.

        Override this method to return different values.
        """
        assert self.region is not None

        info = FlashInfo()
        info.rom_start = self.region.start
        info.erase_weight = self.region.erase_all_weight
        info.crc_supported = self.use_analyzer
        return info
def get_flash_info ( self ) : assert self . region is not None info = FlashInfo ( ) info . rom_start = self . region . start info . erase_weight = self . region . erase_all_weight info . crc_supported = self . use_analyzer return info
!
        @brief Get info about the flash.

        Override this method to return different values.