Change toolchain from SiFive to xPack

This commit is contained in:
Lup Yuen Lee 2024-10-02 09:39:27 +08:00 committed by GitHub
parent 5732778b39
commit b52654b170
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,7 @@ jobs:
cat nuttx.hash
## Show the GCC version
riscv64-unknown-elf-gcc -v
riscv-none-elf-gcc -v
## Configure the build
tools/configure.sh ox64:nsh
@ -74,7 +74,7 @@ jobs:
make
## Export the Binary Image to nuttx.bin
riscv64-unknown-elf-objcopy \
riscv-none-elf-objcopy \
-O binary \
nuttx \
nuttx.bin
@ -97,10 +97,10 @@ jobs:
>Image
## Show the size
riscv64-unknown-elf-size nuttx
riscv-none-elf-size nuttx
## Dump the disassembly to nuttx.S
riscv64-unknown-elf-objdump \
riscv-none-elf-objdump \
--syms --source --reloc --demangle --line-numbers --wide \
--debugging \
nuttx \
@ -108,7 +108,7 @@ jobs:
2>&1
## Dump the init disassembly to init.S
riscv64-unknown-elf-objdump \
riscv-none-elf-objdump \
--syms --source --reloc --demangle --line-numbers --wide \
--debugging \
../apps/bin/init \
@ -116,7 +116,7 @@ jobs:
2>&1
## Dump the hello disassembly to hello.S
riscv64-unknown-elf-objdump \
riscv-none-elf-objdump \
--syms --source --reloc --demangle --line-numbers --wide \
--debugging \
../apps/bin/hello \