Skip to content

Commit 56ef51d

Browse files
committed
workflow: add litex_fomu to ci
This adds fomu and litex and fomu to build on ci. It requires downloading a riscv toolchain. Signed-off-by: Sean Cross <[email protected]>
1 parent 065441e commit 56ef51d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ jobs:
167167
- "feather_nrf52840_express"
168168
- "feather_radiofruit_zigbee"
169169
- "feather_stm32f405_express"
170+
- "fomu"
170171
- "gemma_m0"
171172
- "grandcentral_m4_express"
172173
- "hallowing_m0_express"
@@ -254,10 +255,13 @@ jobs:
254255
pip install requests sh click setuptools awscli
255256
wget https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
256257
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
258+
wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
259+
sudo tar -C /usr --strip-components=1 -xaf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
257260
- name: Versions
258261
run: |
259262
gcc --version
260263
arm-none-eabi-gcc --version
264+
riscv64-unknown-elf-gcc --version
261265
python3 --version
262266
- uses: actions/checkout@v1
263267
with:

tools/build_board_info.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
sys.path.append("adabot")
1313
import adabot.github_requests as github
1414

15-
SUPPORTED_PORTS = ["nrf", "atmel-samd", "stm", "cxd56", "mimxrt10xx"]
15+
SUPPORTED_PORTS = ["nrf", "atmel-samd", "stm", "cxd56", "mimxrt10xx", "litex"]
1616

1717
BIN = ('bin',)
1818
UF2 = ('uf2',)
@@ -32,6 +32,7 @@
3232
"stm": BIN,
3333
"cxd56": SPK,
3434
"mimxrt10xx": HEX_UF2,
35+
"litex": BIN,
3536
}
3637

3738
# Per board overrides

0 commit comments

Comments
 (0)