Avoid warnings about KiKit auxiliary footprints

They will never be part of the schematic, even when they aren't marked
as excluded from the schematic
This commit is contained in:
Salvador E. Tropea 2023-11-15 12:51:40 -03:00
parent 37f8a7067c
commit d06dbbdf78
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ def get_board_comps_data(comps):
ref = m.GetReference()
attrs = m.GetAttributes()
if ref not in comps_hash:
if not (attrs & MOD_BOARD_ONLY):
if not (attrs & MOD_BOARD_ONLY) and not ref.startswith('KiKit_'):
logger.warning(W_PCBNOSCH + '`{}` component in board, but not in schematic'.format(ref))
continue
for c in comps_hash[ref]: