diff --git a/CHANGELOG.md b/CHANGELOG.md index 42070e115..348d0fb91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -130,6 +130,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This limitation isn't found on KiCad 7. (#486) - *exclude_from_bom* mismatch on KiCad 7 - *Sheetfile* mismatch on KiCad 7 when testing from different directory + - Honor the 'Not in schematic' (board_only) flag when doing a parity check - Dependencies downloader: - Problems when connection timed-out - Sub PCB separation using annotation method for some edeges and KiCad diff --git a/kibot/pre_update_xml.py b/kibot/pre_update_xml.py index 3df64a847..4903276da 100644 --- a/kibot/pre_update_xml.py +++ b/kibot/pre_update_xml.py @@ -86,7 +86,8 @@ def check_components(self, comps, errors): logger.warning(W_NOTINBOM+f"{ref} excluded from BoM we can't check its parity, upgrade to KiCad 7") excluded.add(ref) else: - errors.append('{} found in PCB, but not in schematic'.format(ref)) + if not m.GetAttributes() & MOD_BOARD_ONLY: + errors.append('{} found in PCB, but not in schematic'.format(ref)) continue sch_data = comps[ref] pcb_fp = m.GetFPIDAsString()