code: def autobuild_doxygen(tile):
      
  
      iotile = IOTile('.')
  
      doxydir = os.path.join('build', 'doc')
      doxyfile = os.path.join(doxydir, 'doxygen.txt')
  
      outfile = os.path.join(doxydir, '%s.timestamp' % tile.unique_id)
      env = Environment(ENV=os.environ, tools=[])
      env['IOTILE'] = iotile
  
      # There is no /dev/null on Windows
      if platform.system() == 'Windows':
          action = 'doxygen %s > NUL' % doxyfile
      else:
          action = 'doxygen %s > /dev/null' % doxyfile
  
      Alias('doxygen', doxydir)
      env.Clean(outfile, doxydir)
  
      inputfile = doxygen_source_path()
  
      env.Command(doxyfile, inputfile, action=env.Action(lambda target, source, env: generate_doxygen_file(str(target[0]), iotile), "Creating Doxygen Config File"))
      env.Command(outfile, doxyfile, action=env.Action(action, "Building Firmware Documentation"))
docs: Generate documentation for firmware in this module using doxygen