Sha256: 3f6f3a142306437ad264e9ad5cfdc74b056056fc65f09c665a9fd961225d6889
Contents?: true
Size: 1.5 KB
Versions: 5
Compression:
Stored size: 1.5 KB
Contents
# This file will be required by Origen before your target is loaded, you # can use this to require all of your files, which is the easiest way # to get started. As your experience grows you may wish to require only the # minimum files required to allow the target to be initialized and let # each class require its own dependencies. # # It is recommended that you keep all of your application logic in lib/ # The lib directory has already been added to the search path and so any files # in there can be referenced from here with a relative path. # # Note that pattern files do not need to be referenced from here and these # will be located automatically by origen. # This says load the file "lib/pioneer.rb" the first time anyone makes a # reference to the class name 'Pioneer'. #autoload :Pioneer, "pioneer" # This is generally preferable to using require which will load the file # regardless of whether it is needed by the current target or not: #require "pioneer" # Sometimes you have to use require however:- # 1. When defining a test program interface: #require "interfaces/j750" # 2. If you want to extend a class defined by an imported application, in # this case your must use required and supply a full path (to distinguish # it from the one in the parent application): #require "#{Origen.root}/c90_top_level/p2" module OrigenDebuggers autoload :Base, "origen_debuggers/base" autoload :JLink, "origen_debuggers/j_link" autoload :PEmicro, "origen_debuggers/p_and_e" end require "origen_debuggers"
Version data entries
5 entries across 5 versions & 1 rubygems