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

    r502 r589  
    44
    55##################################################################################
    6 #   file   : transpose.py  (for the transpose application)
     6#   file   : transpose.py 
    77#   date   : may 2014
    88#   author : Alain Greiner
     
    2626##################################################################################
    2727
    28 #########################
    29 def transpose( mapping ):
     28######################
     29def extend( mapping ):
    3030
    3131    x_size    = mapping.x_size
     
    5454    mapping.addVseg( vspace, 'trsp_data', data_base , data_size,
    5555                     'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
    56                      binpath = 'build/transpose/transpose.elf',
     56                     binpath = 'build/transpose/appli.elf',
    5757                     local = False )
    5858
     
    6666                                 code_base , code_size,
    6767                                 'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM',
    68                                  binpath = 'build/transpose/transpose.elf',
     68                                 binpath = 'build/transpose/appli.elf',
    6969                                 local = True )
    7070
     
    118118if __name__ == '__main__':
    119119
    120     vspace = transpose( Mapping( 'test', 2, 2, 4 ) )
     120    vspace = extend( Mapping( 'test', 2, 2, 4 ) )
    121121    print vspace.xml()
    122122
Note: See TracChangeset for help on using the changeset viewer.