Skip to content

Commit 969e0e0

Browse files
authored
[action] add cvitek/c906_little ci (#9901)
* [action] add cvitek/c906_little ci * Update bsp_buildings.yml * Update rtconfig.py
1 parent d9947e5 commit 969e0e0

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/bsp_buildings.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,10 @@ jobs:
346346
- "raspberry-pi/raspi4-64"
347347
#- "rockchip/rk3568" too long
348348
- "phytium/aarch64"
349+
- RTT_BSP: "xuantie-900"
350+
RTT_TOOL_CHAIN: "sourcery-Xuantie-900-gcc-elf"
351+
SUB_RTT_BSP:
352+
- "cvitek/c906_little"
349353
- RTT_BSP: "riscv-none"
350354
RTT_TOOL_CHAIN: "sourcery-riscv-none-embed"
351355
SUB_RTT_BSP:
@@ -438,7 +442,15 @@ jobs:
438442
sudo tar -xf gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf.tar.xz -C /opt
439443
/opt/gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf/bin/aarch64-none-elf-gcc --version
440444
echo "RTT_EXEC_PATH=/opt/gcc-arm-10.2-2020.11-x86_64-aarch64-none-elf/bin" >> $GITHUB_ENV
441-
445+
446+
- name: Install Xuantie-900-gcc-elf Tools
447+
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-Xuantie-900-gcc-elf' && success() }}
448+
run: |
449+
wget -q https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1705395512373/Xuantie-900-gcc-elf-newlib-x86_64-V2.8.1-20240115.tar.gz
450+
sudo tar -zxvf Xuantie-900-gcc-elf-newlib-x86_64-V2.8.1-20240115.tar.gz -C /opt
451+
/opt/Xuantie-900-gcc-elf-newlib-x86_64-V2.8.1/bin/riscv64-unknown-elf-gcc --version
452+
echo "RTT_EXEC_PATH=/opt/Xuantie-900-gcc-elf-newlib-x86_64-V2.8.1/bin" >> $GITHUB_ENV
453+
442454
- name: Install Mips ToolChains
443455
if: ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-mips' && success() }}
444456
shell: bash

bsp/cvitek/c906_little/rtconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@
6464

6565
DUMP_ACTION = OBJDUMP + ' -D -S $TARGET > rtt.asm\n'
6666
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
67-
POST_ACTION += 'cd .. && bash combine-fip.sh ' + os.getcwd() + ' rtthread.bin' + ' \n'
67+
#POST_ACTION += 'cd .. && bash combine-fip.sh ' + os.getcwd() + ' rtthread.bin' + ' \n'

0 commit comments

Comments
 (0)