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

37597 Commits

Author SHA1 Message Date
MrKevinWeiss
1b3374ca25
.murdock: Add same54-xpro to kconfig test 2021-11-29 09:12:30 +01:00
MrKevinWeiss
c26640e82d
boards/adafruit-itsybitsy-m4: Model mtd_spi_nor in kconfig 2021-11-29 09:12:29 +01:00
MrKevinWeiss
9d5e2b808c
boards/avr_rss2: Use at24mac for mtd in make 2021-11-29 09:12:29 +01:00
MrKevinWeiss
fba9cad987
periph/gpio: Model TAMPER_WAKE for kconfig 2021-11-29 09:12:28 +01:00
MrKevinWeiss
f98128f0fb
boards/same54-xpro: Kconfig mtd model 2021-11-29 09:12:28 +01:00
MrKevinWeiss
51f92fa816
drivers/periph_spi: Kconfig SPI_ON_QSPI model 2021-11-29 09:12:27 +01:00
MrKevinWeiss
f6b9637c82
boards/same54-xpro: Add SAUL_GPIO to kconfig 2021-11-29 09:12:23 +01:00
Gunar Schorcht
b7dda22d6e tests: update to new I2C API 2021-11-29 06:35:25 +01:00
Gunar Schorcht
818c127513 sys/shell: update sc_i2c_scan to new I2C API 2021-11-29 06:35:25 +01:00
Gunar Schorcht
d00141b1d4 sys/arduino: update TwoWire class to new I2C API 2021-11-29 06:35:25 +01:00
Gunar Schorcht
312c31dce5 drivers: update to new I2C API 2021-11-29 06:35:25 +01:00
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
Leandro Lanzieri
d19e9c4b97
.murdock: add subset of saml21 boards to test Kconfig 2021-11-26 11:06:50 +01:00
Leandro Lanzieri
dbb57ca9c2
boards/saml21-based: model Kconfig 2021-11-26 11:06:50 +01:00
Leandro Lanzieri
e44ff31560
drivers/sx127x/kconfig: rework modelling 2021-11-26 11:06:50 +01:00
Leandro Lanzieri
398df91a99
sys/usb/usbus: model cdc acm stdio in Kconfig 2021-11-26 11:06:47 +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