Skip to content

Commit

Permalink
fix: 更换hpm sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfSweet committed Jan 2, 2025
1 parent 41b5ad1 commit 00e503d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/HSLinkPro-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install HPM SDK
run: |
cd ~
git clone https://github.com/hpmicro/sdk_env.git --recursive
git clone https://github.com/hpmicro/hpm_sdk.git --recursive
- name: Create Python Venv
run: |
Expand All @@ -41,8 +41,7 @@ jobs:
- name: Build bootloader
run: |
cd projects/HSLink-Pro/bootloader
export HPM_SDK_BASE=~/sdk_env/hpm_sdk
export GNURISCV_TOOLCHAIN_PATH=~/risv32-unknown-elf
export HPM_SDK_BASE=~/hpm_sdk
export HPM_SDK_TOOLCHAIN_VARIANT=gcc
export PYTHON_EXECUTABLE=~/HPM_PYTHON/bin/python3
Expand All @@ -52,8 +51,7 @@ jobs:
- name: Build APP
run: |
cd projects/HSLink-Pro/src
export HPM_SDK_BASE=~/sdk_env/hpm_sdk
export GNURISCV_TOOLCHAIN_PATH=~/risv32-unknown-elf
export HPM_SDK_BASE=~/hpm_sdk
export HPM_SDK_TOOLCHAIN_VARIANT=gcc
export PYTHON_EXECUTABLE=~/HPM_PYTHON/bin/python3
Expand Down

0 comments on commit 00e503d

Please sign in to comment.