1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

445 Commits

Author SHA1 Message Date
Joakim Nohlgård
7713bede99 openocd: Refactor openocd.sh script
- Merge flash and flash-elf commands since they were identical except
  for the file name of the image
- Split GDB command from DBG environment variable to allow more easily
  configure front-ends for GDB via environment variables.
- Remove verbose tests of empty variables and replace by `: ${VAR:=default}`
- Remove passed command line arguments to sub-functions, they were
  unused in the functions anyway.
- Remove TUI variable, use `export DBG_EXTRA_FLAGS=-tui` to get the same
  result.
2017-10-18 14:34:20 +02:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Lucas Jenss
556baf07a1 dist/tools/cppcheck: Allow individual files to be cppchecked 2017-10-10 10:59:02 -07:00
smlng
49a4dda7d2 tools: ignore vendor files on whitespace check 2017-09-20 15:26:10 +02:00
162478cd6d spelling: s/initialise/initialize/ 2017-09-05 11:04:25 +02:00
Joakim Nohlgård
503976c663 dist/tools/ethos: Build escaped packet in buffer before writing to UART
Significantly improves throughput and latency on FRDM-KW41Z.

Ping with a packet of size 100 yields a 30 ms roundtrip with this
patch, 177 ms without. Size 1000 ping before: 1160 ms, after: 188 ms
2017-08-18 08:12:44 +02:00
Sebastian Meiling
422b42ce65 Merge pull request #7338 from aabadie/edbg_remaining_boards
boards: use EDBG flasher with arduino-zero and saml21-xpro
2017-08-17 09:16:39 +02:00
kYc0o
b19fcba019 dist/tools/jlink: add flashing offset when set 2017-07-17 14:48:29 +02:00
b16118ab6e dist/tools/edbg: bump version to include support for SAML21J18A 2017-07-14 23:27:16 +02:00
kYc0o
f464cf830a dist/tools: add imgtool 2017-07-06 23:26:56 +02:00
Thomas Eichinger
219ffb3847 Merge pull request #7283 from smlng/dist/tools/edbg/fix_macos
tools, edbg: fix compiler issue on macos
2017-07-04 13:48:24 -07:00
smlng
efcc275091 tools, edbg: fix compiler issue on macos 2017-06-30 20:16:29 +02:00
kYc0o
c0b2182d01 dist/tools/bossa: add patch for OS X build 2017-06-30 16:44:47 +02:00
d69352a237 dist/tools: add dlcache.sh 2017-06-17 17:00:55 +02:00
Cenk Gündoğan
1186029102 packer: add custom udev rules 2017-06-02 11:09:33 +02:00
Cenk Gündoğan
901bbf6898 packer: import openocd udev rules 2017-06-02 10:44:21 +02:00
e99a834487 dist: tools: coccinelle: add documentation 2017-05-30 21:38:03 +02:00
Martine Lenders
386be92a66 Merge pull request #7105 from cgundogan/pr/packer_libudev
dist: packer: update and add libudev-dev
2017-05-30 14:06:33 +02:00
BytesGalore
eac2b0c761 dist/edbg: forward commit hash to added samr21-xpro (rev D) 2017-05-30 08:59:11 +02:00
Cenk Gündoğan
f18936a7d9 dist: packer: update and add libudev-dev 2017-05-29 19:26:55 +02:00
Martine Lenders
d4693648ba Merge pull request #7095 from kaspar030/add_headerguard_check_script
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
60fb6d2d50 dist: tools: changed_files.sh: add msba2 tools to exclude list 2017-05-24 17:54:02 +02:00
ed31db4702 dist: tools: build_and_test.sh: add header guard check 2017-05-24 17:54:01 +02:00
de07fe07e5 dist: tools: headerguard: initial commit 2017-05-24 17:54:01 +02:00
6a9175944c dist: tools: add edbg 2017-05-24 14:52:44 +02:00
c53e9271ba dist: tools: bossa: add makefile rule to clean generated binary 2017-05-22 16:18:07 +02:00
Hauke Petersen
fb82e246d9 tools: add means to download and build BOSSA 2017-05-22 11:42:00 +02:00
Sebastian Meiling
4bc77be282 Merge pull request #6966 from miri64/doccheck/enh/show-doc-warning
doccheck: actually show warning, not just file
2017-05-17 13:49:03 +02:00
Martine Lenders
0f2fa7883c doccheck: actually show warning, not just file 2017-05-17 13:01:13 +02:00
d2362c1c74 Merge pull request #7057 from gautric/master
use MD5 as environment variable
2017-05-16 10:18:16 +02:00
gautric
89cd127e31 dist/tools/toolchains: use MD5 as environment variable 2017-05-16 10:05:57 +02:00
564448ae96 dist: tools: coccinelle: add enable_debug_false.cocci 2017-05-15 16:36:44 +02:00
a7ad4f0469 dist/tools/coccinelle: add remove_atoi_cast.cocci 2017-05-13 12:37:09 +02:00
d603367c08 dist/tools/ci/print_toolchain_versions.sh: add coccinelle 2017-05-12 13:17:53 +02:00
98c359d231 dist/tools/ci/changed_files.sh: add coccinelle includes to EXCLUDE 2017-05-12 13:17:53 +02:00
9acc5282af dist: tools: introduce coccinelle static testing 2017-05-12 13:17:53 +02:00
bb24b1d77b Merge pull request #7039 from kaspar030/fix_in-function_static_variables
cleanup: remove unused in-function static variable properties (coccinelle)
2017-05-12 13:17:03 +02:00
8611650078 dist/tools/uhcpd: remove unnecessary static properties (partly found by coccinelle) 2017-05-11 13:46:24 +02:00
a7e55a17cf dist/tools/ci/build_and_test.sh: adapt to changed check scripts 2017-05-11 12:12:54 +02:00
a02472d1fa dist/tools/licenses/check.sh: make use of changed_files.sh 2017-05-11 12:12:54 +02:00
e24becc02a dist/tools/externc: use of changed_files.sh 2017-05-11 12:12:54 +02:00
9b045c127f dist/tools/cppcheck: use changed_files.sh 2017-05-11 12:12:54 +02:00
5a4ea3b45d dist/tools/ci: introduce changed_files.sh 2017-05-11 12:12:54 +02:00
1ec3c0a57a Revert "dist: cppcheck: switch back to 8 jobs"
This reverts commit ec97a94626.

