def _algo_check_for_section_problems(self, ro_rw_zi):
        """! @brief Return a string describing any errors with the layout or None if good"""
        s_ro, s_rw, s_zi = ro_rw_zi
        if s_ro is None:
            return "RO section is missing"
        if s_rw is None:
            return "RW section is missing"
        if s_zi is None:
            return "ZI section is missing"
        if s_ro.start != 0:
            return "RO section does not start at address 0"
        if s_ro.start + s_ro.length != s_rw.start:
            return "RW section does not follow RO section"
        if s_rw.start + s_rw.length != s_zi.start:
            return "ZI section does not follow RW section"
        return None
def _algo_check_for_section_problems ( self , ro_rw_zi ) : s_ro , s_rw , s_zi = ro_rw_zi if s_ro is None : return "RO section is missing" if s_rw is None : return "RW section is missing" if s_zi is None : return "ZI section is missing" if s_ro . start != 0 : return "RO section does not start at address 0" if s_ro . start + s_ro . length != s_rw . start : return "RW section does not follow RO section" if s_rw . start + s_rw . length != s_zi . start : return "ZI section does not follow RW section" return None
! @brief Return a string describing any errors with the layout or None if good