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

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('.')
 

Variable Documentation

◆ _VERSION_H

string gen_version_h._VERSION_H = 'include/version.h'
private

◆ _VERSION_NUM

string gen_version_h._VERSION_NUM = '1.0.8'
private

◆ commit_const

string gen_version_h.commit_const = 'const char* commit_id = "unknown";'

◆ commit_id

gen_version_h.commit_id = result.stdout.decode('ascii')

◆ exist_ok

gen_version_h.exist_ok

◆ framework_dir

gen_version_h.framework_dir = platform.get_package_dir("framework-arduinoespressif32")

◆ from_path

gen_version_h.from_path = Path(framework_dir, f'tools/sdk/{env["BOARD_MCU"]}/qout_qspi/include/sdkconfig.h')

◆ parents

gen_version_h.parents

◆ platform

gen_version_h.platform = env.PioPlatform()

◆ repo_branch

gen_version_h.repo_branch = result.stdout.decode('ascii')

◆ repo_status

string gen_version_h.repo_status = result.stdout.decode('ascii').strip()

◆ result

gen_version_h.result = subprocess.run(['cp', str(from_path), str(to_path)], capture_output=True, check=True)

◆ to_path

gen_version_h.to_path = Path(framework_dir, 'tools/sdk/include/config')

◆ True

gen_version_h.True

◆ version_comps

string gen_version_h.version_comps = _VERSION_NUM.split('.')