Ignore:
Timestamp:
Jul 8, 2015, 3:57:15 PM (9 years ago)
Author:
alain
Message:

Modify all applications to support two new rules:
1) introduce a local Makefile for each application.
2) change "application.elf" name to "application/appli.elf" name in the application.py" file.
Introduce the shell application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/sort/sort.py

    r502 r589  
    44
    55####################################################################################
    6 #   file   : sort.py  (for the sort application)
     6#   file   : sort.py
    77#   date   : may 2014
    88#   author : Alain Greiner
     
    2020####################################################################################
    2121
    22 ####################
    23 def sort( mapping ):
     22######################
     23def extend( mapping ):
    2424
    2525    x_size    = mapping.x_size
     
    5050    mapping.addVseg( vspace, 'sort_data', data_base , data_size,
    5151                     'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
    52                      binpath = 'build/sort/sort.elf',
     52                     binpath = 'build/sort/appli.elf',
    5353                     local = False )
    5454
     
    6161                mapping.addVseg( vspace, 'sort_code', code_base , code_size,
    6262                                 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM',
    63                                  binpath = 'build/sort/sort.elf',
     63                                 binpath = 'build/sort/appli.elf',
    6464                                 local = True )
    6565
     
    113113if __name__ == '__main__':
    114114
    115     vspace = sort( Mapping( 'test', 2, 2, 4 ) )
     115    vspace = extend( Mapping( 'test', 2, 2, 4 ) )
    116116    print vspace.xml()
    117117
Note: See TracChangeset for help on using the changeset viewer.