- 26 Nov, 2009 6 commits
-
-
David Brownell authored
There are two names that may matter on a per-target basis. One is a per-instance name (for example, "at91sam7s.cpu"). The other is the name of its type (for example, "arm7tdmi"), which is shared among multiple targets. Currently target_get_name() returns the type name, which is misleading and is rarely appropriate for target diagnostics. Rename that as target_type_name(). Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Lines of 300+ characters are still bad; debug tweaks. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
"OptimoDE DESS" is ARM's semicustom DSPish stuff. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
300+ characters is unreasonable. So is half that. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 25 Nov, 2009 34 commits
-
-
Zachary T Welch authored
Mention changes to flash bank command syntax, 'nand verify' command, command error handling and reporting, and help/usage command upgrades.
-
Zachary T Welch authored
Search and destroy lingering cases where the ARRAY_SIZE macro should be used to convey more intrinsic meaning in the OpenOCD code.
-
Zachary T Welch authored
Detect the OPENOCD_DEBUG_LEVEL setting in log_init(), allowing the very early startup phases to be debugged.
-
Zachary T Welch authored
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.
-
Zachary T Welch authored
Adds sections on command registration and chaining, giving an overview to developers that want to use these features.
-
Zachary T Welch authored
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.
-
Zachary T Welch authored
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.
-
Zachary T Welch authored
Eliminates duplicated code in script_command and handle_unknown_command. Fixes bug with duplicated help output generated by placeholder commands.
-
Zachary T Welch authored
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.
-
Zachary T Welch authored
Remove duplicated handler code by checking the running command name.
-
Zachary T Welch authored
Rewrite formatting code in C, removing last remenants of TCL help code. Sinificantly improves the readability by using smarter indent and wrap.
-
Zachary T Welch authored
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'.
-
Zachary T Welch authored
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.
-
Zachary T Welch authored
Adding jim_handler field to command_registration allows removing the register_jim helper. All command registrations now go through the register_command{,s}() functions.
-
Zachary T Welch authored
Save stack space: use a struct. Makes it easier to add new parameters.
-
Zachary T Welch authored
Converts callback to an array of command_registration records. Moves oocd_trace driver definition to end of file to eliminate useless forward declaration.
-
Zachary T Welch authored
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.
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-
Zachary T Welch authored
-