Skip to content

Commit

Permalink
Update generate_firmware.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
silabs-bingocth authored Oct 1, 2024
1 parent 66c45ef commit 2c6fde1
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/generate_firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,25 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]

- name: Generate Firmware
with:
ref: create-unit-test-functions-in-lib-iec60730
- name: Prepare environment
run: |
export TOOL_DIRS=/home/sqa/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/10.3_2021.10/bin
pwd
curl -o slc_cli_linuz.zip -L https://www.silabs.com/documents/login/software/slc_cli_linux.zip
tar -xzf ./slc_cli_linux.zip
export PATH="$PWD/slc_cli_linux/slc_cli/:$PATH"
wget https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz
export SDK_PATH=~/SimplicityStudio/SDKs/gecko_sdk
export TOOL_DIRS=~/Downloads/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
export TOOL_CHAINS=GCC
export START_ADDR_FLASH=0x8000000
slc configuration --sdk=$SDK_PATH --gcc-toolchain=/Applications/ARM
cd make
make clean_all
make build COMPONENT=cpu_registers DERIVATIVE=efr32mg21a020f1024im32 NON_SECURE_EN=false APP_SECURE=true
ls -la
chmod -R 777 .
cd Test/
cd ..
ls -la
./generate_fw.sh $COMMAND $COMPONENT $PLATFORM $COMPILER $SECURITY
- name: Upload artifact
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 2c6fde1

Please sign in to comment.