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

    r574 r589  
    1313
    1414######################
    15 def display( mapping ):
     15def extend( mapping ):
    1616
    1717    nprocs    = mapping.nprocs
     
    3838    mapping.addVseg( vspace, 'disp_data', data_base , data_size,
    3939                     'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
    40                      binpath = 'build/display/display.elf',
     40                     binpath = 'build/display/appli.elf',
    4141                     local = False )
    4242
     
    4444    mapping.addVseg( vspace, 'disp_code', code_base , code_size,
    4545                     'CXWU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
    46                      binpath = 'build/display/display.elf',
     46                     binpath = 'build/display/appli.elf',
    4747                     local = False )
    4848
     
    6969if __name__ == '__main__':
    7070
    71     vspace = display( Mapping( 'test', 2, 2, 4 ) )
     71    vspace = extend( Mapping( 'test', 2, 2, 4 ) )
    7272    print vspace.xml()
    7373
Note: See TracChangeset for help on using the changeset viewer.