Commit Graph

1446 Commits (0cc7e5b0b7c1b1d579790135d5314e0ba1478b65)

Author SHA1 Message Date
zwelch 0cc7e5b0b7 Fix most pointer cast alignment warnings in arm11.c; fix u16 memory reads..
git-svn-id: svn://svn.berlios.de/openocd/trunk@1628 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 01:26:56 +00:00
zwelch 92bae0b1df Fix pointer cast alignment warnings in arm_adi_v5.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1627 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 00:58:38 +00:00
zwelch fdf114ab0a Fix stm32x and pic32mx flash pointer cast alignment warnings, simplify their last word handling.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1626 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 00:21:59 +00:00
zwelch a3b6236289 Fix pointer cast alignment warning in XScale miniIC loader parity calc.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1625 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 23:31:50 +00:00
zwelch 5f45a3d1df Fix pointer cast alignment warnings in target/image.c.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1624 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 23:28:38 +00:00
zwelch 41638e0a09 Change reg_s value field from u8 * to void *; it must always be cast.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1623 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 23:25:27 +00:00
zwelch 8cbb2ae7f4 Fix pointer cast alignment issues in svf.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1622 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 23:05:57 +00:00
zwelch 5c1cb131e9 Add configure script check to enable C99 build option.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1621 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 21:48:39 +00:00
zwelch 4b127e229b Fix pointer cast alignment warnings in jim.c.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1620 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 21:21:18 +00:00
mlu b33779fbbe Added (BUILD_JLINK==1) condition to us new tables with JLink
git-svn-id: svn://svn.berlios.de/openocd/trunk@1619 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 18:47:15 +00:00
oharboe c8e52f9e15 Dick Hollenbeck <dick@softplc.com> comments & 7 clock TMS reset for good measure
git-svn-id: svn://svn.berlios.de/openocd/trunk@1618 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 18:24:24 +00:00
oharboe cd0512befd Dick Hollenbeck <dick@softplc.com> part deux of previous changes just committed.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1617 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 18:18:00 +00:00
mlu 0317db97cd Small changes that might improve stability.
Implemented new jtag sequences tap_get_tms_path and tap_get_tms_path_len

git-svn-id: svn://svn.berlios.de/openocd/trunk@1616 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 17:28:39 +00:00
oharboe a2a71fe705 transition more directly to the end state + reuse more of the state move code/paths
git-svn-id: svn://svn.berlios.de/openocd/trunk@1615 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 17:25:14 +00:00
oharboe b4fbd4abe4 Dick Hollenbeck <dick@softplc.com> simplifies XSTATE handling, and protects against illegal state
transitions that might be in an SVF file.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1614 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 13:32:43 +00:00
oharboe 8161adafd3 log noise reduction
git-svn-id: svn://svn.berlios.de/openocd/trunk@1613 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 11:22:30 +00:00
zwelch f719306f68 Fix enviorn configure test failure message (thanks to Anders Montonen).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1612 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 08:30:50 +00:00
oharboe e86dee3200 remove unecessary setting of deprecated fields to NULL
git-svn-id: svn://svn.berlios.de/openocd/trunk@1611 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 07:21:46 +00:00
zwelch 7e50a39773 Add autoconf check to determine where environ should be declared.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1610 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 07:17:57 +00:00
oharboe 213368e21f add warnings about not using in_handler
git-svn-id: svn://svn.berlios.de/openocd/trunk@1609 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 06:40:56 +00:00
oharboe 4d88c124b1 retire out_mask - not used anywhere
git-svn-id: svn://svn.berlios.de/openocd/trunk@1608 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-06 06:20:52 +00:00
oharboe b6f268c113 mark usage of in_handler that can be converted into user code
git-svn-id: svn://svn.berlios.de/openocd/trunk@1607 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-05 19:30:13 +00:00
oharboe e03658ee07 made warning about keep_alive() not being invoked more helpful
git-svn-id: svn://svn.berlios.de/openocd/trunk@1606 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-05 12:07:02 +00:00
oharboe a83583e926 remove extra newline before prompt
git-svn-id: svn://svn.berlios.de/openocd/trunk@1605 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-05 12:06:26 +00:00
oharboe 6fd394811c Gabor Juhos juhosg at openwrt.org MIPS: fix a shift value in the MIPS32_R_INST macro
git-svn-id: svn://svn.berlios.de/openocd/trunk@1604 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-05 06:49:55 +00:00
oharboe eb51d4f68b Oleksandr Tymoshenko <gonzo@bluezbox.com> "resume" command fix for EJTAG
git-svn-id: svn://svn.berlios.de/openocd/trunk@1603 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-05 05:55:14 +00:00
oharboe 7a93100c2d Dirk Behme <dirk.behme@googlemail.com> Add minimalist Cortex A8 file
git-svn-id: svn://svn.berlios.de/openocd/trunk@1602 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-04 18:44:12 +00:00
oharboe 03fdabaaac Mariano Alvira <mar@devl.org> fixes warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1601 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-04 11:06:21 +00:00
oharboe 1f378efbf0 Mariano Alvira <mar@devl.org> fixes warning as error about a signed vs. unsigned comparison by casting the local unsigned variable as (long long).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1600 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-04 11:03:40 +00:00
kc8apf 53b7ce5b22 Fix environ declaration for non-glibc systems
git-svn-id: svn://svn.berlios.de/openocd/trunk@1599 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-04 06:22:49 +00:00
oharboe ea3e49f4e2 fix embedded builds
git-svn-id: svn://svn.berlios.de/openocd/trunk@1598 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 20:48:20 +00:00
oharboe 832af8c1b0 Backed out change to solve Mac OS compilation problems.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1597 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 20:21:32 +00:00
zwelch 6f449ff098 Fix compilation when HAVE_UNISTD_H is not defined.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1596 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 15:21:40 +00:00
oharboe ca3d4db1e3 Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1595 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 15:11:17 +00:00
oharboe 1f84e5ac57 Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1594 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 15:10:16 +00:00
zwelch caf14c53db Fix build when enabling presto+ftd2xx driver only.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1593 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-03 03:35:01 +00:00
zwelch 85ecae2875 Add configure check for usb.h; required by a USB drivers.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1592 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-02 22:46:14 +00:00
zwelch 66add57aa5 Update autotools scripts to require automake 1.6. The configure.in script
already required autoconf 2.59 (circa 2006), so there is no reason to
support versions of automake older than 1.6 (circa 2002).

The first part of this patch upgrades the configure.in script:

     1. Use current calling conventions for the AC_INIT and
        AM_INIT_AUTOMAKE macros, bringing their usage up-to-date with
        the version of autoconf already specified by AC_PREREQ.
     2. Add AC_CONFIG_SRCDIR macro, required by new version of AC_INIT.
     3. Automatically enable all of automake's warnings except Makefile
        portability (which OpenOCD violates by using GNU make's $(wildcard)).
        [[ While automake has its own -Werror option, I did not enabled it
        due to existing warnings. ]]
     4. Add the missing AM_PROG_C_O check, required by the build rules for
        openocd.o in src/Makefile.am.
     5. Adjust version number to show progress toward the next release.
     6. Include a bug reporting e-mail address to direct users to this list.

This patch makes the following adjustments to the Makefile.am files:

     1. Update AUTOMAKE_OPTIONS to require automake version 1.6
     2. Rewrite all deprecated INCLUDES assignments as AM_CPPFLAGS
     3. Clean-up all AM_CPPFLAGS declarations to be patch-friendly.
     4. Remove vestigial references to $(all_includes)
     5. Remove erroneous references to @CPPFLAGS@ (only use AM_CPPFLAGS)
     6. Remove unused -I and -D directives in helper/, flash/, target/


git-svn-id: svn://svn.berlios.de/openocd/trunk@1591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-02 22:35:02 +00:00
oharboe 6cacbd9575 Dick Hollenbeck <dick@softplc.com> moved stuff into openocd.c - should never have been in main.c in the first place. DLL will now build.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1590 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-02 19:31:30 +00:00
oharboe e69b222d53 Zach Welch <zw@superlucidity.net> fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1589 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-02 12:26:10 +00:00
zwelch 2fb13f9b65 Remove superflous spaces from new JTAG table to fix formatting.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1588 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-01 23:42:43 +00:00
zwelch dee85e5a00 Add static keywords to main application helper functions.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1587 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-01 03:07:32 +00:00
zwelch 1743395250 Dick Hollenbeck <dick@softplc.com>: move OPENOCD_VERSION to use config.h
git-svn-id: svn://svn.berlios.de/openocd/trunk@1586 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-01 01:18:05 +00:00
zwelch 214407d9c7 Uwe Hermann <uwe@hermann-uwe.de>: Support both rev -A1 and -A2 of Hitex STR9-comStick.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1585 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 23:19:46 +00:00
zwelch 0682afece8 Uwe Hermann <uwe@hermann-uwe.de>: Make ICEbear look like other targets
git-svn-id: svn://svn.berlios.de/openocd/trunk@1584 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 21:04:34 +00:00
oharboe 39363e4e01 zy1000 1.51
git-svn-id: svn://svn.berlios.de/openocd/trunk@1582 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 10:08:11 +00:00
oharboe c7bbd9ac71 list board's as well as target config files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1581 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 10:07:39 +00:00
oharboe c4d172da76 lpc2478 target config
git-svn-id: svn://svn.berlios.de/openocd/trunk@1580 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 09:50:14 +00:00
zwelch 8c1ec4f0e1 Add static keywords to core target source file data and functions.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1579 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 09:49:38 +00:00
oharboe d70dac5e49 Print out warning when LPC calc_checksum will cause verification to fail.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1578 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 09:39:24 +00:00