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

37377 Commits

Author SHA1 Message Date
Gunar Schorcht
007e29ebb5 cpu/periph/i2c: update implementations to new I2C API
Make all `spi_acquire` implementations return `void` and add assertions to check for valid device identifier where missing.
2021-11-29 06:35:25 +01:00
Gunar Schorcht
3d93b2bcf0 drivers/periph/i2c: i2c_acquire() returns void
Since all implementations simply return 0 and most drivers do not check the return value, it is better to return void and use an assert to ensure that the given device identifier and given device parameters are correct.
2021-11-29 06:35:25 +01:00
7d4a2503c6
Merge pull request #17282 from benpicco/cppcheck-disable
static-tests: disable cppcheck
2021-11-29 00:28:19 +01:00
Benjamin Valentin
d9387fd82d static-tests: disable cppcheck
cppcheck produces too many false positives to be useful.
This is likely due to a configuration error (not all header files are included?)
but until this is sorted out, disable the tool as it currently does more harm
than good.
2021-11-28 21:43:34 +01:00
Francisco
e8ac26dd67
Merge pull request #17259 from luojia65/pandora-board
boards: add board support for Alientek Pandora
2021-11-26 17:31:13 +01:00
Leandro Lanzieri
d962787043
Merge pull request #17274 from fjmolinas/pr_kconfig_nrf51
cpu/nrf51: model kconfig
2021-11-26 12:55:27 +01:00
Leandro Lanzieri
f3b3336d43
Merge pull request #17094 from MrKevinWeiss/pr/kconfig/showinfom
.murdock: Add modules/pkgs diff of make/kconfig
2021-11-26 11:19:37 +01:00
luojia65
de32f3a8bb boards/alientek-pandora: Add support for Alientek Pandora
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-11-26 01:49:25 -08:00
Francisco Molina
b69513a58f tests/board_calliope-mini: merge into tests/microbit, add Kconfig 2021-11-26 10:39:40 +01:00
Francisco Molina
3a4f30ec80 drivers/periph_common: add periph_uart_hw_fc 2021-11-26 10:39:40 +01:00
Francisco Molina
272ebd73f4 drivers/bmx055: add saul_default Kconfig selection 2021-11-26 10:39:40 +01:00
Francisco Molina
2ec6a00734 tests/saul: add Kconfig 2021-11-26 10:39:40 +01:00
Francisco Molina
cfb53fef39 boards/common/nrf51: add initial Kconfig modeling
- add airfy-beacon
- add calliope-mini
- add microbit
- add nrf51dk
- add nrf51dongle
- add nrf6310
- add yunjia-nrf51822
2021-11-26 10:39:40 +01:00
MrKevinWeiss
ecb0b17910
makefiles/kconfig: Prevent pkg-prepare for info-packages
As the packages need to be downloaded before they can be included in menuconfig it becomes a bit pointless.
This also messes around with make info-packages, adding unwanted output
2021-11-26 09:26:25 +01:00
MrKevinWeiss
fb6b929cec
Makefile.include: Hide kconfig warning for CI 2021-11-26 09:26:25 +01:00
MrKevinWeiss
e191887450
.murdock: Add modules/pkgs diff of make/kconfig 2021-11-26 09:26:24 +01:00
bab0514af7
Merge pull request #17272 from fjmolinas/pr_ztimer_auto_init
sys/ztimer: remove double ztimer indirection
2021-11-26 08:51:32 +01:00
Francisco Molina
56b14d5e80 boards/calliope-mini: add nrf51 common dependencies 2021-11-26 08:48:23 +01:00
Francisco
16b881dcff
Merge pull request #17266 from fjmolinas/pr_tsrb_peek
sys/tsrb: add peek functions
2021-11-26 08:20:34 +01:00
Francisco
1fda5b3501
Merge pull request #17269 from fjmolinas/pr_result_output_sort
sys/test_utils/result_output: add sort to multiple output check
2021-11-26 08:20:09 +01:00
Gunar Schorcht
86e5374393
Merge pull request #17271 from yarrick/cppcheck
Fix some cppcheck errors
2021-11-26 08:14:55 +01:00
Dylan Laduranty
8138a3ed69
Merge pull request #17263 from leandrolanzieri/pr/boards/saml1x/model_kconfig
boards/common/saml1x: model kconfig
2021-11-25 17:34:37 +01:00
Martine Lenders
1b9146ec21
Merge pull request #17134 from miri64/cppcheck/enh/all-errors
cppcheck: output all annotations as error
2021-11-25 13:12:53 +01:00
Erik Ekman
7825512d18 cpu/riscv_common: Suppress cppcheck error
cpu/riscv_common/thread_arch.c:188: error (comparePointers): Subtracting pointers that point to different objects
2021-11-25 13:08:51 +01:00
Erik Ekman
b5f96d2040 cpu/cortexm_common: Suppress cppcheck errors
cpu/cortexm_common/thread_arch.c:262: error (comparePointers): Comparing pointers that point to different objects
cpu/cortexm_common/thread_arch.c:266: error (comparePointers): Subtracting pointers that point to different objects
2021-11-25 13:08:51 +01:00
Erik Ekman
46f599c1a9 tests/fault_handler: Suppress cppcheck errors
This code is supposed to hit the null pointer.

