Skip to content

Conversation

@yannishuber
Copy link
Contributor

This PR adds target definitions for both 32 and 64-bit RISC-V chips.

#1149

Copy link
Member

@aykevl aykevl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

"build-tags": ["tinygo.riscv64"],
"cflags": [
"--target=riscv64--none",
"-march=rv64gc",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming RV64GC is a big assumption but I'm fine with it for now (it can always be changed). The riscv32.json makes a similar assumption.

@aykevl aykevl merged commit 2396c22 into tinygo-org:dev Jun 8, 2020
@niaow niaow added this to the v0.14 milestone Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants