Commit Graph

  • be680ada77 C99 printf() -Werror fixes duane 2009-06-21 03:16:05 +00:00
  • 819944fb28 C99 printf() -Werror fixes duane 2009-06-21 03:15:59 +00:00
  • e06e22dbbd C99 printf() -Werror fixes duane 2009-06-21 03:15:51 +00:00
  • aabee7e8ca C99 printf() -Werror fixes duane 2009-06-21 03:15:47 +00:00
  • 05f0e6e9d5 C99 printf() -Werror fixes duane 2009-06-21 03:15:42 +00:00
  • b9feaddd75 C99 printf() -Werror fixes duane 2009-06-21 03:15:36 +00:00
  • b54f4c5cb6 C99 printf() -Werror fixes duane 2009-06-21 03:15:32 +00:00
  • be1ab108f3 C99 printf() -Werror fixes duane 2009-06-21 03:15:28 +00:00
  • 7b97e5b1cc C99 printf() -Werror fixes duane 2009-06-21 03:15:24 +00:00
  • fde4f37f6a C99 printf() -Werror fixes duane 2009-06-21 03:15:16 +00:00
  • f2f612aa69 C99 printf() -Werror fixes duane 2009-06-21 03:15:10 +00:00
  • b521037509 C99 printf() -Werror fixes duane 2009-06-21 03:15:03 +00:00
  • d84bba66ae C99 printf() -Werror fixes duane 2009-06-21 03:14:58 +00:00
  • 7e07b9abf1 C99 printf() -Werror fixes duane 2009-06-21 03:01:21 +00:00
  • 245b0213f5 C99 printf() -Werror fixes duane 2009-06-21 03:00:43 +00:00
  • 836b6c18f0 C99 Type updates, include inttypes.h - it is catagorically required duane 2009-06-21 02:59:39 +00:00
  • 5f48cefb10 Set default for want_ftd2xx_highspeed to "no" instead of "maybe" mifi 2009-06-20 18:19:21 +00:00
  • 580a05a07f Remove editor preferences from source files. zwelch 2009-06-19 23:56:52 +00:00
  • 40d7e81c45 printf() warning fixes due to uint32_t change-over duane 2009-06-19 23:15:58 +00:00
  • 9eb3181cc8 Paulius Zaleckas <paulius.zaleckas@gmail.com>: zwelch 2009-06-19 22:39:35 +00:00
  • 13e592f9f6 less warnings oharboe 2009-06-19 09:09:25 +00:00
  • 333642fcff fix jtag_add_callback() args. The first argument is nothing special, it's just another generic argument. oharboe 2009-06-19 08:18:36 +00:00
  • a1c14646cb commit test from Duane duane 2009-06-19 06:05:46 +00:00
  • 01823f5e0b less warnings oharboe 2009-06-18 13:40:38 +00:00
  • 8f87f8945e less warnings oharboe 2009-06-18 13:35:18 +00:00
  • e8ba53ef6f Oyvind Harboe <oyvind.harboe@zylin.com>: zwelch 2009-06-18 10:42:40 +00:00
  • 592e080690 Cast 64-bit trace hit_counter to long long; fixes format warning. zwelch 2009-06-18 10:40:33 +00:00
  • c5de7b6bd7 Update Style Guide documentation to explain basic type rules. zwelch 2009-06-18 07:11:55 +00:00
  • 4cf8d5ec17 Remove redundant typedefs in types.h; include stdint.h unconditionally. zwelch 2009-06-18 07:11:48 +00:00
  • 0ca97d82d8 Transform 'u64' to 'uint64_t' - Replace '\([^_]\)u64' with '\1uint64_t'. zwelch 2009-06-18 07:11:40 +00:00
  • 86e4324f1b Finish transforming 'u32' to 'uint32_t'. - Replace '\([^_]\)u32' with '\1uint32_t'. - Replace '^u32' with 'uint32_t'. zwelch 2009-06-18 07:11:11 +00:00
  • 1840226d55 Transform 'u32' to 'uint32_t' in src/flash. - Replace '\([^_]\)u32' with '\1uint32_t'. zwelch 2009-06-18 07:10:25 +00:00
  • 3c2eabd20f Transform 'u32' to 'uint32_t' in src/target - Replace '\([^_]\)u32' with '\1uint32_t'. - Replace '^u32' with 'uint32_t'. zwelch 2009-06-18 07:09:35 +00:00
  • db7e77237c Transform 'u32' to 'uint32_t' in src/target/arm* - Replace '\([^_]\)u32' with '\1uint32_t'. - Replace '^u32' with 'uint32_t'. zwelch 2009-06-18 07:08:52 +00:00
  • f876d5e9c7 Transform 'u16' to 'uint16_t' - Replace '\([^_]\)u16' with '\1uint16_t'. - Replace '^u16' with 'uint16_t'. zwelch 2009-06-18 07:07:59 +00:00
  • c18947b947 Transform 'u8' to 'uint8_t' - Replace '\([^_]\)u8' with '\1uint8_t'. - Replace '^u8' with 'uint8_t'. zwelch 2009-06-18 07:07:12 +00:00
  • 310be8a838 Transform 'u8' to 'uint8_t' in src/flash - Replace '\([^_]\)u8' with '\1uint8_t'. - Replace '^u8' with 'uint8_t'. zwelch 2009-06-18 07:06:25 +00:00
  • 86173cdbdd Transform 'u8' to 'uint8_t' in src/target - Replace '\([^_]\)u8' with '\1uint8_t'. - Replace '^u8' with 'uint8_t'. zwelch 2009-06-18 07:04:08 +00:00
  • 8f9f5c189b David Brownell <david-b@pacbell.net>: zwelch 2009-06-18 04:08:51 +00:00
  • 1642dd2ea0 David Brownell <david-b@pacbell.net>: zwelch 2009-06-18 00:29:45 +00:00
  • 6f4d876c88 David Brownell <david-b@pacbell.net>: zwelch 2009-06-18 00:29:39 +00:00
  • 8ab9b6d39e David Brownell <david-b@pacbell.net>: zwelch 2009-06-18 00:29:33 +00:00
  • 1a400f8b8e Freddie Chopin <freddie_chopin@op.pl> makes lpc2478.cfg file more "standard" and - what is most important - correct (it's working [; ). I've also added some comments which try to clarify the meaning of all that's in there. oharboe 2009-06-17 20:49:55 +00:00
  • 8d8937f1a6 dummy driver now works under eCos oharboe 2009-06-17 10:51:34 +00:00
  • d727e31af9 David Brownell <david-b@pacbell.net>: zwelch 2009-06-17 06:44:29 +00:00
  • 7ddc6c3d55 David Brownell <david-b@pacbell.net>: zwelch 2009-06-17 06:41:05 +00:00
  • 10e435c961 David Brownell <david-b@pacbell.net>: zwelch 2009-06-17 06:40:58 +00:00
  • d31e57a10d David Brownell <david-b@pacbell.net>: zwelch 2009-06-17 06:40:50 +00:00
  • 6ba0b46cec David Brownell <david-b@pacbell.net>: zwelch 2009-06-17 06:40:39 +00:00
  • ed5b5b834e Fix compilation for Ubuntu 9.04 on x86-64 when using --enable-httpd. zwelch 2009-06-17 06:10:10 +00:00
  • e2cacd4368 Set svn:eol-style native on ZY1000 minidriver header file. zwelch 2009-06-17 01:59:59 +00:00
  • 2d0afa36a8 Ensure range errors are reported only when errno indicates one occurred. zwelch 2009-06-17 00:31:06 +00:00
  • c0f4495d5e Change parse_type macros to be sed-friendly. zwelch 2009-06-17 00:30:52 +00:00
  • d579befc07 Add argument parsing errors in command.h, use in parse_type routines. zwelch 2009-06-17 00:30:44 +00:00
  • 0e28997989 Move definition of parse_type helpers to command.c: - Add declarations in header file. - Improve wrapper implementations to check for underflow. zwelch 2009-06-17 00:30:36 +00:00
  • 06a1bb335e Convert core parse_type implementations to check for underflow errors. zwelch 2009-06-17 00:30:29 +00:00
  • a830197f59 Add improved support for parsing signed integers. zwelch 2009-06-17 00:30:20 +00:00
  • a3ec1e1f94 Update parse_type macro definitions to allow re-use with signed types. zwelch 2009-06-17 00:30:11 +00:00
  • 8b16068941 Improve definitions of parse_ulong and parse_ullong: - Use macro to eliminate duplicate body definitions. - Rename okay as is_okay; add parenthesis to help "clarify" logic. zwelch 2009-06-17 00:29:56 +00:00
  • c928fe0fa0 David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 12:17:26 +00:00
  • a0c10dd29b David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 12:17:18 +00:00
  • 491083a248 David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 12:17:12 +00:00
  • 0de478618a David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 00:23:32 +00:00
  • 011e9b85b1 David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 00:23:22 +00:00
  • 14f88acaf6 David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 00:23:13 +00:00
  • 5f9b74d055 David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 00:23:00 +00:00
  • 03803a9d79 David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 00:22:52 +00:00
  • c7cfb3417b David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 00:22:40 +00:00
  • cc9488008a David Brownell <david-b@pacbell.net>: zwelch 2009-06-16 00:22:12 +00:00
  • 1ac220df71 David Brownell <david-b@pacbell.net>: zwelch 2009-06-15 23:54:09 +00:00
  • 588a17da43 fix eCos build problems w/latest parse_ulong() stuff oharboe 2009-06-15 14:22:13 +00:00
  • 4f4592539d David Brownell <david-b@pacbell.net>: zwelch 2009-06-13 08:38:57 +00:00
  • 0ffbc60333 Factor load_image argument parsing to parse_load_image_command_args: - Make fast_load_image use the helper coverage the standard load_image. - Improve whitespace in the moved lines. zwelch 2009-06-13 00:34:31 +00:00
  • af52480a45 Improve handle_profile_command argument parsing: - Use parse_uint to ensure timeout value parses properly. zwelch 2009-06-13 00:34:24 +00:00
  • b7c5e630ea Improve handle_virt2phys_command argument parsing: - Use parse_u32 to ensure virtual address parses properly. zwelch 2009-06-13 00:34:17 +00:00
  • f7afcfe23f Cleanup and improve handle_wp_command and handle_rwp_command: - Simplify argument parsing logic using switch statement. - Use parse_u32 to ensure all values parse properly. - Return syntax error when mode argument fails to parse. zwelch 2009-06-13 00:34:10 +00:00
  • d0a300e0a0 Improve and simplify handle_bp_command and handle_rbp_command: - Bug fix: return syntax error if remove called without one argument. - Use parse_u32 to ensure address and length arguments parse properly. zwelch 2009-06-13 00:34:03 +00:00
  • 16c77cf3ca Improve handle_verify_image_command_internal command argument handling: - Use parse_u32 to ensure address parses properly. zwelch 2009-06-13 00:33:55 +00:00
  • 890973acc4 Improve handle_dump_image_command argument parsing: - Use parse_u32 to ensure address and size parse properly. zwelch 2009-06-13 00:33:48 +00:00
  • bb37adadab Improve handle_load_image_command argument parsing: - Use parse_u32 to ensure base/min/max addresses parse properly. zwelch 2009-06-13 00:33:42 +00:00
  • 6f9aac1892 Improve handle_mw_command argument handling: - Change: All local variable types are now unsigned. - Use parse_u32 to ensure address and value parse properly. - Use parse_uint to ensure count parses properly. - Move variables to location of first use. zwelch 2009-06-13 00:33:34 +00:00
  • 08128b572a Improve handle_md_command argument handling: - Use parse_u32 and parse_uint for address and count, respectively. zwelch 2009-06-13 00:33:25 +00:00
  • 71f95de8a6 Use parse_u32 in handle_resume_command and handle_step_command. zwelch 2009-06-13 00:33:18 +00:00
  • 5d0cdf4d94 Cleanup and improve handle_halt_command: - Make argument check use parse_uint to ensure value parses properly. - Move variable declarations to location of first use. zwelch 2009-06-13 00:33:11 +00:00
  • fad8521a87 Cleanup and fi handle_wait_halt_command: - Use unsigned type for delay variable. - Use parse_uint to ensure delay argument parses properly. - Bug fix: Return syntax error if more than one argument is given. - Bug fix: Return syntax error when argument fails to parse. zwelch 2009-06-13 00:33:01 +00:00
  • 45ec363c4a Use parse_uint in handle_reg_command to ensure reg number parses properly. zwelch 2009-06-13 00:32:54 +00:00
  • 2343245090 Use parse_uint in get_target to ensure target id is parsed properly. zwelch 2009-06-13 00:32:40 +00:00
  • cdd8f23b9b David Brownell <david-b@pacbell.net>: zwelch 2009-06-12 22:06:02 +00:00
  • 7b65cb367f David Brownell <david-b@pacbell.net>: zwelch 2009-06-12 21:53:17 +00:00
  • 8551803eb5 David Brownell <david-b@pacbell.net>: zwelch 2009-06-12 21:43:53 +00:00
  • a92cc405ac unsik Kim <donari75@gmail.com>: zwelch 2009-06-12 21:31:11 +00:00
  • 7fdce0e8bc Further cleanup to MIPS target read/write memory function: - Move the mips32_..._read_mem calls to top-level of read_mem function. - Change: Only perform mips_m4k_read_mem conversion when retval == ERROR_OK. - Prevents pointless conversions of bogus read values after failures. - Eliminate retval variable from mips_m4k_write_mem; return directly. - Move declaration of retval variable to point of first use. - Remove the now redundant switch statements testing size: - argument sanitizing already covers these cases. zwelch 2009-06-12 04:14:28 +00:00
  • c6e80f63a3 David Claffey <dnclaffey@gmail.com>: zwelch 2009-06-12 04:14:18 +00:00
  • a351c57261 Fix unitialized use of cur_speed in handle_jtag_khz_command: - Use the default KHz speed setting, in case interface is not initialized. zwelch 2009-06-12 01:41:07 +00:00
  • f5e4511701 Improve vsllink command argument handling: - Bug fix: Always clear high bit of USB bulk out endpoint. - Use parse_ulong helpers to ensure numeric strings are parsed properly. zwelch 2009-06-12 01:41:00 +00:00
  • a9d5119825 Improve handle_runtest_command: - Use parse_uint helper to ensure argument is parsed properly. zwelch 2009-06-12 01:40:54 +00:00
  • ea95cdb8e2 Improve VID/PID command argument handling in FTDI driver: - Bug fix: Return a syntax error when less than two arguments are given. - Bug fix: Use parse_u16 helper to ensure vales are parsed properly. - Simplify loop termination logic by ensuring argc is always even. - Move loop induction variable declaration to where it is used. zwelch 2009-06-12 01:40:48 +00:00
  • 70d853b9fa Improve handle_irscan_command: - Use parse_u32 helper to ensure scan values are parsed properly. - Clear the fields buffer to ensure partial cleanup occur correctly. zwelch 2009-06-12 01:40:42 +00:00
  • 82403fe644 Improve JTAG reset, speed, and khz handlers to use parse_uint helper. zwelch 2009-06-12 01:40:35 +00:00
  • 5d657571cb Use parse_uint helper to replace strtoul call in jtag_tap_by_string. zwelch 2009-06-12 01:40:29 +00:00