tests/fault_handler/main.c:43: error (nullPointer): Null pointer dereference: (volatile unsigned int*)(0x00000000u)
tests/fault_handler/main.c:44: error (nullPointer): Null pointer dereference: (volatile unsigned int*)(0x00000000u)
2021-11-25 13:08:51 +01:00
Erik Ekman
e5d60176e4 cpu/esp: Suppress cppcheck errors
cpu/esp_common/syscalls.c💯 error (memleak): Memory leak: mtx
cpu/esp_common/syscalls.c:131: error (memleak): Memory leak: rmtx
cpu/esp_common/syscalls.c:365: error (comparePointers): Subtracting pointers that point to different objects

cpu/esp_common/thread_arch.c:355: error (comparePointers): Comparing pointers that point to different objects

cpu/esp8266/startup.c:59: error (comparePointers): Subtracting pointers that point to different objects
2021-11-25 13:08:51 +01:00
Francisco Molina
dbdaa776e4 drivers/mma8x5x: add HAVE_MMA8X5X 2021-11-25 12:33:40 +01:00
Francisco Molina
bbda5fabfe boards/*microbit*: move saul_gpio inclusion to common 2021-11-25 11:55:28 +01:00
Leandro Lanzieri
776875a94c
boards/common/saml1x: model Kconfig 2021-11-25 11:37:26 +01:00
Francisco Molina
d0758b5a7e sys/ztimer: remove double ztimer indirection
To avoid confusions between `auto_init_ztimer` and `ztimer_auto_init`
rename `ztimer_auto_init` to `ztimer_init`.

This allows for similar handling as `saul_init_devs` and
`auto_init_devs`. Dependencies are therefore done against the USEMODULE
and not DEFAULT_MODULE or checking DISABLE_MODULE. For this, both
`ztimer_init` and `auto_init_ztimer` are added to DEFAULT_MODULE and
both need disabling if the user does not want that module in.

With this, the comment in Kconfig no longer applies.
2021-11-25 11:26:34 +01:00
Erik Ekman
c0004920ec tests/malloc: Fix cppcheck error
tests/malloc/main.c:123: error (preprocessorErrorDirective): Bad suppression attribute '(should'.
You can write comments in the comment after a ; or //. Valid suppression attributes; symbolName=sym
2021-11-25 11:13:30 +01:00
Francisco Molina
dd47953178 sys/test_utils/result_output: add sort to multiple output check 2021-11-25 10:44:55 +01:00
0149a860c9
Merge pull request #17264 from fjmolinas/pr_pkg_uwb_core_fixes
pkg/uwb-core: multiple cleanups
2021-11-25 10:21:17 +01:00
Erik Ekman
0de8bfaadc
Merge pull request #17175 from yarrick/dualstack
pkg/lwip: Don't control IPv6 via IPv4 flag
2021-11-25 00:59:07 +01:00
Francisco Molina
857f3c3c51 sys/tsrb: add peek functions 2021-11-24 17:54:44 +01:00
97758b8169
Merge pull request #17120 from aabadie/pr/pkg/openthread_ztimer
pkg/openthread: migrate to ztimer
2021-11-24 17:34:25 +01:00
Francisco Molina
c860fc99bf pkg/uwb_core: configure and set autoack in init 2021-11-24 17:01:47 +01:00
Francisco Molina
1704c7e686 pkg/uwb-dw1000: enable frame filtering by default 2021-11-24 17:01:47 +01:00
Francisco Molina
d0e8d3aa24 pkg/uwb-core: allow using event-thread 2021-11-24 17:01:47 +01:00
c31dae311a
pkg/openthread: migrate to ztimer 2021-11-24 14:00:44 +01:00
Marian Buschsieweke
45add49342
Merge pull request #17195 from maribu/tests/unittests
tests/unittests: fix unaligned access
2021-11-24 08:04:40 +01:00
benpicco
e46bd4b903
Merge pull request #17258 from benpicco/dist/tools/radvd-help
tools/radvd: fix help text
2021-11-23 20:38:35 +01:00
Benjamin Valentin
851906763b tools/radvd: fix help text
radvd can be started on any interface, not just tap devices.
The help text is confusing.
2021-11-23 20:02:47 +01:00
Marian Buschsieweke
3bb5588b28
Merge pull request #17256 from maribu/sys/atomic_utils
sys/atomic_utils: add atomic_{load,store}_ptr()
2021-11-23 18:15:31 +01:00
6c8181aa7e
Merge pull request #17110 from aabadie/pr/drivers/dsp0401_ztimer
drivers/dsp0401: migrate to ztimer
2021-11-23 17:03:28 +01:00
f47db6f2c2
drivers/dsp0401: migrate to ztimer 2021-11-23 15:58:56 +01:00
Marian Buschsieweke
c360b13e60
tests/sys_atomic_utils_unittests: Extend test coverage 2021-11-23 14:24:15 +01:00
Marian Buschsieweke
78ded2dd08
sys/atomic_utils: add atomic_{load,store}_ptr() 2021-11-23 14:23:50 +01:00
Kevin "Tristate Tom" Weiss
0ddbe042eb
Merge pull request #17240 from leandrolanzieri/pr/boards/common/arduino-due/model_kconfig
boards/common/arduino due: model kconfig
2021-11-23 13:09:08 +01:00