Skip to content

Commit

Permalink
compiler/riscv64: Rename to make it more explicit
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kasjer committed Mar 8, 2024
1 parent df5e8c2 commit c68ddf0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion hw/bsp/hifive1/bsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c68ddf0

Please sign in to comment.