Commit Graph

77 Commits

Author SHA1 Message Date
Øyvind Harboe 8f779cf66b tcl: remove silly ocd_ prefix to array2mem and mem2array
ocd_ prefix is used internally in OpenOCD as a kludge more
or less to deal with the two kinds of commands that OpenOCD
has.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-08-11 17:24:55 +02:00
Spencer Oliver 57fc63f9f1 cm3-ftest: change to use arm disassemble
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-02-28 22:52:06 +00:00
Edgar Grimberg bef37ceba2 Test cases ran on v0.4.0-rc1
Test cases ran on v0.4.0-rc1 for a number of targets:
AT91FR40162
LPC2148
SAM7
STR710
STR912

The goal of the testing session was to prove basic functionality of OpenOCD for different targets.

Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
2010-02-01 15:44:06 +01:00
David Brownell 30365886da various: don't mention wiki
The openfacts.berlios wiki isn't particularly current, and isn't
publicly editable.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-26 18:13:10 -08:00
David Brownell 2a0c9b08d7 Cortex-M3 vector_catch testing support
The "cm3-ftest.cfg" can be used to verify that OpenOCD handles
certain faults correctly:

 - Test #1: it ignores faults that it wasn't told to catch
 - Test #2: if vector_catch is told to catch, it catches

The "fault.c" generates ASM code to trigger faults, while the
config script loads and runs pre-compiled code.

