add info about 19003

This commit is contained in:
Mike Kinney
2022-01-30 22:38:35 -08:00
parent eb7683450f
commit a6e770f548
3 changed files with 60 additions and 1 deletions

View File

@@ -75,6 +75,7 @@ rak4631_5005 = SupportedDevice(name="RAK 4631 5005", version="", for_firmware="r
device_class="nrf52",
baseport_on_linux="ttyACM", baseport_on_mac="cu.usbmodem",
usb_vendor_id_in_hex="239a", usb_product_id_in_hex="0029")
# Note: The 19003 reports same product id as 5005 in boot mode
rak4631_19003 = SupportedDevice(name="RAK 4631 19003", version="", for_firmware="rak4631_19003",
device_class="nrf52",
baseport_on_linux="ttyACM", baseport_on_mac="cu.usbmodem",

View File

@@ -327,7 +327,7 @@ def detect_supported_devices():
elif system == "Darwin":
# run: system_profiler SPUSBDataType
# if mac air (eg: arm m1) do not know how to get info TODO: research
# Note: If in boot mode, the 19003 reports same product ID as 5005.
_, sp_output = subprocess.getstatusoutput('system_profiler SPUSBDataType')
vids = get_unique_vendor_ids()