parameters: ()
return_statement: return board_list
docstring: add boards based on existance of hwdef-bl.dat in subdirectories for ChibiOS
docstring_summary: add boards based on existance of hwdef-bl.dat in subdirectories for ChibiOS
docstring_tokens: add boards based on existance of hwdef - bl . dat in subdirectories for ChibiOS
function: def get_board_list():
      '''add boards based on existance of hwdef-bl.dat in subdirectories for ChibiOS'''
      board_list = []
      # these are base builds, and don't build directly
      omit = []
      dirname, dirlist, filenames = next(os.walk('libraries/AP_HAL_ChibiOS/hwdef'))
      for d in dirlist:
          hwdef = os.path.join(dirname, d, 'hwdef.dat')
          if os.path.exists(hwdef) and not d in omit:
              board_list.append(d)
      return board_list
function_tokens: def get_board_list ( ) : board_list = [ ] # these are base builds, and don't build directly omit = [ ] dirname , dirlist , filenames = next ( os . walk ( 'libraries/AP_HAL_ChibiOS/hwdef' ) ) for d in dirlist : hwdef = os . path . join ( dirname , d , 'hwdef.dat' ) if os . path . exists ( hwdef ) and not d in omit : board_list . append ( d ) return board_list