code: def get_firmwares():
      '''
      Return `dmf_control_board` compiled Arduino hex file paths.
  
      This function may be used to locate firmware binaries that are available
      for flashing to [Arduino Mega2560][1] boards.
  
      [1]: http://arduino.cc/en/Main/arduinoBoardMega2560
      '''
      return OrderedDict([(board_dir.name, [f.abspath() for f in
                                            board_dir.walkfiles('*.hex')])
                          for board_dir in
                          package_path().joinpath('firmware').dirs()]f get_firmwares():
      '''
      Return `dmf_control_board` compiled Arduino hex file paths.
  
      This function may be used to locate firmware binaries that are available
      for flashing to [Arduino Mega2560][1] boards.
  
      [1]: http://arduino.cc/en/Main/arduinoBoardMega2560
      '''
      return OrderedDict([(board_dir.name, [f.abspath() for f in
                                            board_dir.walkfiles('*.hex')])
                          for board_dir in
                          package_path().joinpath('firmware').dirs()])
docs: Return `dmf_control_board` compiled Arduino hex file paths.
  
      This function may be used to locate firmware binaries that are available
      for flashing to [Arduino Mega2560][1] boards.
  
      [1]: http://arduino.cc/en/Main/arduinoBoardMega2560