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/router/router.py

    r457 r589  
    2626####################################################################################
    2727
    28 #########################
    29 def router( mapping ):
     28######################
     29def extend( mapping ):
    3030
    3131    x_size    = mapping.x_size
     
    5454    mapping.addVseg( vspace, 'router_data_0', data_0_base , data_0_size,
    5555                     'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
    56                      binpath = 'build/router/router.elf',
     56                     binpath = 'build/router/appli.elf',
    5757                     local = False )
    5858
     
    6060    mapping.addVseg( vspace, 'router_data_1', data_1_base , data_1_size,
    6161                     'C_WU', vtype = 'ELF', x = x_size - 1, y = y_size - 1, pseg = 'RAM',
    62                      binpath = 'build/router/router.elf',
     62                     binpath = 'build/router/appli.elf',
    6363                     local = False )
    6464
     
    108108if __name__ == '__main__':
    109109
    110     vspace = router( Mapping( 'test', 2, 2, 4 ) )
     110    vspace = extend( Mapping( 'test', 2, 2, 4 ) )
    111111    print vspace.xml()
    112112
Note: See TracChangeset for help on using the changeset viewer.