This library is intended to be a companion library to the JITX environment. The goals for this project are:
- Provide a focused API that supports PCB development.
- Expressive, consistent interface that makes defining components and circuits easy.
- Maintainable and distributable library with the help of SLM.
- Well-documented and thoughtful explanations.
** This is currently in ALPHA release. **
- If you are in the JITX VSCode environment:
- In Linux/Mac:
which $SLM_STANZA
$SLM_STANZA version
- In Windows Powershell:
get-command $env:SLM_STANZA
&$env:SLM_STANZA version
- In Linux/Mac:
- Outside the VSCode
- You need to have
jstanza
on thePATH
. - In Linux/Mac:
which jstanza
- In Windows:
get-command jstanza
jstanza version
should report the current version.- If there is no
jstanza
on your path - then you will need to add it to your$PATH
(or in Windows$env:PATH
).
- You need to have
To run the unit tests there are two make targets:
make tests
- this will run all of the unit tests.make test-<TAG>
- this will run only the unit tests associated with the tag<TAG>
Example:
$> make test-SOIC
/Users/callendorph/.jitx/current/jstanza run-test jsl/tests/landpatterns/numbering ... -tagged SOIC | grep -v "SKIP" | awk NF
[Test 21] test-lead
[PASS]
[Test 22] test-body
[PASS]
[Test 23] test-SOIC-N
[PASS]
[Test 24] test-SOIC-W
[PASS]
[Test 25] test-fine-pitch
[PASS]
[Test 26] test-thermal-lead
[PASS]
[Test 27] test-pad-numbering
[PASS]
[Test 28] test-error-handling
[PASS]
[Test 29] test-SOIC-with-pose
[PASS]
[Test 30] test-SOIC-with-rotation
[PASS]
[Test 31] test-thermal-lead-with-pose
[PASS]
Tests Finished: 11/111 tests passed. 100 tests skipped. 0 tests failed.
Longest Running Tests:
[PASS] test-SOIC-N (36 ms)
[PASS] test-fine-pitch (26 ms)
[PASS] test-SOIC-W (10 ms)
[PASS] test-thermal-lead (6181 us)
[PASS] test-thermal-lead-with-pose (5226 us)
[PASS] test-SOIC-with-pose (4847 us)
[PASS] test-pad-numbering (4547 us)
[PASS] test-error-handling (3561 us)
[PASS] test-SOIC-with-rotation (3531 us)
[PASS] test-lead (3124 us)
[PASS] test-body (561 us)