From d06dbbdf7894c80f96b772aaa28a1e25bfb11be8 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 15 Nov 2023 12:51:40 -0300 Subject: [PATCH] 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 --- kibot/kiplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/kiplot.py b/kibot/kiplot.py index ba299a19..7f547083 100644 --- a/kibot/kiplot.py +++ b/kibot/kiplot.py @@ -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]: