SAE Teensy ECU
IIT SAE Microcontroller programming
|
Generate configuration files for compilation, intellisense, and post operations. More...
Go to the source code of this file.
Classes | |
class | vs_conf.Settings |
Wrapper for settings JSON. More... | |
class | vs_conf.Settings.Option |
Key wrapper class. More... | |
class | vs_conf.PortPrinter |
Functions | |
str | vs_conf.comment_remover (str text) |
Remove C style comments from a str. | |
dict[str, str] | vs_conf.load_json () |
Load the settings JSON. | |
list[str] | vs_conf.serial_ports () |
Lists serial port names when on windows. | |
str | vs_conf.listify (Sequence seq) |
Convert sequence to a conventional string list. | |
None | vs_conf.writeBackup () |
Output the backup settings. | |
Settings | vs_conf.get_settings () |
Return the current settings or fallback to the backup. | |
vs_conf.main () | |
Main function. | |
Variables | |
str | vs_conf.SETTINGS_PATH = ".vscode/settings.json" |
str | vs_conf.DOCUMENTATION_URL = "https://illinois-tech-motorsports.github.io/IIT-SAE-ECU/md__github_workspace__c_o_n_t_r_i_b_u_t_i_n_g.html" |
str | vs_conf.TOOLCHAIN_REPO = "https://github.com/LeHuman/TeensyToolchain" |
str | vs_conf.BACKUP_SET |
Generate configuration files for compilation, intellisense, and post operations.
Definition in file vs_conf.py.
str vs_conf.comment_remover | ( | str | text | ) |
Remove C style comments from a str.
Args: text (str): str to remove comments from
Returns: str: text with removed comments
Definition at line 55 of file vs_conf.py.
Settings vs_conf.get_settings | ( | ) |
Return the current settings or fallback to the backup.
Returns: Settings: The active settings
Definition at line 337 of file vs_conf.py.
str vs_conf.listify | ( | Sequence | seq | ) |
Convert sequence to a conventional string list.
Args: seq (Sequence): Sequence object
Returns: str: the conventional string list
Definition at line 107 of file vs_conf.py.
dict[str, str] vs_conf.load_json | ( | ) |
Load the settings JSON.
Returns: dict[str, str]: the JSON as a dict
Definition at line 77 of file vs_conf.py.
vs_conf.main | ( | void | ) |
Main function.
Definition at line 353 of file vs_conf.py.
list[str] vs_conf.serial_ports | ( | ) |
Lists serial port names when on windows.
Returns: list[str]: A list of the serial ports available on a win system
Definition at line 88 of file vs_conf.py.
None vs_conf.writeBackup | ( | ) |
Output the backup settings.
Definition at line 331 of file vs_conf.py.
str vs_conf.BACKUP_SET |
Definition at line 27 of file vs_conf.py.
str vs_conf.DOCUMENTATION_URL = "https://illinois-tech-motorsports.github.io/IIT-SAE-ECU/md__github_workspace__c_o_n_t_r_i_b_u_t_i_n_g.html" |
Definition at line 24 of file vs_conf.py.
str vs_conf.SETTINGS_PATH = ".vscode/settings.json" |
Definition at line 23 of file vs_conf.py.
str vs_conf.TOOLCHAIN_REPO = "https://github.com/LeHuman/TeensyToolchain" |
Definition at line 25 of file vs_conf.py.