This covers most, but not all, of the vector_catch options.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2010-01-20 11:07:42 -08:00
Øyvind Harboe 87cb29dcfe testing: fix str710 test case now builds
Make the test case easily adjustable in size. str710
has very peculiar flash sector layout, nice for testing,
but a larget test_rom.elf is required.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-01-20 15:12:31 +01:00
Antonio Borneo 7c5acf8660 whitespace cleanup, mostly for docs
Remove useless space/tab at end of lines.
Remove spaces in indentation and replace with tab.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-30 11:51:29 -08:00
David Brownell 80a757d82e testing/examples/.../*cfg: rm jtag_device calls
That syntax has been obsolete forever and is now gone; remove a few
remaining references.  Shows how seldom this stuff gets used.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-15 14:45:26 -08:00
Spencer Oliver 8f3b28ff41 Fix incorrect line endings
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2009-10-26 22:39:24 +00:00
dbrownell 03c9e48f88 Change most in-tree references from SVN to GIT.
Also, talk about "mainline" not "trunk".

The release.txt and release.sh files need more updates.


git-svn-id: svn://svn.berlios.de/openocd/trunk@2825 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-08 00:13:50 +00:00
zwelch c97caebccd Remove whitespace at end of lines, step 2.
- Replace '\s*$' with ''.


git-svn-id: svn://svn.berlios.de/openocd/trunk@2380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:50:08 +00:00
zwelch 6d1d58a1fc - Fixes '[<>]' whitespace
- Replace ')\([<>]\)(' with ') \1 ('.
- Replace ')\([<>]\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\([<>]\)(' with '\1 \2 ('.
- Replace '\(\w\)\([<>]\)\(\w\)' with '\1 \2 \3'.


git-svn-id: svn://svn.berlios.de/openocd/trunk@2375 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:45:47 +00:00
zwelch 84df52f9ea - Fixes '=' whitespace
- Replace ')\(=\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'.


git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:42:54 +00:00
zwelch 95d2a23724 - Replace 'for(' with 'for ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2360 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:37:21 +00:00
zwelch 50c086ffb9 - Replace 'while(' with 'while ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2358 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:36:11 +00:00
oharboe 820da73f79 stm32 profiling wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1676 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 13:30:45 +00:00
oharboe dbf69e3625 profiling numbers
git-svn-id: svn://svn.berlios.de/openocd/trunk@1675 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 12:26:50 +00:00
oharboe adbe3ac817 eol-style native
git-svn-id: svn://svn.berlios.de/openocd/trunk@1549 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 06:28:39 +00:00
oharboe cbc1f23758 Uwe Hermann <uwe@hermann-uwe.de> typos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1411 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-12 14:48:51 +00:00
oharboe 6874a83fed test files for stm32
git-svn-id: svn://svn.berlios.de/openocd/trunk@1382 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-24 06:38:04 +00:00
oharboe 51f8b70904 update symbols to match source file
git-svn-id: svn://svn.berlios.de/openocd/trunk@1362 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-26 07:38:08 +00:00
ntfreak cb3f970b6c - add missing svn props from 1323 commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1324 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-15 20:58:17 +00:00
oharboe 2e0f28149d Alan Carvalho de Assis <acassis@gmail.com> test app for imx27
git-svn-id: svn://svn.berlios.de/openocd/trunk@1323 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-15 13:22:04 +00:00
oharboe 8fc9bcb7f5 Alan Carvalho de Assis <acassis@gmail.com> imx31pdk.cfg reset init event
git-svn-id: svn://svn.berlios.de/openocd/trunk@1322 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-15 13:09:20 +00:00
ntfreak 9094500ba6 - add missing svn props and fix incorrect line endings from last commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1321 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 21:26:47 +00:00
oharboe 2d43ea1a45 wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1320 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 19:48:11 +00:00
oharboe d8490491e6 Alan Carvalho de Assis <acassis@gmail.com> - testcase
git-svn-id: svn://svn.berlios.de/openocd/trunk@1319 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 19:30:51 +00:00
ntfreak 185870615c - fix missing/incorrect svn file props
git-svn-id: svn://svn.berlios.de/openocd/trunk@1292 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-28 10:58:34 +00:00
duane e5e561157c Added another test build configuration
git-svn-id: svn://svn.berlios.de/openocd/trunk@1290 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 23:23:06 +00:00
duane 21eff7095c Added dongle VSLLINK - from Simon Qian
git-svn-id: svn://svn.berlios.de/openocd/trunk@1280 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 02:56:55 +00:00
duane dbd26e3a27 Added documentation for build test case1
git-svn-id: svn://svn.berlios.de/openocd/trunk@1277 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 01:44:29 +00:00
duane 92c9d46449 Renamed build.tests to build.test1
git-svn-id: svn://svn.berlios.de/openocd/trunk@1276 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 01:30:06 +00:00
duane f7274784a2 Build Permutations with ftd2xx and libftdi addressed. Also added a new se of regression makefiles to build openocd in multiple ways
git-svn-id: svn://svn.berlios.de/openocd/trunk@1275 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 01:15:50 +00:00
ntfreak 8f2c1659cf - slight mips32 cleanup/reformat
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1159 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-12 14:53:19 +00:00
oharboe 3a59ff8bda Laurentiu Cocanu - blinking led app for PIC32.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1157 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-12 09:03:16 +00:00
oharboe be968a5400 Rick Altherr <kc8apf@kc8apf.net> - update syntax
git-svn-id: svn://svn.berlios.de/openocd/trunk@1114 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-30 08:04:11 +00:00
oharboe 5ec6a48a4b basic smoketest on lm3s3748.elf
git-svn-id: svn://svn.berlios.de/openocd/trunk@1020 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 12:14:52 +00:00
oharboe 3c8ef2c41b retired, nothing came of it.
git-svn-id: svn://svn.berlios.de/openocd/trunk@974 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 06:26:29 +00:00
oharboe e2b6de3d66 retired reset run_and_init/halt
git-svn-id: svn://svn.berlios.de/openocd/trunk@877 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-28 06:08:05 +00:00
ntfreak 2e832a399a - remove requirement for file2c.tcl
git-svn-id: svn://svn.berlios.de/openocd/trunk@800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 16:25:17 +00:00
oharboe cebfbfa661 testing/*.tcl sample & test code
git-svn-id: svn://svn.berlios.de/openocd/trunk@799 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 07:50:17 +00:00
oharboe a65255a06d testing/*.tcl sample & test code
git-svn-id: svn://svn.berlios.de/openocd/trunk@798 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 07:50:03 +00:00
mifi 96ca4401bd - added smoketest result for r657
- some corrections for the reset config of at91r40008

git-svn-id: svn://svn.berlios.de/openocd/trunk@660 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-16 20:23:35 +00:00
mifi fcf674ced3 - smoketest for r651
git-svn-id: svn://svn.berlios.de/openocd/trunk@652 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-10 08:26:52 +00:00
oharboe 1231443b59 lpc2148 fixes from Edgar Grimberg
git-svn-id: svn://svn.berlios.de/openocd/trunk@631 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-30 18:59:39 +00:00
oharboe 1c50c0f3c7 wip instructions for building Cortex toolchain
git-svn-id: svn://svn.berlios.de/openocd/trunk@618 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-26 07:38:36 +00:00
ntfreak 040e254243 - added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@615 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-24 11:09:28 +00:00
oharboe 6ef27f4534 Edgar's new test cases.
git-svn-id: svn://svn.berlios.de/openocd/trunk@614 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-24 09:26:50 +00:00
oharboe 2b3492b0ef Edgar's new test cases.
git-svn-id: svn://svn.berlios.de/openocd/trunk@613 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-24 09:21:42 +00:00
mifi a7d76a4428 - added test results for r592
git-svn-id: svn://svn.berlios.de/openocd/trunk@594 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-19 14:08:22 +00:00