nrf: Added support for writing with nrfjprog on all nrf boards

`tinygo flash -programmer command` to write using nrfjprog
This commit is contained in:
sago35
2021-03-22 19:00:21 +09:00
parent e2f532709f
commit ecaec565aa
9 changed files with 4 additions and 5 deletions
+1
View File
@@ -14,6 +14,7 @@
"lib/nrfx/mdk/system_nrf51.c",
"src/device/nrf/nrf51.s"
],
"flash-command": "nrfjprog -f nrf51 --sectorerase --program {hex} --reset",
"openocd-transport": "swd",
"openocd-target": "nrf51"
}
+1
View File
@@ -12,6 +12,7 @@
"lib/nrfx/mdk/system_nrf52.c",
"src/device/nrf/nrf52.s"
],
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
"openocd-transport": "swd",
"openocd-target": "nrf51"
}
+1
View File
@@ -12,6 +12,7 @@
"lib/nrfx/mdk/system_nrf52833.c",
"src/device/nrf/nrf52833.s"
],
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
"openocd-transport": "swd",
"openocd-target": "nrf52"
}
+1
View File
@@ -12,6 +12,7 @@
"lib/nrfx/mdk/system_nrf52840.c",
"src/device/nrf/nrf52840.s"
],
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
"openocd-transport": "swd",
"openocd-target": "nrf51"
}
-1
View File
@@ -1,6 +1,5 @@
{
"inherits": ["nrf51"],
"build-tags": ["pca10031"],
"flash-command": "nrfjprog -f nrf51 --sectorerase --program {hex} --reset",
"openocd-interface": "cmsis-dap"
}
-1
View File
@@ -2,7 +2,6 @@
"inherits": ["nrf52"],
"build-tags": ["pca10040"],
"flash-method": "openocd",
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
"openocd-interface": "jlink",
"openocd-transport": "swd"
}
-1
View File
@@ -2,7 +2,6 @@
"inherits": ["nrf52840"],
"build-tags": ["pca10056"],
"flash-method": "command",
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
"msd-volume-name": "JLINK",
"msd-firmware-name": "firmware.hex",
"openocd-interface": "jlink",
-1
View File
@@ -2,7 +2,6 @@
"inherits": ["nrf52"],
"build-tags": ["pinetime_devkit0"],
"flash-method": "openocd",
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
"openocd-interface": "jlink",
"openocd-transport": "swd"
}
-1
View File
@@ -2,7 +2,6 @@
"inherits": ["nrf52"],
"build-tags": ["x9pro"],
"flash-method": "openocd",
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
"openocd-interface": "jlink",
"openocd-transport": "swd"
}