|
clang 24.0.0git
|
Functions | |
| csv2def (str csv_path, str def_path) | |
Variables | |
| int | DEVICE_COLUMN = 0 |
| int | CPU_COLUMN = 1 |
| int | MULTIPLIER_COLUMN = 3 |
| dict | CPUS = {"0": "msp430", "1": "msp430x", "2": "msp430xv2"} |
| dict | MULTIPLIERS |
| str | PREFIX |
| str | SUFFIX |
| gen-msp430-def.csv2def | ( | str | csv_path, |
| str | def_path ) |
Parse the devices.csv file at the given path, generate the definitions and write them to the given path. :param csv_path: Path to the devices.csv to parse :type csv_path: str :param def_path: Path to the output file to write the definitions to "type def_path: str
Definition at line 103 of file gen-msp430-def.py.
References csv2def().
Referenced by csv2def().
| int gen-msp430-def.CPU_COLUMN = 1 |
Definition at line 40 of file gen-msp430-def.py.
| dict gen-msp430-def.CPUS = {"0": "msp430", "1": "msp430x", "2": "msp430xv2"} |
Definition at line 43 of file gen-msp430-def.py.
| int gen-msp430-def.DEVICE_COLUMN = 0 |
Definition at line 39 of file gen-msp430-def.py.
| int gen-msp430-def.MULTIPLIER_COLUMN = 3 |
Definition at line 41 of file gen-msp430-def.py.
| dict gen-msp430-def.MULTIPLIERS |
Definition at line 44 of file gen-msp430-def.py.
| str gen-msp430-def.PREFIX |
Definition at line 52 of file gen-msp430-def.py.
| str gen-msp430-def.SUFFIX |
Definition at line 95 of file gen-msp430-def.py.