diff options
| author | WCX <[email protected]> | 2023-07-25 13:42:31 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-25 13:42:31 +0800 |
| commit | 0a6aaf12ad6801d6bd5caca82edcaca9977f5ff6 (patch) | |
| tree | 3d815e2aa017fed3dd8c06e34d0336fde2952f10 /.github | |
| parent | 7e5620edc3a8a8f3cccc75fab6dd8b05156256ed (diff) | |
[bsp][esp32-c3] Realization of scons compilation of ESP32-C3 | 实现ESP32-C3的scons编译 (#7821)
Co-authored-by: Supper Thomas <[email protected]>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/action.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 9ac03f6b7a..fdd1eacabd 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -303,7 +303,10 @@ jobs: RTT_TOOL_CHAIN: "gcc" SUB_RTT_BSP: - "simulator" - + - RTT_BSP: "ESP32C3" + RTT_TOOL_CHAIN: "sourcery-riscv32-esp32" + SUB_RTT_BSP: + - "ESP32_C3" steps: - uses: actions/checkout@v3 - name: Set up Python @@ -376,6 +379,15 @@ jobs: /opt/xpack-riscv-none-embed-gcc-8.3.0-2.3/bin/riscv-none-embed-gcc --version echo "RTT_EXEC_PATH=/opt/xpack-riscv-none-embed-gcc-8.3.0-2.3/bin" >> $GITHUB_ENV + - name: Install riscv32-esp-elf ToolChains + if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-riscv32-esp32' && success() }} + run: | + wget -q https://github.com/espressif/crosstool-NG/releases/download/esp-2022r1-RC1/riscv32-esp-elf-gcc11_2_0-esp-2022r1-RC1-linux-amd64.tar.xz + sudo tar xf riscv32-esp-elf-gcc11_2_0-esp-2022r1-RC1-linux-amd64.tar.xz -C /opt + /opt/riscv32-esp-elf/bin/riscv32-esp-elf-gcc --version + /usr/bin/pip install esptool + echo "RTT_EXEC_PATH=/opt/riscv32-esp-elf/bin" >> $GITHUB_ENV + - name: Install Simulator Tools if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'gcc' && success() }} run: | |
