1. 15 Jan, 2012 8 commits
  2. 13 Jan, 2012 1 commit
  3. 12 Jan, 2012 15 commits
  4. 09 Jan, 2012 8 commits
  5. 07 Jan, 2012 1 commit
  6. 04 Jan, 2012 6 commits
    • Mathias K's avatar
      Change return value on error. · 16b6b5e7
      Mathias K authored
      
      
      On wrong parameters a error is signalized to the calling function.
      
      Change-Id: I484443fdb39938e20382edc9246d5ec546a5c960
      Signed-off-by: default avatarMathias K <kesmtp@freenet.de>
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Reviewed-on: http://openocd.zylin.com/282
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      16b6b5e7
    • Spencer Oliver's avatar
      stlink: update to use ERROR_COMMAND_SYNTAX_ERROR · 42cb62cf
      Spencer Oliver authored
      
      
      Change-Id: I21b669b09df65b56659d2f057cf389ba7b1cecfa
      Signed-off-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      Reviewed-on: http://openocd.zylin.com/335
      
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Tested-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      42cb62cf
    • Øyvind Harboe's avatar
      flash: introduce .usage field for nand and nor flash driver structure · ae7ab8b0
      Øyvind Harboe authored
      
      
      Change-Id: I47e7ec8fa8c70d2addc3aa52d7c97e9e1e7bb662
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Reviewed-on: http://openocd.zylin.com/301
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      ae7ab8b0
    • Øyvind Harboe's avatar
      retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR · 4668bd26
      Øyvind Harboe authored
      
      
      Change-Id: I6dee51e1fab1944085391f274a343cdb9014c7a4
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Reviewed-on: http://openocd.zylin.com/300
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      4668bd26
    • Mathias K's avatar
      command: print BUG warning when usage is missing · 54d6330b
      Mathias K authored
      
      
      These error messages will prompt patches to be submitted for missing
      .usage or empty fields. All of the below must be resolved before next
      release.
      
      The Jim defined commands are excluded from this checklist because the
      help text can be set later than during command registration.
      
      strlen(.usage) == 0 means that the command expects no arguments.
      
      Updates to this patch in Gerrit to fix problems below are most
      welcome. Anyone can push updated versions of a patch to Gerrit. If
      there are no further updates to this patch within a week, it will be
      pushed to the master branch to prompt more fixes.
      
      These were caught by launching OpenOCD.
      
      Error: BUG: command 'command' does not have the '.usage' field filled out
      Error: BUG: command 'script' does not have the '.usage' field filled out
      Error: BUG: command 'power_restore' does not have the '.usage' field filled out
      Error: BUG: command 'srst_deasserted' does not have the '.usage' field filled out
      Error: BUG: command 'measure_clk' does not have the '.usage' field filled out
      Error: BUG: command 'exit' does not have the '.usage' field filled out
      Error: BUG: command 'shutdown' does not have the '.usage' field filled out
      Error: BUG: command 'gdb_sync' does not have the '.usage' field filled out
      Error: BUG: command 'interface_list' does not have the '.usage' field filled out
      Error: BUG: command 'target' does not have the '.usage' field filled out
      Error: BUG: command 'target init' does not have the '.usage' field filled out
      Error: BUG: command 'flash' does not have the '.usage' field filled out
      Error: BUG: command 'flash init' does not have the '.usage' field filled out
      Error: BUG: command 'flash banks' does not have the '.usage' field filled out
      Error: BUG: command 'nand' does not have the '.usage' field filled out
      Error: BUG: command 'nand drivers' does not have the '.usage' field filled out
      Error: BUG: command 'nand init' does not have the '.usage' field filled out
      Error: BUG: command 'pld' does not have the '.usage' field filled out
      Error: BUG: command 'pld init' does not have the '.usage' field filled out
      Error: BUG: command 'mflash' does not have the '.usage' field filled out
      Error: BUG: command 'mflash init' does not have the '.usage' field filled out
      Error: BUG: command 'dummy' does not have the '.usage' field filled out
      Error: BUG: command 'dummy foo' does not have the '.usage' field filled out
      Error: BUG: command 'scan_chain' does not have the '.usage' field filled out
      Error: BUG: command 'jtag' does not have the '.usage' field filled out
      Error: BUG: command 'jtag init' does not have the '.usage' field filled out
      Error: BUG: command 'arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'etm' does not have the '.usage' field filled out
      Error: BUG: command 'arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu etm' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'target_request' does not have the '.usage' field filled out
      ^C
      oyvind@fierce:~/openocd$ openocd -c "interface dummy" -f board/at91eb40a.cfg 2>&1 | grep -w BUG
      Error: BUG: command 'command' does not have the '.usage' field filled out
      Error: BUG: command 'script' does not have the '.usage' field filled out
      Error: BUG: command 'power_restore' does not have the '.usage' field filled out
      Error: BUG: command 'srst_deasserted' does not have the '.usage' field filled out
      Error: BUG: command 'measure_clk' does not have the '.usage' field filled out
      Error: BUG: command 'exit' does not have the '.usage' field filled out
      Error: BUG: command 'shutdown' does not have the '.usage' field filled out
      Error: BUG: command 'gdb_sync' does not have the '.usage' field filled out
      Error: BUG: command 'interface_list' does not have the '.usage' field filled out
      Error: BUG: command 'target' does not have the '.usage' field filled out
      Error: BUG: command 'target init' does not have the '.usage' field filled out
      Error: BUG: command 'flash' does not have the '.usage' field filled out
      Error: BUG: command 'flash init' does not have the '.usage' field filled out
      Error: BUG: command 'flash banks' does not have the '.usage' field filled out
      Error: BUG: command 'nand' does not have the '.usage' field filled out
      Error: BUG: command 'nand drivers' does not have the '.usage' field filled out
      Error: BUG: command 'nand init' does not have the '.usage' field filled out
      Error: BUG: command 'pld' does not have the '.usage' field filled out
      Error: BUG: command 'pld init' does not have the '.usage' field filled out
      Error: BUG: command 'mflash' does not have the '.usage' field filled out
      Error: BUG: command 'mflash init' does not have the '.usage' field filled out
      Error: BUG: command 'dummy' does not have the '.usage' field filled out
      Error: BUG: command 'dummy foo' does not have the '.usage' field filled out
      Error: BUG: command 'scan_chain' does not have the '.usage' field filled out
      Error: BUG: command 'jtag' does not have the '.usage' field filled out
      Error: BUG: command 'jtag init' does not have the '.usage' field filled out
      Error: BUG: command 'arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'etm' does not have the '.usage' field filled out
      Error: BUG: command 'arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu etm' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'target_request' does not have the '.usage' field filled out
      
      Change-Id: I2c3e529530a15d2295a1950ffc59e8f2fc661012
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Signed-off-by: default avatarMathias K <kesmtp@freenet.de>
      Reviewed-on: http://openocd.zylin.com/299
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      54d6330b
    • Spencer Oliver's avatar
      build: fix make dist · 59cd1c89
      Spencer Oliver authored
      
      
      add missing files to distribution after previous commit.
      
      Change-Id: I0e4b278c090c71d15dd059b6755c9821427cc8ab
      Signed-off-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      Reviewed-on: http://openocd.zylin.com/332
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarMathias Küster <kesmtp@freenet.de>
      59cd1c89
  7. 03 Jan, 2012 1 commit