diff options
| author | hathach <[email protected]> | 2023-02-10 14:56:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-02-10 14:56:32 +0700 |
| commit | 39a37d82ceac9e208d931a7647c5545b36dd6b4a (patch) | |
| tree | 94daf917233513d34369be0247138785e6480c6f | |
| parent | cf162e2c54025a9d361d85cecba3d46315f38b45 (diff) | |
change rp2040 hw test to use pyocd for better stability/performance than openocd
| -rw-r--r-- | .github/workflows/build_arm.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml index 29c41a8eb..3bbd30e51 100644 --- a/.github/workflows/build_arm.yml +++ b/.github/workflows/build_arm.yml @@ -171,7 +171,7 @@ jobs: # - pico-probe is /dev/ttyACM0 # --------------------------------------- hw-rp2040-test: - # Limit the run to only hathach due to limited resource on RPI4 + # run only with hathach's commit due to limited resource on RPI4 if: github.repository_owner == 'hathach' needs: build-arm runs-on: [self-hosted, Linux, ARM64, rp2040] @@ -190,7 +190,8 @@ jobs: - name: Create flash.sh run: | - echo > flash.sh 'cmdout=$(openocd -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -c "program $1 reset exit")' + #echo > flash.sh 'cmdout=$(openocd -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -c "program $1 reset exit")' + echo > flash.sh 'pyocd flash -t rp2040 $1' echo >> flash.sh 'if (( $? )) ; then echo $cmdout ; fi' chmod +x flash.sh |
