)]}'
{
  "commit": "f54e1eddbeeaa78fade150bdad30afccd083a9b0",
  "tree": "c30bd03995660ede0a91ada205073943a6b41796",
  "parents": [
    "5e10e77b69307689c375c7a8990b9426777228e3"
  ],
  "author": {
    "name": "George White",
    "email": "me@galexite.uk",
    "time": "Mon Apr 05 21:22:07 2021 +0100"
  },
  "committer": {
    "name": "Anas Nashif",
    "email": "anas.nashif@intel.com",
    "time": "Thu May 13 22:05:17 2021 -0400"
  },
  "message": "runners: bossac: Arduino bootloader reset on macOS\n\nFixes compatibility with the Arduino bootloader reset mechanism when\nusing `west flash` on Darwin hosts.\n\nstty is used to set the serial port in the bossac runner to 1200 baud on\nArduino ATSAMD21 bootloaders. The `-F` argument to stty is a GNU\ncoreutils addition, and thus it is missing from Darwin\u0027s BSD stty, so\nchange the flag to `-f` when we\u0027re not running on Linux.\n\nOn Darwin, set DEFAULT_BOSSAC_PORT to None and ask the user to select\none from a list of IOCalloutDevices reported by ioreg, modelled on the\nget_board_snr from the nrfjprog runner. This is because serial port TTYs\nare generated by the device driver, and therefore there is no safe\ndefault.\n\nTested with an Arduino Nano 33 IoT board.\n\nSigned-off-by: George White \u003cme@galexite.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03aa3ce326147a2b95ae35e40b672ff2e6d87ca3",
      "old_mode": 33188,
      "old_path": "scripts/west_commands/runners/bossac.py",
      "new_id": "40b9cf4325ad514c66d2face23e9c922de8bd408",
      "new_mode": 33188,
      "new_path": "scripts/west_commands/runners/bossac.py"
    }
  ]
}
