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

Build and Deploy Script #24

Merged
merged 2 commits into from
Aug 16, 2019
Merged

Build and Deploy Script #24

merged 2 commits into from
Aug 16, 2019

Conversation

tfromme
Copy link
Contributor

@tfromme tfromme commented Jan 17, 2019

This scripts allows for a quicker way for users to build and deploy their code to the robot. Instead of a really long mbed-cli command, use is now ./builddeploy [fname] where [fname] is an optional folder name. Without an argument, this script checks for mbed-greentea and if it is installed, will use it to deploy. If not, it will copy the compiled binary to the robot in the default location in the ubuntu filesystem on the lab computers. With an argument, the script ignores mbed-greentea and copies the compiled binary to that folder.

Example use-case for the optional [fname] argument: Windows Subsystem for Linux (WSL) does not support udev, which mbed-greentea uses. Users can mount the robot into the ubuntu filesystem then deploy to it from WSL using this argument.

@madhephaestus madhephaestus merged commit 7469ba0 into WPIRoboticsEngineering:master Aug 16, 2019
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.

2 participants