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.

Location:
soft/giet_vm/applications/coproc
Files:
1 added
2 edited

Legend:

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

    r555 r589  
    44
    55##################################################################################
    6 #   file   : coproc.py  (for the coproc application)
     6#   file   : coproc.py 
    77#   date   : march 2015
    88#   author : Alain Greiner
     
    2222
    2323######################
    24 def coproc( mapping ):
     24def extend( mapping ):
    2525
    2626    x_size    = mapping.x_size
     
    5555    mapping.addVseg( vspace, 'coproc_data', data_base , data_size,
    5656                     'C_WU', vtype = 'ELF', x = x, y = y, pseg = 'RAM',
    57                      binpath = 'build/coproc/coproc.elf',
     57                     binpath = 'build/coproc/appli.elf',
    5858                     local = False )
    5959
     
    6161    mapping.addVseg( vspace, 'coproc_code', code_base , code_size,
    6262                     'CXWU', vtype = 'ELF', x = x, y = y, pseg = 'RAM',
    63                      binpath = 'build/coproc/coproc.elf',
     63                     binpath = 'build/coproc/appli.elf',
    6464                     local = False )
    6565
     
    8282if __name__ == '__main__':
    8383
    84     vspace = coproc( Mapping( 'test', 2, 2, 4 ) )
     84    vspace = extend( Mapping( 'test', 2, 2, 4 ) )
    8585    print vspace.xml()
    8686
  • soft/giet_vm/applications/coproc/main.c

    r555 r589  
    1212
    1313#include "stdio.h"
    14 #include "mapping_info.h"   // for coprocessors types an modes
     14#include "mapping_info.h"       // for coprocessors types an modes
    1515
    1616#define  VECTOR_SIZE 128   
Note: See TracChangeset for help on using the changeset viewer.