- Nov 17, 2014
-
-
Theodor-Adrian Stana authored
The rename phase (which was previously sed-based) has now been changed to change the ELMA IP/hostname in the men-on, men-off and get-fan-speeds scripts. Previously, I had omitted these three scripts and the IP and hostname were hard-coded. This has now been changed by environment variables, which "incidentally" have the same way of definition in shell script as template strings under Python. Therefore, this nice similarity between Python and shell script was used to create a Python script that does the renaming where needed. The renaming is done as follows: - ptsdefine.py, via three template strings that are replaced by the `rename' script - men-on/men-off/get-fan-speeds, via three template strings that double as environment variables; this doubling can be used in the future, should it be needed When you run `make', the `rename' script is called with the necessary params by the Makefile (assuming you give the Makefile variables -- otherwise the `rename' script fails, telling you why) and it handles the renaming in all the places above.
-
Theodor-Adrian Stana authored
-
Theodor-Adrian Stana authored
-
- Nov 14, 2014
-
-
Theodor-Adrian Stana authored
Mainly, the build system changes consist in organizing the makefile better and building to a local `ubuntu/' folder, which should then be copied directly to the PTS system. Then, the flash test changes consist in checking for a BusException error to not fall in the trap of continuing on other exceptions occuring in the block of code under `try'. Also, the flash test is more "modular" in that the gateware versions to be downloaded can be specified at the beginning of the file.
-
- Nov 12, 2014
-
-
Theodor-Adrian Stana authored
-
- Nov 11, 2014
-
-
Theodor-Adrian Stana authored
This commit: - adds rs485_pulse.py test script - adds corresponding bits in ptsdefine.py - adds the test in the Makefile
-
- Nov 03, 2014
-
-
Theodor-Adrian Stana authored
-
- Oct 31, 2014
-
-
Theodor-Adrian Stana authored
-
Theodor-Adrian Stana authored
-