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:
parent
37f8a7067c
commit
d06dbbdf78
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue