smlng
5b1cd0475f
core/clist: add cppcheck-suppress nullPointer
...
This was found by cppcheck 1.6x used in Travis-CI, however this
seems to be a false positive, as it is not found by newer versions
of cppcheck.
2018-09-25 12:03:58 +02:00
smlng
d7942cd974
dist/tools: fix tunslip6 strncat num param
...
Cppcheck was (correctly) warning here that concat to strings might
result in buffer overflow because the terminating `\0` was not considered.
This is fixed here, making the cppcheck suppression also obsolete.
2018-09-25 12:03:58 +02:00
smlng
3f811c44db
cppcheck: extend cppcheck README example
...
Extend the cppcheck suppression example to show that each suppression
should have a reason describing the intentional suppression of a
cppcheck warning or error.
2018-09-25 12:03:58 +02:00
smlng
59e299635b
cppcheck: add/correct reason for cppcheck-suppress
...
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
Martine Lenders
c3cc0101ab
Merge pull request #10024 from miri64/tests/fix/gnrc_sixlowpan-test-stacksize
...
tests/gnrc_sixlowpan: fix stacksize of dummy device
2018-09-25 09:29:48 +02:00
smlng
6d24033bd6
dist/tools: print OS and Kernel version
...
Add output to print_toolchain_version script to include info
on the operating system and its kernel version.
2018-09-25 09:22:42 +02:00
smlng
87505f0334
dist/tools: fix whitespace in print_toolchain_versions
2018-09-25 09:22:41 +02:00
smlng
c73ed667c1
dist/tools: print more tool versions
...
This adds openocd, python, python2, and python3 to the helper
script print_toolchain_versions.sh.
2018-09-25 09:22:41 +02:00
smlng
424830b06b
dist/tools: parse version info from stderr
...
Currently version information of commands and tools is only parsed
from STDOUT, however some tools like openocd print version info
to STDERR only. This commits adds parsing of STDERR for version
infos if STDOUT does not contain such info.
2018-09-25 09:22:41 +02:00
Vincent Dupont
1f2985dfc6
Merge pull request #9952 from OTAkeys/at_fix_buffer_memset
...
at driver: allow using same buffer for command and response in at_send_cmd_get_lines()
2018-09-24 17:33:58 +02:00
Martine Lenders
925b9c6422
tests/gnrc_sixlowpan: fix stacksize of dummy device
...
This was already too small in 6c2510dc
so it should have been properly
tested. Now that we are testing it on CI with binaries compiled by LLVM
this leads to crashes with this "new" platform.
2018-09-24 16:18:42 +02:00
Bennet Blischke
a4b1e1c367
Adding default uart configuration to bluepill docs
...
truncated the lines to fit into a 80 character limit
2018-09-23 16:40:33 +02:00
Dylan Laduranty
028bc2a3e4
Merge pull request #9996 from haukepetersen/fix_gpioirq_sam0_common
...
cpu/sam0_common/gpio: use gpio_irq feature
2018-09-23 12:14:11 +02:00
Martine Lenders
606a294970
Merge pull request #9979 from SemjonKerner/add_irq_dis_enable_test
...
tests/periph_gpio: add interrupt enable disable command
2018-09-21 17:11:39 +02:00
Gaëtan Harter
fc32f81981
Merge pull request #9734 from miri64/pkg/fix/blacklist-llvm
...
pkg: blacklist selected `pkg`s for LLVM/clang
2018-09-21 15:33:49 +02:00
Martine Lenders
58f71508b9
jerryscript: blacklist LLVM/clang
2018-09-21 14:54:53 +02:00
91f711010e
Merge pull request #9980 from silkeh/libhydrogen
...
pkg: add libhydrogen
2018-09-21 14:28:04 +02:00
Silke Hofstra
398d1d44d2
pkg: add libhydrogen
2018-09-21 13:48:00 +02:00
Joakim Nohlgård
c4016fcf3b
Merge pull request #9978 from haukepetersen/fix_periph_gpiofeaturescopeanddoc
...
periph/gpio: fix doc of `periph_gpio_irq` submodule
2018-09-21 13:15:19 +02:00
Semjon Kerner
64dc5e7dd4
tests/periph_gpio: add interrupt enable disable command
2018-09-21 11:24:46 +02:00
Joakim Nohlgård
bf7bbec6ec
Merge pull request #9981 from haukepetersen/fix_gpio_ifdefextintfuncs
...
tests/periph_gpio: make IRQ related functionality optional
2018-09-21 10:30:00 +02:00
1c2dd28c90
Merge pull request #9937 from dylad/fix_mutex_tsl2561
...
drivers/tsl2561: add missing acquire∕release functions
2018-09-21 10:28:42 +02:00
Hauke Petersen
2267499873
cpu/nrf5x/gpio: use periph_gpio_irq feature
2018-09-21 09:19:08 +02:00
Hauke Petersen
bd66184eb2
periph/gpio: re-add irq functions to doxygen
2018-09-21 08:31:09 +02:00
Hauke Petersen
abc11c8e23
periph/gpio: fix scope of GPIO_IRQ submodule
...
Move the gpio_irq_enable() and gpio_irq_disable() functions
into the scope of the PERIPH_GPIO_IRQ submodule.
2018-09-21 08:30:29 +02:00
Hauke Petersen
0b616acbc6
tests/periph_gpio: make IRQ commands optional
...
only include irq related shell commands in case the
PERIPH_GPIO_IRQ feature is selected
2018-09-21 08:23:44 +02:00
Hauke Petersen
25e901ef73
cpu/stm32f1/gpio: use gpio_irq feature
2018-09-21 08:20:04 +02:00
Hauke Petersen
a956d71a67
cpu/stm32_common/gpio: use gpio_irq feature
2018-09-21 08:19:51 +02:00
Hauke Petersen
e53abca10a
cpu/sam3/gpio: use gpio_irq feature
2018-09-21 08:19:41 +02:00
Hauke Petersen
6afd0efdd8
cpu/sam0_common/gpio: use gpio_irq feature
2018-09-21 08:19:31 +02:00
Hauke Petersen
72986ecb9b
cpu/lpc2387/gpio: use gpio_irq feature
2018-09-21 08:19:15 +02:00
Hauke Petersen
4913dfaa9f
cpu/lpc1768/gpio: use gpio_irq feature
2018-09-21 08:18:55 +02:00
Hauke Petersen
1a7978000e
cpu/lm4f120/gpio: use gpio_irq feature
2018-09-21 08:18:42 +02:00
Hauke Petersen
be94b99eda
cpu/fe310/gpio: use gpio_irq feature
2018-09-21 08:18:14 +02:00
Hauke Petersen
15ca5e8c93
cpu/ezr32wg/gpio: use gpio_irq feature
2018-09-21 08:18:04 +02:00
Hauke Petersen
8ff5c91d9f
cpu/esp8266/gpio: use gpio_irq feature
2018-09-21 08:17:52 +02:00
Hauke Petersen
84066ea11d
cpu/cc26x0/gpio: use gpio_irq feature
2018-09-21 08:17:26 +02:00
Hauke Petersen
36d88c2c40
cpu/cc2538/gpio: use gpio_irq feature
2018-09-21 08:16:37 +02:00
Hauke Petersen
94ff02f3c4
cpu/atmega/gpio: use gpio_irq feature
2018-09-21 08:11:20 +02:00
Joakim Nohlgård
3466a862df
Merge pull request #9985 from kaspar030/add_missing_string.h_includes
...
sys: add missing <string.h> includes
2018-09-21 06:51:01 +02:00
Joakim Nohlgård
543fad7c75
Merge pull request #9986 from kaspar030/saul_stddef_include
...
sys: saul: add missing stddef.h include (for NULL)
2018-09-21 06:26:22 +02:00
3db24b4603
sys: saul: add missing stddef.h include (for NULL)
2018-09-20 23:54:46 +02:00
05b6af466c
sys: add missig <string.h> includes
2018-09-20 23:47:40 +02:00
Peter Kietzmann
b0ff74bac2
Merge pull request #9951 from leandrolanzieri/pr/sensebox_adc
...
boards/sensebox_samd21: Add ADC configuration
2018-09-20 18:27:21 +02:00
Leandro Lanzieri
a5cc36ed32
boards/sensebox_samd21: Add ADC support
...
boards/sensebox_samd21: Modify ADC documentation
2018-09-20 17:49:32 +02:00
Joakim Nohlgård
1f83769e2b
Merge pull request #9935 from cladmi/pr/make/package_build_target
...
Makefile.include: replace $(USEPKG:%=$(BINDIR)/%.a) target
2018-09-20 17:32:45 +02:00
Peter Kietzmann
e1f4d8a76f
Merge pull request #9954 from leandrolanzieri/pr/sensebox_bmp280
...
boards/sensebox_samd21: Add BMP280 I2C address
2018-09-20 17:32:14 +02:00
Hauke Petersen
ef4bd75412
Merge pull request #9035 from SemjonKerner/driver_sensor_srf04
...
drivers/srf04: range finder sensor
2018-09-20 16:01:18 +02:00
cladmi
4652cb2b28
Makefile.include: Replace pkg archive file targets by phony targets
...
It fixes issues with the current rule that it is wrong that each
`$(BINDIR)/pkgname.a` is built by going in the package directory:
* `nordic_softdevice_ble.a` is built using `DIRS` and so the
`$(APPLICATION_MODULE).a` target.
* It prevents having packages that are pseudomodules, which may be
required to only use one "library" part of a package.
It also simplifies handling changes in 'ld -r' PR that could produce
objects instead of archives for packages.
Limitation of the current implementation
----------------------------------------
It removes rules being 'file' target and makes them depend on `.PHONY`
targets so always forces re-build.
But having a file target whose file is silently generated by another
target does not trigger a rebuild in Make.
They may have been declared as `order-only` prerequisites but as there are
some edge-cases that may not always work and does not currently add anything,
it was decided to keep them as normal prerequisites until it can be
globally solved.
2018-09-20 15:47:42 +02:00
Semjon Kerner
071b8dfa98
tests/srf04: test application for srf04 driver
2018-09-20 15:18:49 +02:00