diff --git a/.gitignore b/.gitignore index 7aaddf99a..70fb44c64 100644 --- a/.gitignore +++ b/.gitignore @@ -17,12 +17,13 @@ software/build/* doc/sphinx/_build/html/_static doc/sphinx/_build *.epf -*.cwp *_data default-data-dir/ *.o *.d *.lst +*.cwp +!tests/** *.npy hardware/victims/firmware/simpleserial-*/simpleserial-*-CW* hardware/victims/firmware/basic-passwdcheck/basic-passwdcheck-CW* @@ -52,4 +53,4 @@ __pycache__/ # for building the project as a sdist and wheel for pypi build/ -dist/ \ No newline at end of file +dist/ diff --git a/tests/projects/Tutorial_B5.cwp b/tests/projects/Tutorial_B5.cwp new file mode 100644 index 000000000..d39d7166d --- /dev/null +++ b/tests/projects/Tutorial_B5.cwp @@ -0,0 +1,10 @@ +[Trace Management] +tracefile0 = Tutorial_B5_data\traces\config_2020.03.10-15.16.25_0.cfg +enabled0 = True +[ChipWhisperer] +[[General Settings]] +Project Name = Untitled +Project File Version = 1.00 +Project Author = Unknown +Program Name = ChipWhisperer +Program Version = "" diff --git a/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.04.05_0.cfg b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.04.05_0.cfg new file mode 100644 index 000000000..19044e643 --- /dev/null +++ b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.04.05_0.cfg @@ -0,0 +1,13 @@ +[Trace Config] +format = native +numTraces = 50 +numPoints = 5000 +date = 2020-03-10 15:04:05 +prefix = 2020.03.10-15.04.05_0 +targetHW = unknown +targetSW = unknown +scopeName = unknown +scopeSampleRate = 0 +scopeYUnits = 0 +scopeXUnits = 0 +notes = "" diff --git a/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.05.09_0.cfg b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.05.09_0.cfg new file mode 100644 index 000000000..9a6bf514e --- /dev/null +++ b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.05.09_0.cfg @@ -0,0 +1,13 @@ +[Trace Config] +format = native +numTraces = 50 +numPoints = 5000 +date = 2020-03-10 15:05:09 +prefix = 2020.03.10-15.05.09_0 +targetHW = unknown +targetSW = unknown +scopeName = unknown +scopeSampleRate = 0 +scopeYUnits = 0 +scopeXUnits = 0 +notes = "" diff --git a/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.11.47_0.cfg b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.11.47_0.cfg new file mode 100644 index 000000000..59b72f3c2 --- /dev/null +++ b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.11.47_0.cfg @@ -0,0 +1,13 @@ +[Trace Config] +format = native +numTraces = 50 +numPoints = 5000 +date = 2020-03-10 15:11:47 +prefix = 2020.03.10-15.11.47_0 +targetHW = unknown +targetSW = unknown +scopeName = unknown +scopeSampleRate = 0 +scopeYUnits = 0 +scopeXUnits = 0 +notes = "" diff --git a/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.16.25_0.cfg b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.16.25_0.cfg new file mode 100644 index 000000000..74d289da5 --- /dev/null +++ b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-15.16.25_0.cfg @@ -0,0 +1,13 @@ +[Trace Config] +format = native +numTraces = 50 +numPoints = 5000 +date = 2020-03-10 15:16:25 +prefix = 2020.03.10-15.16.25_0 +targetHW = unknown +targetSW = unknown +scopeName = unknown +scopeSampleRate = 0 +scopeYUnits = 0 +scopeXUnits = 0 +notes = "" diff --git a/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-18.57.31_0.cfg b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-18.57.31_0.cfg new file mode 100644 index 000000000..34d04de14 --- /dev/null +++ b/tests/projects/Tutorial_B5_data/traces/config_2020.03.10-18.57.31_0.cfg @@ -0,0 +1,13 @@ +[Trace Config] +format = native +numTraces = 50 +numPoints = 5000 +date = 2020-03-10 18:57:31 +prefix = 2020.03.10-18.57.31_0 +targetHW = unknown +targetSW = unknown +scopeName = unknown +scopeSampleRate = 0 +scopeYUnits = 0 +scopeXUnits = 0 +notes = "" diff --git a/tests/projects/jittertime.cwp b/tests/projects/jittertime.cwp new file mode 100644 index 000000000..ef9aac104 --- /dev/null +++ b/tests/projects/jittertime.cwp @@ -0,0 +1,10 @@ +[Trace Management] +tracefile0 = jittertime_data\traces\config_2020.03.10-19.15.39_0.cfg +enabled0 = True +[ChipWhisperer] +[[General Settings]] +Project Name = Untitled +Project File Version = 1.00 +Project Author = Unknown +Program Name = ChipWhisperer +Program Version = "" diff --git a/tests/projects/jittertime_data/traces/config_2020.03.10-19.15.39_0.cfg b/tests/projects/jittertime_data/traces/config_2020.03.10-19.15.39_0.cfg new file mode 100644 index 000000000..a88fe5042 --- /dev/null +++ b/tests/projects/jittertime_data/traces/config_2020.03.10-19.15.39_0.cfg @@ -0,0 +1,13 @@ +[Trace Config] +format = native +numTraces = 50 +numPoints = 5000 +date = 2020-03-10 19:15:39 +prefix = 2020.03.10-19.15.39_0 +targetHW = unknown +targetSW = unknown +scopeName = unknown +scopeSampleRate = 0 +scopeYUnits = 0 +scopeXUnits = 0 +notes = ""