Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
gen_version_h.py File Reference

Namespaces

namespace  gen_version_h
 

Variables

 gen_version_h.platform = env.PioPlatform()
 
 gen_version_h.framework_dir = platform.get_package_dir("framework-arduinoespressif32")
 
 gen_version_h.to_path = Path(framework_dir, 'tools/sdk/include/config')
 
 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.True
 
 gen_version_h.exist_ok
 
 gen_version_h.result = subprocess.run(['cp', str(from_path), str(to_path)], capture_output=True, check=True)
 
string gen_version_h._VERSION_NUM = '1.0.8'
 
string gen_version_h._VERSION_H = 'include/version.h'
 
string gen_version_h.commit_const = 'const char* commit_id = "unknown";'
 
 gen_version_h.commit_id = result.stdout.decode('ascii')
 
 gen_version_h.repo_branch = result.stdout.decode('ascii')
 
 gen_version_h.repo_status = result.stdout.decode('ascii').strip()
 
string gen_version_h.version_comps = _VERSION_NUM.split('.')