diff --git a/flashing/.gitignore b/flashing/pyocd/.gitignore similarity index 100% rename from flashing/.gitignore rename to flashing/pyocd/.gitignore diff --git a/flashing/flash_firmware.py b/flashing/pyocd/flash_firmware.py similarity index 86% rename from flashing/flash_firmware.py rename to flashing/pyocd/flash_firmware.py index be1e138..78b968a 100644 --- a/flashing/flash_firmware.py +++ b/flashing/pyocd/flash_firmware.py @@ -9,8 +9,8 @@ from pyocd.flash.file_programmer import FileProgrammer from mac_address_reader import MacAddressReader parser = argparse.ArgumentParser() -parser.add_argument("-s", "--softdevice", action="store", help="Optional file path to softdevice file.", default="../sdk/s140nrf52720/s140_nrf52_7.2.0_softdevice.hex", type=Path) -parser.add_argument("-f", "--firmware", action="store", help="Optional file path to firmware file.", default="../code/b-parasite/_build/nrf52840_xxaa.hex", type=Path) +parser.add_argument("-s", "--softdevice", action="store", help="Optional file path to softdevice file.", default="../../sdk/s140nrf52720/s140_nrf52_7.2.0_softdevice.hex", type=Path) +parser.add_argument("-f", "--firmware", action="store", help="Optional file path to firmware file.", default="../../code/b-parasite/_build/nrf52840_xxaa.hex", type=Path) parser.add_argument("--skip-softdevice", action="store_true", help="Skip flashing of the softdevice.") parser.add_argument("--skip-firmware", action="store_true", help="Skip flashing of firmware.") diff --git a/flashing/mac_address_reader.py b/flashing/pyocd/mac_address_reader.py similarity index 100% rename from flashing/mac_address_reader.py rename to flashing/pyocd/mac_address_reader.py diff --git a/flashing/requirements.txt b/flashing/pyocd/requirements.txt similarity index 100% rename from flashing/requirements.txt rename to flashing/pyocd/requirements.txt