Files
Kill_LIFE/ai-agentic-embedded-base/docs/COMPLIANCE.md
T
Clément SAILLANT dda793c0ef feat(hw): add schops tool for schematic operations and kicad-cli integration
- Introduced `kicad_cli.sh` for local and Docker-based kicad-cli execution.
- Created `schops.py` for schematic operations including ERC, BOM, netlist exports, and bulk edits.
- Added README.md for schops with installation and usage instructions.
- Included requirements.txt for necessary Python packages.
- Implemented rules engine for applying field defaults and renaming nets.
- Added tests for rules engine functionality.
- Introduced scope guard script to enforce file modification policies based on PR labels.
- Created watch script to monitor KiCad files and trigger hardware gate on changes.
2026-02-19 00:00:33 +01:00

855 B
Raw Blame History

Compliance (profiles)

Ce repo propose 2 profils sélectionnables :

  • prototype : démonstrateur interne (pas de CE/RED)
  • iot_wifi_eu : produit UE WiFi/BLE (CE/RED + cyber + RoHS/REACH/WEEE)

Changer de profil

python tools/compliance/use_profile.py prototype
python tools/compliance/use_profile.py iot_wifi_eu

Valider

python tools/compliance/validate.py

Intégration KiCad

Le gate hardware exporte déjà erc.json + drc.json via kicad-cli. Les paramètres DRC de base peuvent être générés depuis le profil :

python tools/hw/drc/generate_custom_rules.py --profile prototype > artifacts/custom_rules_prototype.kicad_dru

⚠️ KiCad gère normalement le fichier .kicad_dru automatiquement : on utilise ici un snippet à coller/importer via Board Setup → Custom Rules.