Loading README.md 0 → 100644 +2 −0 Original line number Diff line number Diff line # elphel-apps-tempmon Temperature monitoring script eclipse_project_setup/.externalToolBuilders/SCP apps-tempmon to target.launch 0 → 100644 +8 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType"> <booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/elphel-apps-tempmon/run_bitbake.sh}"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="apps-tempmon -c target_scp -f"/> <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/> </launchConfiguration> src/Makefile +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ PROGS = PHPCLI = CONFIGS = SRCS = imgsrv.py SRCS = tempmon.py OBJS = INSTALL = install Loading src/tempmon.py +2 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,8 @@ if __name__ == "__main__": out_path_pref = "" tm = temp_monitor(ctrl_path_pref, ctrl_fn, hwmon_path_pref, hwmon_fn, out_path_pref, out_fn) if tm.check_files(): # unconditionally turn the fan on to set the driver to a known state tm.fan_ctrl("on") tm.monitor() else: sys.exit(1) Loading Loading
README.md 0 → 100644 +2 −0 Original line number Diff line number Diff line # elphel-apps-tempmon Temperature monitoring script
eclipse_project_setup/.externalToolBuilders/SCP apps-tempmon to target.launch 0 → 100644 +8 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType"> <booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/elphel-apps-tempmon/run_bitbake.sh}"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="apps-tempmon -c target_scp -f"/> <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/> </launchConfiguration>
src/Makefile +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ PROGS = PHPCLI = CONFIGS = SRCS = imgsrv.py SRCS = tempmon.py OBJS = INSTALL = install Loading
src/tempmon.py +2 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,8 @@ if __name__ == "__main__": out_path_pref = "" tm = temp_monitor(ctrl_path_pref, ctrl_fn, hwmon_path_pref, hwmon_fn, out_path_pref, out_fn) if tm.check_files(): # unconditionally turn the fan on to set the driver to a known state tm.fan_ctrl("on") tm.monitor() else: sys.exit(1) Loading