fitgen

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2015 License: MIT Imports: 14 Imported by: 0

README

fitgen

fitgen is a program that given a FIT profile generates Go code for fit. It takes as input the official FIT profile specification workbook and outputs Go type, message and profile definitions.

Consult the Wiki for information about profile generation.

fitgen has only been tested on Linux x86-64.

Prerequisites

  • $GOPATH set.
  • Python 3 available in $PATH (xlsx to csv conversion).
  • xlrd Python library (xlsx to csv conversion).
  • FIT SDK Zip file available.

Usage

usage: fitgenprofile [-keep] [path to sdk zip, xls or xlsx file]
  -jmptable
	use jump tables for profile message and field lookups, otherwise use switches (default true)
  -keep
	don't delete intermediary workbook and csv files from profile directory
  -sdk string
	provide or override SDK version printed in generated code

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL