Commit Graph

32 Commits

Author SHA1 Message Date
Douglas Clowes
27ed29aea5 Allow SCT files to have numbers with a leading minus 2014-06-17 14:53:48 +10:00
Douglas Clowes
18d40f69d9 Make generated drivers log to "../log" instead of "/tmp" 2014-06-16 10:30:19 +10:00
Douglas Clowes
2517f71c67 Improve handling and logging for xxx_simulation case 2014-05-28 12:24:20 +10:00
Douglas Clowes
28ea3befb6 Allow setting driver debug_threshold in SCT file 2014-05-28 11:59:30 +10:00
Douglas Clowes
86673f6a8f Only require the IP and PORT in the config.ini if we will use them 2014-05-16 15:39:58 +10:00
Douglas Clowes
bf84f65e5a Changes to generated driver logging 2014-05-01 10:54:09 +10:00
Douglas Clowes
fd23ee2443 TCL mode, async{queue,protocol}, and reset line number
The TCL mode allows a begin/end construct and TCL code without the
    leading '@' characters.

    Add the function name to the hook code comments that are generated.

    Reset the line counter to 1 between driver modules for error reporting.
2014-05-01 10:54:09 +10:00
Douglas Clowes
6bca9566e3 Fix Double underscore bug in generated code
061f19a52e3c40e30add262db95cea57655b893b introduced an extra underscore
in the make_path function for un-named groups.
2014-04-17 13:43:57 +10:00
Douglas Clowes
6f0e0b80f8 Handle terminator and timeout attributes in sics_config.ini files 2014-04-16 09:44:20 +10:00
Douglas Clowes
53d6274e7d Add 'permlink' code to generated drivers 2014-04-14 14:25:11 +10:00
Douglas Clowes
76baa21f64 Generate code to auto-create devices based on the config file 2014-04-14 10:19:35 +10:00
Douglas Clowes
419da766c5 driveable=nxalias, add make_args to debug_log, don't suppress unreferenced
we might want to use unreferenced functions in hook code
2014-04-14 10:19:23 +10:00
Douglas Clowes
d9dad4dd88 Allow single and double quotes, expressions for values, @@NOSEND@@ 2014-04-14 10:19:06 +10:00
Douglas Clowes
8964750835 Implement "settle_time" in generated drivers 2014-03-24 10:21:28 +11:00
Douglas Clowes
0581b2b8e1 Allow for nested groups in gen_sct 2014-03-24 10:21:22 +11:00
Douglas Clowes
f257de6c34 Add implicit sdsinfo and nxalias properties. 2014-03-24 10:20:54 +11:00
Douglas Clowes
f44dc410cf Remove spurious file close from generated drivers 2014-03-24 10:13:19 +11:00
Douglas Clowes
9f8eabd3ec Implicit setting type to part/drivable if not set explicitly 2014-03-18 15:02:39 +11:00
Douglas Clowes
94e2e06f22 Wrap generated driver code in 'catch' and handle_exception blocks 2014-03-18 12:42:56 +11:00
Douglas Clowes
7269776484 Remove obsolete function no longer used 2014-03-18 10:17:29 +11:00
Douglas Clowes
ad06ef1711 Remove 'create_node' from driver generator and '*.sct' files
It wasn't in working condition nor was it being used in any drivers
2014-03-18 09:29:30 +11:00
Douglas Clowes
de575757e4 Implement "@@NOSEND@@" in generated drivers 2014-02-28 13:31:45 +11:00
Douglas Clowes
c0f4805a6c Add a PID function for each variable 2014-02-28 11:15:03 +11:00
Douglas Clowes
23c7b0f000 Fix for driveable/driving generated code 2014-02-28 09:04:39 +11:00
Douglas Clowes
91d0dc86f5 Spelling error in output message 2014-02-24 15:02:31 +11:00
Douglas Clowes
0ea068cc31 Generate code to report errors in script context hook code 2014-02-19 12:06:22 +11:00
Douglas Clowes
7f99daaf05 Implement driver, group and variable attributes/properties 2014-02-07 11:52:54 +11:00
Douglas Clowes
115965fbae Make the driveable interface tailorable and suppress unused code block 2014-02-07 11:52:54 +11:00
Douglas Clowes
a2120c79e8 Make args optional and fix some issues 2014-02-03 11:05:03 +11:00
Douglas Clowes
c2c7128245 Put the generated driver where we got the input 2014-01-30 17:22:09 +11:00
Douglas Clowes
172e69f9e3 Make gen_sct python program executable 2014-01-30 17:15:11 +11:00
Douglas Clowes
aebcd90f9b Python program to generate script context driver from a definition file 2014-01-30 13:17:55 +11:00