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

Make flashing simpler with Pipenv #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joestump
Copy link

@joestump joestump commented Nov 5, 2022

Came across these instructions and thought I'd make this a little simpler.

Copy link

@vincele vincele left a 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:
Copy link

Choose a reason for hiding this comment

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

Suggested change
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.
Copy link

Choose a reason for hiding this comment

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

Suggested change
**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.

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