(The commit seems to cause trouble. Furthermore, there's no reference to
either the issue or how it was solved in the original commit message).
2017-04-25 19:31:02 +02:00
Oleg Hahm
ec97a94626 dist: cppcheck: switch back to 8 jobs 2017-04-14 14:36:17 +02:00
Oleg Hahm
76e884e346 dist: ci: removed obsolete TODO regarding cppcheck 2017-04-14 14:36:17 +02:00
Oleg Hahm
2cb16c5ff4 dist: tunslip: fix cppcheck warnings 2017-04-14 14:36:16 +02:00
Oleg Hahm
3a304f10ee dist: enable cppcheck warnings for all files 2017-04-14 14:36:13 +02:00
6ef21a8fd3 dist: tools: print_toolchain_versions.sh: add cppcheck version 2017-04-06 14:20:23 +02:00
Neil Jones
65911f3499 cppcheck: Don't Run cppcheck on ASM files.
cppcheck doesn't understand ASM style comments beginning with '#' and tries to
parse them:

I get this error:
 cpu/mips_pic32_common/reset_mod.S:84: error (syntaxError): syntax error
from this line:
 beqz s1, init_resources # Branch if this is NOT an NMI exception.

If I place the comment inside C-style comments cppcheck passes, ie

 beqz s1, init_resources # /*Branch if this is NOT an NMI exception.*/

Note current in-tree ASM files fail cppcheck (they must have been added before
this check) for example:

cpu/lpc2387/asmfunc.s
2017-03-29 15:14:43 +01:00