Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
|
Variables | |
platform = env.PioPlatform() | |
framework_dir = platform.get_package_dir("framework-arduinoespressif32") | |
to_path = Path(framework_dir, 'tools/sdk/include/config') | |
from_path = Path(framework_dir, f'tools/sdk/{env["BOARD_MCU"]}/qout_qspi/include/sdkconfig.h') | |
parents | |
True | |
exist_ok | |
result = subprocess.run(['cp', str(from_path), str(to_path)], capture_output=True, check=True) | |
string | _VERSION_NUM = '1.0.8' |
string | _VERSION_H = 'include/version.h' |
string | commit_const = 'const char* commit_id = "unknown";' |
commit_id = result.stdout.decode('ascii') | |
repo_branch = result.stdout.decode('ascii') | |
repo_status = result.stdout.decode('ascii').strip() | |
string | version_comps = _VERSION_NUM.split('.') |
|
private |
|
private |
string gen_version_h.commit_const = 'const char* commit_id = "unknown";' |
gen_version_h.commit_id = result.stdout.decode('ascii') |
gen_version_h.exist_ok |
gen_version_h.framework_dir = platform.get_package_dir("framework-arduinoespressif32") |
gen_version_h.from_path = Path(framework_dir, f'tools/sdk/{env["BOARD_MCU"]}/qout_qspi/include/sdkconfig.h') |
gen_version_h.parents |
gen_version_h.platform = env.PioPlatform() |
gen_version_h.repo_branch = result.stdout.decode('ascii') |
string gen_version_h.repo_status = result.stdout.decode('ascii').strip() |
gen_version_h.result = subprocess.run(['cp', str(from_path), str(to_path)], capture_output=True, check=True) |
gen_version_h.to_path = Path(framework_dir, 'tools/sdk/include/config') |
gen_version_h.True |
string gen_version_h.version_comps = _VERSION_NUM.split('.') |