Ignore:
Timestamp:
May 18, 2015, 12:01:39 PM (9 years ago)
Author:
cfuguet
Message:

Reintroduce the -SOFT and -DISK simulator arguments to pass the ROM code
and the DISK image respectively without the need of recompilation.

Remove the nic_tx_file when doing the "make clean" of the platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_leti/top.cpp

    r967 r993  
    265265            ncycles = (uint64_t) strtol(argv[n + 1], NULL, 0);
    266266         }
     267         else if ((strcmp(argv[n],"-SOFT") == 0) && (n + 1 < argc))
     268         {
     269            strcpy(soft_name, argv[n + 1]);
     270         }
     271         else if ((strcmp(argv[n],"-DISK") == 0) && (n + 1 < argc))
     272         {
     273            strcpy(disk_name, argv[n + 1]);
     274         }
    267275         else if ((strcmp(argv[n],"-DEBUG") == 0) && (n + 1 < argc))
    268276         {
Note: See TracChangeset for help on using the changeset viewer.