mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
correct flash.sh creation
This commit is contained in:
parent
d8badc948f
commit
468ec83c1b
16
.github/workflows/test_hardware.yml
vendored
16
.github/workflows/test_hardware.yml
vendored
@ -13,6 +13,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
stm32l412nucleo-test:
|
stm32l412nucleo-test:
|
||||||
runs-on: [self-hosted, Linux, X64, hifiphile]
|
runs-on: [self-hosted, Linux, X64, hifiphile]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clean workspace
|
- name: Clean workspace
|
||||||
run: |
|
run: |
|
||||||
@ -36,15 +37,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Create flash.sh
|
- name: Create flash.sh
|
||||||
run: |
|
run: |
|
||||||
touch flash.sh
|
|
||||||
chmod +x flash.sh
|
|
||||||
echo > flash.sh "echo halt > flash.jlink"
|
echo > flash.sh "echo halt > flash.jlink"
|
||||||
echo > flash.sh "echo r >> flash.jlink"
|
echo >> flash.sh "echo r >> flash.jlink"
|
||||||
echo > flash.sh "echo loadfile $1 >> flash.jlink"
|
echo >> flash.sh "echo loadfile $1 >> flash.jlink"
|
||||||
echo > flash.sh "echo r >> flash.jlink"
|
echo >> flash.sh "echo r >> flash.jlink"
|
||||||
echo > flash.sh "echo go >> flash.jlink"
|
echo >> flash.sh "echo go >> flash.jlink"
|
||||||
echo > flash.sh "echo exit >> flash.jlink"
|
echo >> flash.sh "echo exit >> flash.jlink"
|
||||||
echo > flash.sh "JLinkExe -device stm32l412kb -if swd -JTAGConf -1,-1 -speed auto -CommandFile flash.jlink"
|
echo >> flash.sh "JLinkExe -device stm32l412kb -if swd -JTAGConf -1,-1 -speed auto -CommandFile flash.jlink"
|
||||||
|
chmod +x flash.sh
|
||||||
|
|
||||||
- name: Test cdc_dual_ports
|
- name: Test cdc_dual_ports
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user