This is an automated email from the ASF dual-hosted git repository. jerzy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push: new c68ddf0d4 compiler/riscv64: Rename to make it more explicit c68ddf0d4 is described below commit c68ddf0d4a8def8044aed2dfbcbe80c7e8294b24 Author: Jerzy Kasenberg <jerzy.kasenb...@codecoup.pl> AuthorDate: Fri Mar 8 15:05:26 2024 +0100 compiler/riscv64: Rename to make it more explicit Compiler name was to generic and could lead to misunderstanding of which compiler to use. Current setting -march=rv32imac selects works with SiFive provided compiler only. To use this with more strict version one should use -march=rv32imaczicsr in comman line to enable support to enable required extension that SiFive compiler implies. --- compiler/{riscv64 => riscv64-unknown-elf-sifive}/compiler.yml | 0 compiler/{riscv64 => riscv64-unknown-elf-sifive}/pkg.yml | 2 +- hw/bsp/hifive1/bsp.yml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/riscv64/compiler.yml b/compiler/riscv64-unknown-elf-sifive/compiler.yml similarity index 100% rename from compiler/riscv64/compiler.yml rename to compiler/riscv64-unknown-elf-sifive/compiler.yml diff --git a/compiler/riscv64/pkg.yml b/compiler/riscv64-unknown-elf-sifive/pkg.yml similarity index 95% rename from compiler/riscv64/pkg.yml rename to compiler/riscv64-unknown-elf-sifive/pkg.yml index f4481b9c3..9d01e24c4 100644 --- a/compiler/riscv64/pkg.yml +++ b/compiler/riscv64-unknown-elf-sifive/pkg.yml @@ -17,7 +17,7 @@ # under the License. # -pkg.name: compiler/riscv64 +pkg.name: compiler/riscv64-unknown-elf-sifive pkg.type: compiler pkg.description: Compiler definition for riscv64 gcc compiler. pkg.author: "Apache Mynewt <d...@mynewt.apache.org>" diff --git a/hw/bsp/hifive1/bsp.yml b/hw/bsp/hifive1/bsp.yml index 855076762..46b480594 100644 --- a/hw/bsp/hifive1/bsp.yml +++ b/hw/bsp/hifive1/bsp.yml @@ -21,7 +21,7 @@ bsp.name: "HiFive1" bsp.url: https://www.sifive.com/boards/hifive1 bsp.maker: "SiFive" bsp.arch: rv32imac -bsp.compiler: compiler/riscv64 +bsp.compiler: compiler/riscv64-unknown-elf-sifive bsp.linkerscript: - "hw/bsp/hifive1/hifive1_app.ld" - "hw/bsp/hifive1/hifive1.ld"