Subversion Repositories DevTools

Rev

Rev 5757 | Rev 5830 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5757 Rev 5783
Line 100... Line 100...
100
       push @flags , '-e';
100
       push @flags , '-e';
101
       push @flags , '--fpu=None';
101
       push @flags , '--fpu=None';
102
       push @flags , '-Oh';
102
       push @flags , '-Oh';
103
       push @flags , '--vla';
103
       push @flags , '--vla';
104
       push @flags , '--require_prototypes';
104
       push @flags , '--require_prototypes';
105
       #push @flags , '--discard_unused_publics';
-
 
106
       #push @flags , '--mfc';
-
 
107
       push @flags , '--remarks';
105
       push @flags , '--remarks';
108
       push @flags , '--dlib_config=DLib_Config_Normal.h';
106
       push @flags , '--dlib_config=DLib_Config_Normal.h';
109
#       push @flags, '-lC $(OBJDIR)';
-
 
110
#       push @flags, '-lA $(OBJDIR)';
-
 
111
 
107
 
112
       # Defines
108
       # Defines
113
       #push @defines, 'xxxxxx';
109
       #push @defines, 'xxxxxx';
114
 
110
 
115
 
111
 
116
        #
112
        #
117
        #   Assembler flags and definitions
113
        #   Assembler flags and definitions
118
        #
114
        #
-
 
115
 
119
#       push @asflags , '-v6';                  # processor configuration
116
      push @asflags , '-s+';                    # Case-sensitive user symbols
120
#       push @asflags , '-s+';                  # Case-sensitive user symbols
117
      push @asflags , '-w+';                    # enable all warnings
121
#       push @asflags , '-t8';                  # tab spacing...
118
      push @asflags , '-r';                     # generate debug information
122
#       push @asflags , '-u_enhancedCore';      # enable AVR-specific enhanced instructions
119
      push @asflags , '--cpu Cortex-M3';
-
 
120
      push @asflags , '--fpu None';
123
 
121
 
124
#       push @asdefines, '__MEMORY_MODEL__=2';
-
 
125
#       push @asdefines, '__HAS_ELPM__=1 ';
122
      # Assember Defines
126
#       push @asdefines, '__HAS_ENHANCED_CORE__=1 ';
-
 
127
#       push @asdefines, 'ASSEMBLER';
123
      #push @asdefines, 'xxxx';
128
    }
124
    }
129
 
125
 
130
    #.. Standard.rul requirements
126
    #.. Standard.rul requirements
131
    #
127
    #
132
    $s = 's';               # Assembler source file
128
    $s = 's';               # Assembler source file
Line 620... Line 616...
620
sub ToolsetLibRecipe
616
sub ToolsetLibRecipe
621
{
617
{
622
    my ($io, $target, $lib, $dp) = @_;
618
    my ($io, $target, $lib, $dp) = @_;
623
 
619
 
624
    if ( !defined($dp) ) {                      # linker
620
    if ( !defined($dp) ) {                      # linker
625
        $io->Cmd("--search @(vpath2,\"$lib.$::a\",IAR_LIB)" );
621
        $io->Cmd("--semihosting @(vpath2,\"$lib.$::a\",IAR_LIB)" );
626
    } else {                                    # depend
622
    } else {                                    # depend
627
        $io->Cmd( "$dp:\t@(vlib2,\"$lib.$::a\",IAR_LIB)" );
623
        $io->Cmd( "$dp:\t@(vlib2,\"$lib.$::a\",IAR_LIB)" );
628
    }
624
    }
629
}
625
}
630
 
626