-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66c45ef
commit 2c6fde1
Showing
1 changed file
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|