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

    r502 r589  
    44
    55######################################################################################
    6 #   file   : convol.py  (for the convol application)
     6#   file   : convol.py
    77#   date   : may 2014
    88#   author : Alain Greiner
     
    2727
    2828######################
    29 def convol( mapping ):
     29def extend( mapping ):
    3030
    3131    x_size    = mapping.x_size
     
    5454    mapping.addVseg( vspace, 'conv_data', data_base , data_size,
    5555                     'C_WU', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
    56                      binpath = 'build/convol/convol.elf',
     56                     binpath = 'build/convol/appli.elf',
    5757                     local = False )
    5858
     
    6767                mapping.addVseg( vspace, 'conv_code_%d_%d' % (x,y), base, size,
    6868                                 'CXWU', vtype = 'ELF', x = x , y = y , pseg = 'RAM',
    69                                  binpath = 'build/convol/convol.elf',
     69                                 binpath = 'build/convol/appli.elf',
    7070                                 local = True )
    7171
     
    119119if __name__ == '__main__':
    120120
    121     vspace = convol( Mapping( 'test', 2, 2, 4 ) )
     121    vspace = extend( Mapping( 'test', 2, 2, 4 ) )
    122122    print vspace.xml()
    123123
Note: See TracChangeset for help on using the changeset viewer.