Skip to content
Snippets Groups Projects
  1. Nov 17, 2014
    • Theodor-Adrian Stana's avatar
      sw: Changed rename phase in PTS software build · 7fe949f4
      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.
      7fe949f4
    • Theodor-Adrian Stana's avatar
      3fdf92d9
    • Theodor-Adrian Stana's avatar
      61819c37
  2. Nov 14, 2014
    • Theodor-Adrian Stana's avatar
      sw: Small changes in PTS build system and additions to flash test · 7a145ab6
      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.
      7a145ab6
  3. Nov 12, 2014
  4. Nov 11, 2014
  5. Nov 03, 2014
  6. Oct 31, 2014