{"id":16487747,"url":"https://github.com/fiam/msp-tool","last_synced_at":"2025-08-01T22:32:57.815Z","repository":{"id":66683314,"uuid":"121644509","full_name":"fiam/msp-tool","owner":"fiam","description":"Command line tool for streamlining MSP-based FC development","archived":false,"fork":false,"pushed_at":"2019-08-07T12:47:33.000Z","size":36,"stargazers_count":9,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-23T01:07:48.588Z","etag":null,"topics":["betaflight","inav","msp"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fiam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-15T15:18:57.000Z","updated_at":"2024-11-16T20:43:23.000Z","dependencies_parsed_at":"2023-02-22T18:01:01.390Z","dependency_job_id":null,"html_url":"https://github.com/fiam/msp-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiam%2Fmsp-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiam%2Fmsp-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiam%2Fmsp-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fiam%2Fmsp-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fiam","download_url":"https://codeload.github.com/fiam/msp-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228413881,"owners_count":17915914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["betaflight","inav","msp"],"created_at":"2024-10-11T13:35:44.634Z","updated_at":"2024-12-06T04:56:59.794Z","avatar_url":"https://github.com/fiam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# msp-tool\n\nmsp-tool is a command line tool for streamlining the \nwrite/compile/flash/debug cycle in MSP based flight controller firmwares.\n\nIt's regularly tested with both [iNAV](https://github.com/inavFlight/inav)\nand [Betaflight](https://github.com/betaflight/betaflight), but should work\nwith any other MSP based firwmare.\n\n## Installation from source\n\nmsp-tool is under development, so there are no binary releases at this time.\nInstead, developers should install it from its source.\n\nTo do so, install [Go](http://golang.org) in your system, then type the\nfollowing command:\n\n```sh\n  $ go get -v github.com/fiam/msp-tool\n```\n\nmsp-tool will be installed to ${GOPATH}/bin.\n\n## Using msp-tool\n\nTo start msp-tool, the only required argument is `-p`, which indicates the\nserial port it should open to connect to the flight controller. Once connected,\nit will print some information about the firmware and the board. For example:\n\n```\n$ msp-tool -p /dev/tty.usbmodem14211 \n\nConnected to /dev/tty.usbmodem14211 @ 115200bps. Press 'h' for help.\nMSP API version 2.1 (protocol 0)\nINAV 1.9.0 (board OBSD, target OMNIBUSF4PRO)\nBuild 2bcdc237 (built on Feb 16 2018 @ 23:16:49)\n[DEBUG] [     4.794] Barometer calibration complete (1931)\n[DEBUG] [     5.413] Gyro calibration complete (-37, 23, -46)\n```\n\nmsp-tool will automatically enable `DEBUG_TRACE` output from the FC and\nprint all output to the terminal. Additionally, it supports keyboard shortcuts\nfor the following functions:\n\n- **h:** Print the help with all the supported commands\n- **q:** Quit msp-tool\n- **r:** Reboot the board\n- **f:** Compile the firmware for the board, flash it and reboot (see **Flashing** below).\n\n## Flashing\nmsp-tool allows quickly rebuilding the firmware and flashing it to the board with\na single keystroke via the `f` shortcut. To do so, you need to tell msp-tool a couple\nmore things via command line arguments:\n\n- The root directory of the firmware source code, via the `-s` command line option.\nIts default value is `.` (the current directory), so it doesn't need to be provided\nif you're starting msp-tool from the same directory where the Makefile for the firmware\nis located.\n- The target name, via the `-t` command line option. Note that this is not needed\nin INAV 1.9+ and Betaflight 3.4+, since MSP_BOARD_INFO includes the target name and\nmsp-tool automatically detects it.\n\nFor example:\n\n```sh\n  $ msp-tool -p /dev/tty.usbmodem14211 -s ~/src/inav -t OMNIBUSF4PRO\n```\n\nNote that flashing requires `dfu-util` to be present in your $PATH, since it's used to\nactually download the firmware into the flight controller.\n\n## Additional command line options\nCall msp-tool with the `-h` argument to print a list of all the available\ncommand line options.\n\n\n## Getting in touch\nI'm usually idling in both INAV's and Betaflights's Slack rooms as **alberto**. Feel free to\nsend me a message if you'd like to discuss new features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiam%2Fmsp-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiam%2Fmsp-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiam%2Fmsp-tool/lists"}