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

Tools: uploader.py: print board name as well as board id #14411

Merged
merged 1 commit into from
May 26, 2020

Conversation

peterbarker
Copy link
Contributor

This only works from the root directory. Do people invoke waf elsewhere?

@peterbarker
Copy link
Contributor Author

Example output (look under "Info" towards the bottom):

pbarker@bluebottle:~/rc/ardupilot(pr/board-name)$ ./Tools/scripts/uploader.py --identify
If the board does not respond within 1-2 seconds, unplug and re-plug the USB connector.
Found board 88,0 bootloader rev 5 on /dev/serial/by-id/usb-mRo_X2.1-777_1B0031000351373236383732-if00
Bootloader Protocol: 5
OTP:
  type: ÿÿÿÿ
  idtype: =FF
  vid: ffffffff
  pid: ffffffff
  coa: //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8=
  sn: 0031001b3237510332373836
ChipDes:
  family: STM32F7[6|7]x
  revision: Z
Chip:
  STM32F76x_77x 10016451
Info:
  flash size: 1998848
  board_type: 136 (mRoX21-777)
  board_rev: 0
Identification complete
pbarker@bluebottle:~/rc/ardupilot(pr/board-name)$ 

@Hwurzburg
Copy link
Collaborator

Hwurzburg commented May 20, 2020

by root do you mean ardupilot?the directory that contains the clone, that is where I always invoke it...that's where git is tracking for me.....I build with ./waf plane --upload

@peterbarker
Copy link
Contributor Author

@Hwurzburg yes, I should have said, "root directory of the ArduPilot git repository checkout" rather than relying on context.

Tools/scripts/uploader.py Outdated Show resolved Hide resolved
@peterbarker peterbarker merged commit 539e73e into ArduPilot:master May 26, 2020
@peterbarker peterbarker deleted the pr/board-name branch May 26, 2020 04:14
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.

None yet

4 participants