Skip to content

Commit

Permalink
updated to chip directory in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
itzandroidtab committed Apr 6, 2024
1 parent 85381e3 commit fb5bd2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
- name: generating header
run: |
mkdir -p ${{github.workspace}}/klib/targets/${{matrix.cpu}}/docs
wget -q -O ${{github.workspace}}/klib/targets/${{matrix.cpu}}/docs/${{matrix.cpu}}.svd https://raw.githubusercontent.com/itzandroidtab/klib-svd/master/${{matrix.cpu}}.svd
mkdir -p ${{github.workspace}}/klib/targets/chip/${{matrix.cpu}}/docs
wget -q -O ${{github.workspace}}/klib/targets/chip/${{matrix.cpu}}/docs/${{matrix.cpu}}.svd https://raw.githubusercontent.com/itzandroidtab/klib-svd/master/${{matrix.cpu}}.svd
wget -q -O ${{github.workspace}}/svdconv.tbz2 https://github.com/Open-CMSIS-Pack/devtools/releases/download/tools%2Fsvdconv%2F3.3.44/svdconv-3.3.44-linux64-amd64.tbz2
tar -xf ${{github.workspace}}/svdconv.tbz2
chmod +x ${{github.workspace}}/svdconv
${{github.workspace}}/svdconv ${{github.workspace}}/klib/targets/${{matrix.cpu}}/docs/${{matrix.cpu}}.svd --generate=header -o ${{github.workspace}}/klib/targets/${{matrix.cpu}}/ > /dev/null || true
sed -i '/#include "system_/d' ${{github.workspace}}/klib/targets/${{matrix.cpu}}/${{matrix.cpu}}.h
${{github.workspace}}/svdconv ${{github.workspace}}/klib/targets/chip/${{matrix.cpu}}/docs/${{matrix.cpu}}.svd --generate=header -o ${{github.workspace}}/klib/targets/chip/${{matrix.cpu}}/ > /dev/null || true
sed -i '/#include "system_/d' ${{github.workspace}}/klib/targets/chip/${{matrix.cpu}}/${{matrix.cpu}}.h
- name: arm-none-eabi-gcc install
uses: carlosperate/[email protected]
Expand Down

0 comments on commit fb5bd2c

Please sign in to comment.