Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-25 | support OPENOCD_DEBUG_LEVEL environment setting | Zachary T Welch | |
Detect the OPENOCD_DEBUG_LEVEL setting in log_init(), allowing the very early startup phases to be debugged. | |||
2009-11-25 | log: improve initialization | Zachary T Welch | |
Removes redundant assignment of start_ms from log_register_commands(). Eliminates command_context parameter and return value. Adds Doxygen comment block for this API call. | |||
2009-11-25 | add 'testee' target type | Zachary T Welch | |
Alliteration aside, this should provide the final piece of the puzzle for developers that want to get started writing a new target type. In this way, it also seeks to complement the 'dummy' interface driver and 'faux' NOR flash driver. | |||
2009-11-25 | improve command handling examples | Zachary T Welch | |
Removes hello and foo commands from top-level registration. Instead, the dummy interface driver and faux flash driver have been augmented to register these commands as sub-commands. | |||
2009-11-25 | add script_command_run helper | Zachary T Welch | |
Eliminates duplicated code in script_command and handle_unknown_command. Fixes bug with duplicated help output generated by placeholder commands. | |||
2009-11-25 | encapsulate and re-use log capture, retval setup | Zachary T Welch | |
Factors log capture while running script commands, eliminating duplicated code between script_command and jim_capture. Factors setting a command's Jim "retval" into a new helper as well. Using these new helpers in the new unknown command handler's fixes possible regressions caused by these bits being missing. | |||
2009-11-25 | combine help and usage command handlers | Zachary T Welch | |
Remove duplicated handler code by checking the running command name. | |||
2009-11-24 | improve usage and help command output | Zachary T Welch | |
Rewrite formatting code in C, removing last remenants of TCL help code. Sinificantly improves the readability by using smarter indent and wrap. | |||
2009-11-24 | allow scripts to update usage information | Zachary T Welch | |
The add_usage_text command uses the same C handler, which was updated to support its new polymorphic role. This patch updates the two script commands that needed this support: 'find' and 'script'. | |||
2009-11-24 | httpd: use register_commands() | Zachary T Welch | |
Updates httpd_start() to use register_commands() for 'readform' and 'writeform' commands. Adds server/httpd.h to export the new signatures for this function (and httpd_stop), which allows removing the obsoleted declarations inside openocd.c. | |||
2009-11-24 | add jim_handler to command_registration | Zachary T Welch | |
Adding jim_handler field to command_registration allows removing the register_jim helper. All command registrations now go through the register_command{,s}() functions. | |||
2009-11-24 | refactor command_new to use command_registration | Zachary T Welch | |
Save stack space: use a struct. Makes it easier to add new parameters. | |||
2009-11-24 | remove register_commands from etm_capture_driver | Zachary T Welch | |
Converts callback to an array of command_registration records. Moves oocd_trace driver definition to end of file to eliminate useless forward declaration. | |||
2009-11-24 | remove target_type register_command callback | Zachary T Welch | |
Uses chaining of command_registration structures to eliminate all target_type register_callback routines. Exports the command_handler registration arrays for those target types that are used by others. | |||
2009-11-24 | xscale: use register_commands() | Zachary T Welch | |
2009-11-24 | trace: use register_commands() | Zachary T Welch | |
2009-11-24 | target_request: use register_commands() | Zachary T Welch | |
2009-11-24 | target: use register_commands() | Zachary T Welch | |
2009-11-24 | oocd_trace: use register_commands() | Zachary T Welch | |
2009-11-24 | etm_dummy: use register_commands() | Zachary T Welch | |
2009-11-24 | etm: use register_commands() | Zachary T Welch | |
2009-11-24 | etb: use register_commands() | Zachary T Welch | |
2009-11-24 | cortex_m3: use register_commands() | Zachary T Welch | |
2009-11-24 | cortex_a8: use register_commands() | Zachary T Welch | |
2009-11-24 | armv7m: use register_commands() | Zachary T Welch | |
2009-11-24 | armv7a: use register_commands() | Zachary T Welch | |
2009-11-24 | armv4_5: use register_commands() | Zachary T Welch | |
2009-11-24 | arm9tdmi: use register_commands() | Zachary T Welch | |
2009-11-24 | arm966e: use register_commands() | Zachary T Welch | |
2009-11-24 | arm926ejs: use register_commands() | Zachary T Welch | |
2009-11-24 | arm920t: use register_commands() | Zachary T Welch | |
2009-11-24 | arm7_9_common: use register_commands() | Zachary T Welch | |
2009-11-24 | arm720t: use register_commands() | Zachary T Welch | |
2009-11-24 | arm11: use register_commands() | Zachary T Welch | |
2009-11-24 | remove nand_controller->register_callbacks | Zachary T Welch | |
Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands. | |||
2009-11-24 | remove flash_driver->register_callbacks | Zachary T Welch | |
Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands. | |||
2009-11-24 | tms470: use register_commands() | Zachary T Welch | |
2009-11-24 | str9xpec: use register_commands() | Zachary T Welch | |
2009-11-24 | str9x: use register_commands() | Zachary T Welch | |
2009-11-24 | str7x: use register_commands() | Zachary T Welch | |
2009-11-24 | stm32x: use register_commands() | Zachary T Welch | |
2009-11-24 | stellaris: use register_commands() | Zachary T Welch | |
2009-11-24 | pic32mx: use register_commands() | Zachary T Welch | |
2009-11-24 | nand: use register_commands() | Zachary T Welch | |
Eliminates 'nand_cmd' global variable. | |||
2009-11-24 | mflash: use register_commands() | Zachary T Welch | |
2009-11-24 | lpc3180_nand_controller: use register_commands() | Zachary T Welch | |
2009-11-24 | lpc2900: use register_commands() | Zachary T Welch | |
2009-11-24 | lpc2000: use register_commands() | Zachary T Welch | |
2009-11-24 | flash: use register_commands() | Zachary T Welch | |
Eliminates 'flash_cmd' global variable. | |||
2009-11-24 | ecos: use register_commands() | Zachary T Welch | |