KiCad PCB EDA Suite
Loading...
Searching...
No Matches
erc_item.cpp
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, you may find one here:
18 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19 * or you may search the http://www.gnu.org website for the version 2 license,
20 * or you may write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 */
23
24
25#include "wx/html/m_templ.h"
26#include "wx/html/styleparams.h"
27#include <erc/erc.h>
28#include <eda_draw_frame.h>
29#include <marker_base.h>
30#include <sch_edit_frame.h>
31#include <i18n_utility.h>
32
33
34// These, being statically-defined, require specialized I18N handling.
35// We don't translate on initialization and instead do it in the getters.
36
37// NOTE: Avoid changing the settings key for an ERC item after it has been created
38
39ERC_ITEM ERC_ITEM::heading_connections( 0, _HKI( "Connections" ), "" );
40ERC_ITEM ERC_ITEM::heading_conflicts( 0, _HKI( "Conflicts" ), "" );
41ERC_ITEM ERC_ITEM::heading_misc( 0, _HKI( "Miscellaneous" ), "" );
43
45 _HKI( "Duplicate sheet names within a given sheet" ),
46 wxT( "duplicate_sheet_names" ) );
47
49 _HKI( "Symbol pin or wire end off connection grid" ),
50 wxT( "endpoint_off_grid" ) );
51
53 _HKI( "Pin not connected" ),
54 wxT( "pin_not_connected" ) );
55
57 _HKI( "Input pin not driven by any Output pins" ),
58 wxT( "pin_not_driven" ) );
59
61 _HKI( "Input Power pin not driven by any Output Power pins" ),
62 wxT( "power_pin_not_driven" ) );
63
65 _HKI( "Multiple pins with the same pin number" ),
66 wxT( "duplicate_pins" ) );
67
69 _HKI( "Conflict problem between pins" ),
70 wxT( "pin_to_pin" ) );
71
73 _HKI( "Conflict problem between pins" ),
74 wxT( "pin_to_pin" ) );
75
77 _HKI( "Warning" ),
78 wxT( "generic-warning" ) );
79
81 _HKI( "Error" ),
82 wxT( "generic-error" ) );
83
85 _HKI( "Mismatch between hierarchical labels and sheet pins" ),
86 wxT( "hier_label_mismatch" ) );
87
89 _HKI( "Four connection points are joined together" ),
90 wxT( "four_way_junction" ) );
91
93 _HKI( "Label connects more than one wire" ),
94 wxT( "label_multiple_wires" ) );
95
97 _HKI( "A pin with a \"no connection\" flag is connected" ),
98 wxT( "no_connect_connected" ) );
99
101 _HKI( "Unconnected \"no connection\" flag" ),
102 wxT( "no_connect_dangling" ) );
103
105 _HKI( "Label not connected" ),
106 wxT( "label_dangling" ) );
107
109 _HKI( "Label connected to only one pin" ),
110 wxT( "isolated_pin_label" ) );
111
113 _HKI( "Labels are similar (lower/upper case difference only)"),
114 wxT( "similar_labels" ) );
115
117 _HKI( "Power pins are similar (lower/upper case difference only)"),
118 wxT( "similar_power" ) );
119
121 _HKI( "Power pin and label are similar (lower/upper case difference only)"),
122 wxT( "similar_label_and_power" ) );
123
125 _HKI( "Global label only appears once in the schematic"),
126 wxT( "single_global_label" ) );
127
129 _HKI( "Local and global labels have same name" ),
130 wxT( "same_local_global_label" ) );
131
133 _HKI( "Different footprint assigned in another unit of the symbol" ),
134 wxT( "different_unit_footprint" ) );
135
137 _HKI( "Different net assigned to a shared pin in another unit of the symbol" ),
138 wxT( "different_unit_net" ) );
139
141 _HKI( "Conflict between bus alias definitions across schematic sheets" ),
142 wxT( "bus_definition_conflict" ) );
143
145 _HKI( "More than one name given to this bus or net" ),
146 wxT( "multiple_net_names" ) );
147
149 _HKI( "Net is graphically connected to a bus but not a bus member" ),
150 wxT( "net_not_bus_member" ) );
151
153 _HKI( "Buses are graphically connected but share no bus members" ),
154 wxT( "bus_to_bus_conflict" ) );
155
157 _HKI( "Invalid connection between bus and net items" ),
158 wxT( "bus_to_net_conflict" ) );
159
161 _HKI( "Ground pin not connected to ground net" ),
162 wxT( "ground_pin_not_ground" ) );
163
165 _HKI( "Pin name resembles stacked pin" ),
166 wxT( "stacked_pin_name" ) );
167
169 _HKI( "Unresolved text variable" ),
170 wxT( "unresolved_variable" ) );
171
173 _HKI( "Undefined netclass" ),
174 wxT( "undefined_netclass" ) );
175
177 _HKI( "SPICE model issue" ),
178 wxT( "simulation_model_issue" ) );
179
181 _HKI( "Wires not connected to anything" ),
182 wxT( "wire_dangling" ) );
183
185 _HKI( "Library symbol issue" ),
186 wxT( "lib_symbol_issues" ) );
187
189 _HKI( "Symbol doesn't match copy in library" ),
190 wxT( "lib_symbol_mismatch" ) );
191
193 _HKI( "Footprint link issue" ),
194 wxT( "footprint_link_issues" ) );
195
197 _HKI( "Assigned footprint doesn't match footprint filters" ),
198 wxT( "footprint_filter" ) );
199
201 _HKI( "Symbol is not annotated" ),
202 wxT( "unannotated" ) );
203
205 _HKI( "Symbol has more units than are defined" ),
206 wxT( "extra_units" ) );
207
209 _HKI( "Symbol has units that are not placed" ),
210 wxT( "missing_unit" ) );
211
213 _HKI( "Symbol has input pins that are not placed" ),
214 wxT( "missing_input_pin" ) );
215
217 _HKI( "Symbol has bidirectional pins that are not placed" ),
218 wxT( "missing_bidi_pin" ) );
219
221 _HKI( "Symbol has power input pins that are not placed" ),
222 wxT( "missing_power_pin" ) );
223
225 _HKI( "Units of same symbol have different values" ),
226 wxT( "unit_value_mismatch" ) );
227
229 _HKI( "Duplicate reference designators" ),
230 wxT( "duplicate_reference" ) );
231
233 _HKI( "Bus Entry needed" ),
234 wxT( "bus_entry_needed" ) );
235
237 _HKI( "Unconnected wire endpoint" ),
238 wxT( "unconnected_wire_endpoint" ) );
239
240std::vector<std::reference_wrapper<RC_ITEM>> ERC_ITEM::allItemTypes(
241 {
258
273
283 // Commented out until the logic for this element is coded
284 // TODO: Add bus label syntax checking
285 // ERC_ITEM::busLabelSyntax,
295
296 // ERC_ITEM types with no user-editable severities
297 // NOTE: this MUST be the last grouping in the list!
304 } );
305
306
307std::shared_ptr<ERC_ITEM> ERC_ITEM::Create( int aErrorCode )
308{
309 switch( aErrorCode )
310 {
311 case ERCE_DUPLICATE_SHEET_NAME: return std::make_shared<ERC_ITEM>( duplicateSheetName );
312 case ERCE_ENDPOINT_OFF_GRID: return std::make_shared<ERC_ITEM>( endpointOffGrid );
313 case ERCE_PIN_NOT_CONNECTED: return std::make_shared<ERC_ITEM>( pinNotConnected );
314 case ERCE_PIN_NOT_DRIVEN: return std::make_shared<ERC_ITEM>( pinNotDriven );
315 case ERCE_POWERPIN_NOT_DRIVEN: return std::make_shared<ERC_ITEM>( powerpinNotDriven );
316 case ERCE_DUPLICATE_PIN_ERROR: return std::make_shared<ERC_ITEM>( duplicatePinError );
317 case ERCE_PIN_TO_PIN_WARNING: return std::make_shared<ERC_ITEM>( pinTableWarning );
318 case ERCE_PIN_TO_PIN_ERROR: return std::make_shared<ERC_ITEM>( pinTableError );
319 case ERCE_GENERIC_WARNING: return std::make_shared<ERC_ITEM>( genericWarning );
320 case ERCE_GENERIC_ERROR: return std::make_shared<ERC_ITEM>( genericError );
321 case ERCE_HIERACHICAL_LABEL: return std::make_shared<ERC_ITEM>( hierLabelMismatch );
322 case ERCE_NOCONNECT_CONNECTED: return std::make_shared<ERC_ITEM>( noConnectConnected );
323 case ERCE_NOCONNECT_NOT_CONNECTED: return std::make_shared<ERC_ITEM>( noConnectDangling );
324 case ERCE_FOUR_WAY_JUNCTION: return std::make_shared<ERC_ITEM>( fourWayJunction );
325 case ERCE_LABEL_MULTIPLE_WIRES: return std::make_shared<ERC_ITEM>( labelMultipleWires );
326 case ERCE_LABEL_NOT_CONNECTED: return std::make_shared<ERC_ITEM>( labelDangling );
327 case ERCE_SIMILAR_LABELS: return std::make_shared<ERC_ITEM>( similarLabels );
328 case ERCE_SIMILAR_POWER: return std::make_shared<ERC_ITEM>( similarPower );
329 case ERCE_SIMILAR_LABEL_AND_POWER: return std::make_shared<ERC_ITEM>( similarLabelAndPower );
330 case ERCE_SINGLE_GLOBAL_LABEL: return std::make_shared<ERC_ITEM>( singleGlobalLabel );
331 case ERCE_SAME_LOCAL_GLOBAL_LABEL: return std::make_shared<ERC_ITEM>( sameLocalGlobalLabel );
332 case ERCE_DIFFERENT_UNIT_FP: return std::make_shared<ERC_ITEM>( differentUnitFootprint );
333 case ERCE_DIFFERENT_UNIT_NET: return std::make_shared<ERC_ITEM>( differentUnitNet );
334 case ERCE_BUS_ALIAS_CONFLICT: return std::make_shared<ERC_ITEM>( busDefinitionConflict );
335 case ERCE_DRIVER_CONFLICT: return std::make_shared<ERC_ITEM>( multipleNetNames );
336 case ERCE_BUS_ENTRY_CONFLICT: return std::make_shared<ERC_ITEM>( netNotBusMember );
337 case ERCE_BUS_TO_BUS_CONFLICT: return std::make_shared<ERC_ITEM>( busToBusConflict );
338 case ERCE_BUS_TO_NET_CONFLICT: return std::make_shared<ERC_ITEM>( busToNetConflict );
339 case ERCE_GROUND_PIN_NOT_GROUND: return std::make_shared<ERC_ITEM>( groundPinNotGround );
340 case ERCE_LABEL_SINGLE_PIN: return std::make_shared<ERC_ITEM>( isolatedPinLabel );
341 case ERCE_UNRESOLVED_VARIABLE: return std::make_shared<ERC_ITEM>( unresolvedVariable );
342 case ERCE_UNDEFINED_NETCLASS: return std::make_shared<ERC_ITEM>( undefinedNetclass );
343 case ERCE_SIMULATION_MODEL: return std::make_shared<ERC_ITEM>( simulationModelIssues );
344 case ERCE_WIRE_DANGLING: return std::make_shared<ERC_ITEM>( wireDangling );
345 case ERCE_LIB_SYMBOL_ISSUES: return std::make_shared<ERC_ITEM>( libSymbolIssues );
346 case ERCE_LIB_SYMBOL_MISMATCH: return std::make_shared<ERC_ITEM>( libSymbolMismatch );
347 case ERCE_FOOTPRINT_LINK_ISSUES: return std::make_shared<ERC_ITEM>( footprintLinkIssues );
348 case ERCE_FOOTPRINT_FILTERS: return std::make_shared<ERC_ITEM>( footprintFilters );
349 case ERCE_UNANNOTATED: return std::make_shared<ERC_ITEM>( unannotated );
350 case ERCE_EXTRA_UNITS: return std::make_shared<ERC_ITEM>( extraUnits );
351 case ERCE_DIFFERENT_UNIT_VALUE: return std::make_shared<ERC_ITEM>( differentUnitValue );
352 case ERCE_DUPLICATE_REFERENCE: return std::make_shared<ERC_ITEM>( duplicateReference );
353 case ERCE_BUS_ENTRY_NEEDED: return std::make_shared<ERC_ITEM>( busEntryNeeded );
354 case ERCE_MISSING_UNIT: return std::make_shared<ERC_ITEM>( missingUnits );
355 case ERCE_MISSING_INPUT_PIN: return std::make_shared<ERC_ITEM>( missingInputPin );
356 case ERCE_MISSING_POWER_INPUT_PIN: return std::make_shared<ERC_ITEM>( missingPowerInputPin );
357 case ERCE_MISSING_BIDI_PIN: return std::make_shared<ERC_ITEM>( missingBidiPin );
358 case ERCE_UNCONNECTED_WIRE_ENDPOINT: return std::make_shared<ERC_ITEM>( unconnectedWireEndpoint );
359 case ERCE_STACKED_PIN_SYNTAX: return std::make_shared<ERC_ITEM>( stackedPinName );
360 case ERCE_UNSPECIFIED:
361 default:
362 wxFAIL_MSG( wxS( "Unknown ERC error code" ) );
363 break;
364 }
365
366 return nullptr;
367}
368
374void ERC_TREE_MODEL::GetValue( wxVariant& aVariant, wxDataViewItem const& aItem,
375 unsigned int aCol ) const
376{
377 SCH_EDIT_FRAME* schEditFrame = static_cast<SCH_EDIT_FRAME*>( m_editFrame );
378 const RC_TREE_NODE* node = ToNode( aItem );
379 std::shared_ptr<ERC_ITEM> ercItem = std::static_pointer_cast<ERC_ITEM>( node->m_RcItem );
380 MARKER_BASE* marker = ercItem->GetParent();
381 wxString msg;
382
383 auto getItemDesc =
384 [&]( EDA_ITEM* aCurrItem, SCH_SHEET_PATH& aSheet )
385 {
386 SCH_SHEET_PATH curSheet = schEditFrame->GetCurrentSheet();
387 wxString desc;
388
389 if( aSheet != curSheet )
390 {
391 schEditFrame->SetCurrentSheet( aSheet );
392 aSheet.UpdateAllScreenReferences();
393 {
394 desc = aCurrItem->GetItemDescription( m_editFrame, true );
395 }
396 schEditFrame->SetCurrentSheet( curSheet );
397 curSheet.UpdateAllScreenReferences();
398 }
399 else
400 {
401 desc = aCurrItem->GetItemDescription( m_editFrame, true );
402 }
403
404 return desc;
405 };
406
407 switch( node->m_Type )
408 {
410 if( marker )
411 {
412 SEVERITY severity = ercItem->GetParent()->GetSeverity();
413
414 if( severity == RPT_SEVERITY_EXCLUSION )
415 {
416 if( schEditFrame->GetSeverity( ercItem->GetErrorCode() ) == RPT_SEVERITY_WARNING )
417 msg = _( "Excluded warning: " );
418 else
419 msg = _( "Excluded error: " );
420 }
421 else if( severity == RPT_SEVERITY_WARNING )
422 {
423 msg = _( "Warning: " );
424 }
425 else
426 {
427 msg = _( "Error: " );
428 }
429 }
430
431 msg += ercItem->GetErrorMessage();
432 break;
433
435 if( marker && marker->GetMarkerType() == MARKER_BASE::MARKER_DRAWING_SHEET )
436 {
437 msg = _( "Drawing Sheet" );
438 }
439 else
440 {
441 msg = getItemDesc( schEditFrame->ResolveItem( ercItem->GetMainItemID() ),
442 ercItem->MainItemHasSheetPath() ? ercItem->GetMainItemSheetPath()
443 : schEditFrame->GetCurrentSheet() );
444 }
445
446 break;
447
449 msg = getItemDesc( schEditFrame->ResolveItem( ercItem->GetAuxItemID() ),
450 ercItem->AuxItemHasSheetPath() ? ercItem->GetAuxItemSheetPath()
451 : schEditFrame->GetCurrentSheet() );
452 break;
453
455 msg = getItemDesc( schEditFrame->ResolveItem( ercItem->GetAuxItem2ID() ),
456 schEditFrame->GetCurrentSheet() );
457 break;
458
460 msg = getItemDesc( schEditFrame->ResolveItem( ercItem->GetAuxItem3ID() ),
461 schEditFrame->GetCurrentSheet() );
462 break;
463
465 if( marker )
466 msg = marker->GetComment();
467
468 break;
469 }
470
471 msg.Replace( wxS( "\n" ), wxS( " " ) );
472 aVariant = msg;
473}
A base class for most all the KiCad significant classes used in schematics and boards.
Definition eda_item.h:98
virtual wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const
Return a user-visible description string of this item.
Definition eda_item.cpp:144
static ERC_ITEM differentUnitValue
Definition erc_item.h:245
static ERC_ITEM busToBusConflict
Definition erc_item.h:227
static ERC_ITEM labelMultipleWires
Definition erc_item.h:213
static ERC_ITEM pinTableWarning
Definition erc_item.h:206
static ERC_ITEM footprintLinkIssues
Definition erc_item.h:237
static ERC_ITEM unresolvedVariable
Definition erc_item.h:231
static ERC_ITEM duplicateSheetName
Definition erc_item.h:200
static ERC_ITEM noConnectDangling
Definition erc_item.h:214
static ERC_ITEM busDefinitionConflict
Definition erc_item.h:224
static ERC_ITEM fourWayJunction
Definition erc_item.h:212
static ERC_ITEM genericError
Definition erc_item.h:209
static ERC_ITEM libSymbolIssues
Definition erc_item.h:235
static ERC_ITEM pinNotDriven
Definition erc_item.h:203
static ERC_ITEM undefinedNetclass
Definition erc_item.h:232
static ERC_ITEM extraUnits
Definition erc_item.h:240
static ERC_ITEM heading_conflicts
Definition erc_item.h:196
static std::shared_ptr< ERC_ITEM > Create(int aErrorCode)
Constructs an ERC_ITEM for the given error code.
Definition erc_item.cpp:307
static ERC_ITEM noConnectConnected
Definition erc_item.h:211
static ERC_ITEM heading_misc
Definition erc_item.h:197
static ERC_ITEM endpointOffGrid
Definition erc_item.h:201
static ERC_ITEM isolatedPinLabel
Definition erc_item.h:216
static ERC_ITEM busToNetConflict
Definition erc_item.h:228
static ERC_ITEM differentUnitFootprint
Definition erc_item.h:222
static ERC_ITEM sameLocalGlobalLabel
Definition erc_item.h:218
static ERC_ITEM hierLabelMismatch
Definition erc_item.h:210
static ERC_ITEM heading_connections
Definition erc_item.h:195
static ERC_ITEM missingUnits
Definition erc_item.h:241
static ERC_ITEM similarLabels
Definition erc_item.h:219
static ERC_ITEM unconnectedWireEndpoint
Definition erc_item.h:248
static ERC_ITEM heading_internal
Definition erc_item.h:198
static std::vector< std::reference_wrapper< RC_ITEM > > allItemTypes
A list of all ERC_ITEM types which are valid error codes.
Definition erc_item.h:193
static ERC_ITEM labelDangling
Definition erc_item.h:215
static ERC_ITEM differentUnitNet
Definition erc_item.h:223
static ERC_ITEM pinTableError
Definition erc_item.h:207
static ERC_ITEM similarLabelAndPower
Definition erc_item.h:221
static ERC_ITEM groundPinNotGround
Definition erc_item.h:229
static ERC_ITEM genericWarning
Definition erc_item.h:208
static ERC_ITEM footprintFilters
Definition erc_item.h:238
static ERC_ITEM netNotBusMember
Definition erc_item.h:226
static ERC_ITEM wireDangling
Definition erc_item.h:234
static ERC_ITEM powerpinNotDriven
Definition erc_item.h:204
static ERC_ITEM missingPowerInputPin
Definition erc_item.h:244
static ERC_ITEM missingBidiPin
Definition erc_item.h:243
static ERC_ITEM unannotated
Definition erc_item.h:239
static ERC_ITEM missingInputPin
Definition erc_item.h:242
static ERC_ITEM singleGlobalLabel
Definition erc_item.h:217
static ERC_ITEM busEntryNeeded
Definition erc_item.h:247
static ERC_ITEM simulationModelIssues
Definition erc_item.h:233
static ERC_ITEM multipleNetNames
Definition erc_item.h:225
static ERC_ITEM similarPower
Definition erc_item.h:220
static ERC_ITEM pinNotConnected
Definition erc_item.h:202
static ERC_ITEM stackedPinName
Definition erc_item.h:230
static ERC_ITEM libSymbolMismatch
Definition erc_item.h:236
static ERC_ITEM duplicateReference
Definition erc_item.h:246
static ERC_ITEM duplicatePinError
Definition erc_item.h:205
void GetValue(wxVariant &aVariant, wxDataViewItem const &aItem, unsigned int aCol) const override
Override of RC_TREE_MODEL::GetValue which returns item descriptions in a specific SCH_SHEET_PATH cont...
Definition erc_item.cpp:374
Marker are mainly used to show a DRC or ERC error or warning.
Definition marker_base.h:49
@ MARKER_DRAWING_SHEET
Definition marker_base.h:56
enum MARKER_T GetMarkerType() const
Definition marker_base.h:91
wxString GetComment() const
EDA_DRAW_FRAME * m_editFrame
Definition rc_item.h:327
static RC_TREE_NODE * ToNode(wxDataViewItem aItem)
Definition rc_item.h:243
std::shared_ptr< RC_ITEM > m_RcItem
Definition rc_item.h:228
NODE_TYPE m_Type
Definition rc_item.h:227
Schematic editor (Eeschema) main window.
SCH_SHEET_PATH & GetCurrentSheet() const
EDA_ITEM * ResolveItem(const KIID &aId, bool aAllowNullptrReturn=false) const override
Fetch an item by KIID.
void SetCurrentSheet(const SCH_SHEET_PATH &aSheet)
SEVERITY GetSeverity(int aErrorCode) const override
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
void UpdateAllScreenReferences() const
Update all the symbol references for this sheet path.
#define _(s)
@ ERCE_UNSPECIFIED
@ ERCE_UNANNOTATED
Symbol has not been annotated.
@ ERCE_POWERPIN_NOT_DRIVEN
Power input pin connected to some others pins but no power out pin to drive it.
@ ERCE_DRIVER_CONFLICT
Conflicting drivers (labels, etc) on a subgraph.
@ ERCE_SIMILAR_POWER
2 power pins are equal for case insensitive comparisons.
@ ERCE_MISSING_POWER_INPUT_PIN
Symbol has power input pins that are not placed on the schematic.
@ ERCE_UNCONNECTED_WIRE_ENDPOINT
A label is connected to more than one wire.
@ ERCE_GROUND_PIN_NOT_GROUND
A ground-labeled pin is not on a ground net while another pin is.
@ ERCE_SIMILAR_LABELS
2 labels are equal for case insensitive comparisons.
@ ERCE_STACKED_PIN_SYNTAX
Pin name resembles stacked pin notation.
@ ERCE_LABEL_NOT_CONNECTED
Label not connected to any pins.
@ ERCE_ENDPOINT_OFF_GRID
Pin or wire-end off grid.
@ ERCE_DUPLICATE_REFERENCE
More than one symbol with the same reference.
@ ERCE_EXTRA_UNITS
Symbol has more units than are defined.
@ ERCE_SAME_LOCAL_GLOBAL_LABEL
2 labels are equal for case insensitive comparisons.
@ ERCE_BUS_TO_BUS_CONFLICT
A connection between bus objects doesn't share at least one net.
@ ERCE_SIMILAR_LABEL_AND_POWER
label and pin are equal for case insensitive comparisons.
@ ERCE_LABEL_SINGLE_PIN
A label is connected only to a single pin.
@ ERCE_BUS_ENTRY_CONFLICT
A wire connected to a bus doesn't match the bus.
@ ERCE_FOOTPRINT_LINK_ISSUES
The footprint link is invalid, or points to a missing (or inactive) footprint or library.
@ ERCE_BUS_TO_NET_CONFLICT
A bus wire is graphically connected to a net port/pin (or vice versa).
@ ERCE_DUPLICATE_PIN_ERROR
@ ERCE_NOCONNECT_NOT_CONNECTED
A no connect symbol is not connected to anything.
@ ERCE_DIFFERENT_UNIT_NET
Shared pin in a multi-unit symbol is connected to more than one net.
@ ERCE_FOUR_WAY_JUNCTION
A four-way junction was found.
@ ERCE_PIN_NOT_CONNECTED
Pin not connected and not no connect symbol.
@ ERCE_UNDEFINED_NETCLASS
A netclass was referenced but not defined.
@ ERCE_BUS_ENTRY_NEEDED
Importer failed to auto-place a bus entry.
@ ERCE_UNRESOLVED_VARIABLE
A text variable could not be resolved.
@ ERCE_SIMULATION_MODEL
An error was found in the simulation model.
@ ERCE_LIB_SYMBOL_MISMATCH
Symbol doesn't match copy in library.
@ ERCE_GENERIC_ERROR
@ ERCE_DIFFERENT_UNIT_FP
Different units of the same symbol have different footprints assigned.
@ ERCE_NOCONNECT_CONNECTED
A no connect symbol is connected to more than 1 pin.
@ ERCE_PIN_TO_PIN_WARNING
@ ERCE_PIN_NOT_DRIVEN
Pin connected to some others pins but no pin to drive it.
@ ERCE_MISSING_INPUT_PIN
Symbol has input pins that are not placed.
@ ERCE_MISSING_UNIT
Symbol has units that are not placed on the schematic.
@ ERCE_DUPLICATE_SHEET_NAME
Duplicate sheet names within a given sheet.
@ ERCE_MISSING_BIDI_PIN
Symbol has bi-directional pins that are not placed.
@ ERCE_LIB_SYMBOL_ISSUES
Symbol not found in active libraries.
@ ERCE_FOOTPRINT_FILTERS
The assigned footprint doesn't match the footprint filters.
@ ERCE_HIERACHICAL_LABEL
Mismatch between hierarchical labels and pins sheets.
@ ERCE_WIRE_DANGLING
Some wires are not connected to anything else.
@ ERCE_BUS_ALIAS_CONFLICT
Conflicting bus alias definitions across sheets.
@ ERCE_GENERIC_WARNING
@ ERCE_SINGLE_GLOBAL_LABEL
A label only exists once in the schematic.
@ ERCE_LABEL_MULTIPLE_WIRES
A label is connected to more than one wire.
@ ERCE_DIFFERENT_UNIT_VALUE
Units of same symbol have different values.
@ ERCE_PIN_TO_PIN_ERROR
Some functions to handle hotkeys in KiCad.
#define _HKI(x)
Definition page_info.cpp:44
SEVERITY
@ RPT_SEVERITY_WARNING
@ RPT_SEVERITY_EXCLUSION