Skip to content

Commit 5066275

Browse files
committed
Changed Gradle task to flash command
1 parent 53e2474 commit 5066275

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ jobs:
5959
name: build-artifact
6060
path: ./build
6161

62-
- name: Run on device
63-
run: ./gradlew runOnDevice --info
62+
- name: Rename .out to .elf
63+
run: cd ./build/application/executable && ren application.out application.elf
64+
shell: cmd
65+
66+
- name: Flash on board
67+
run: LinkServer flash MIMXRT1176xxxxx:MIMXRT1170-EVKB load .\application.elf
6468
shell: cmd

0 commit comments

Comments
 (0)