Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a cargo frc init project generator #82

Open
Lytigas opened this issue Nov 12, 2019 · 4 comments · May be fixed by #92
Open

Add a cargo frc init project generator #82

Lytigas opened this issue Nov 12, 2019 · 4 comments · May be fixed by #92
Labels
cargo-frc Pertaining to the `cargo frc` subcommand enhancement New feature or request

Comments

@Lytigas
Copy link
Collaborator

Lytigas commented Nov 12, 2019

Could also add something like cargo frc configure that will search for an FRC compiler and install it for you.

@auscompgeek auscompgeek added cargo-frc Pertaining to the `cargo frc` subcommand duplicate This issue or pull request already exists enhancement New feature or request and removed duplicate This issue or pull request already exists labels Nov 24, 2019
@grebneerg
Copy link
Member

I'd like to take a stab at implementing this.

@grebneerg
Copy link
Member

For cargo frc configure, we will either need to either need to edit the user's global cargo config file when we install or somehow store the install location to place in individual project cargo configs. The second option sounds more user friendly to me, but increases complexity significantly. Anyone have any thoughts on this?

Additionally, do we want to do anything to support multiple toolchain versions?

@auscompgeek
Copy link
Member

We should install the FRC toolchain in the standard place (~/wpilib/$YEAR) and point project cargo configs to whatever arm-frc$YEAR-linux-gnueabi-gcc we can find, if you ask me.

@auscompgeek
Copy link
Member

Although… I feel the alternative of #87 would be better. Then we don't break if .cargo/config is checked into git, and it opens up the possibility of running simulation too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cargo-frc Pertaining to the `cargo frc` subcommand enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants