-
Notifications
You must be signed in to change notification settings - Fork 181
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
Make flashing simpler with Pipenv #130
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
But I don't know pipenv though
@@ -71,6 +71,16 @@ The script will automatically select the first serial looking port from a USB to | |||
Before uploading your image make sure you start the boot loader on the SoC (`select` + `reset` on CC2538DK). | |||
You can find more info on the different options by executing `python cc2538-bsl.py -h`. | |||
|
|||
#### Pipenv | |||
|
|||
If you are using Pipenv, you an flash a device with the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are using Pipenv, you an flash a device with the following command: | |
If you are using Pipenv, you can flash a device with the following command: |
pipenv run flash /path/to/CC2652RB_coordinator_20220219.hex | ||
``` | ||
|
||
**NOTE:** You can pass `-p /dev/cu.usbserial-1120` if your device is not auto-detected. Your `.hex` file path/name may be different. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**NOTE:** You can pass `-p /dev/cu.usbserial-1120` if your device is not auto-detected. Your `.hex` file path/name may be different. | |
**NOTE:** If your device is not auto-detected, you can choose the right one with the `-p` command-line option, for example: `-p /dev/cu.usbserial-1120` . Your `*.hex` file path/name may be different. |
Came across these instructions and thought I'd make this a little simpler.