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.
This commit is contained in:
Clément SAILLANT
2026-02-18 23:47:56 +01:00
commit c2addfd81d
184 changed files with 5782 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#include <unity.h>
static int add(int a, int b) { return a + b; }
void test_add(void) {
TEST_ASSERT_EQUAL_INT(4, add(2, 2));
}
int main(int, char**) {
UNITY_BEGIN();
RUN_TEST(test_add);
return UNITY_END();
}