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

16 Commits

Author SHA1 Message Date
74eb56e141
dist/tools/vera++: fix exclude rules for tests/pkg/utensor 2023-05-06 07:55:01 +02:00
Marian Buschsieweke
6ac8aba955
build system: rework EXTERNAL_MODULE_DIRS
Previously, external modules had to be individually added to both
EXTERNAL_MODULE_DIRS and USEMODULE. If those where not in sync, this
resulted in build errors.

With this commit, search folders for external modules are added to
EXTERNAL_MODULE_DIRS instead. So lets say the file system structure is
like this

```
└── /path/to/external/modules
    ├── mod_a
    │   ├── Makefile
    │   ├── Makefile.dep
    │   ├── Makefile.include
    │   ├── foo.c
    │   └── include
    │       └── external_module.h
    └── mod_b
        ├── Makefile
        └── bar.c

```

One now adds `/path/to/external/modules` to EXTERNAL_MODULES and only
with `USEMODULE += mod_a` the corresponding module, dependencies and
include settings are actually used. Hence, it is possible to configure
`EXTERNAL_MODULE_DIRS` from `~/.profile` or `~/.bashrc` once and never
needs to worry about them again.
2021-05-07 21:29:05 +02:00
Jose Alamos
d5062cfd4e
ci/vera++/rules/L004: remove warning support
This reverts commit f3a934a169.
2021-01-20 11:04:12 +01:00
8f2b375f81
tools/vera++: increase max line length bounds 2021-01-19 16:10:51 +01:00
Martine S. Lenders
bb310ec644
dist/tools/vera++: annotate errors in Github Action 2021-01-13 12:06:48 +01:00
Martine Lenders
7f83c8c488
Merge pull request #15709 from jia200x/pr/vera_cpp_checks
dist/tools/vera++: improve C/C++ support and optimize CI call
2021-01-06 13:20:39 +01:00
Jose Alamos
541d21db0f
ci/vera++: run only once
Signed-off-by: Jose Alamos <jose@alamos.cc>
2021-01-06 13:02:18 +01:00
Jose Alamos
f3a934a169
ci/vera++/rules/L004: add warning support
Signed-off-by: Jose Alamos <jose@alamos.cc>
2021-01-06 13:02:09 +01:00
Jose Alamos
da17a1b5a3
ci/vera++/rules/T003: do not include C++ keywords in C files
Signed-off-by: Jose Alamos <jose@alamos.cc>
2021-01-06 13:01:42 +01:00
Martine Lenders
1892da1b1a
dist/tools/vera++: exclude tests/pkg_utensor/models/deep_mlp_weight.hpp 2021-01-06 12:09:46 +01:00
558f3920a9
dist/tools: don't overwrite EXCLUDE when not necessary 2020-12-18 12:58:25 +01:00
c5b2ded055
dist/tools: Use /usr/bin/env bash for bash scripts 2020-10-30 13:13:40 +01:00
Jose Alamos
eaf2fecd20 vera++: remove non-zero exit code 2020-02-18 19:53:08 +01:00
Jose Alamos
c455efba36 vera++: add README file 2020-02-14 14:17:17 +01:00
Jose Alamos
6057d1fba9 vera++: add check.sh script 2020-02-14 14:17:17 +01:00
Jose Alamos
6352c3cf48 style-check/vera++: add RIOT vera++ files 2020-02-14 14:17:16 +01:00