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

28547 Commits

Author SHA1 Message Date
Martine Lenders
55a7010a0a
Merge pull request #13157 from nmeum/pr/fuzzing_tcp_only
Add AFL-based fuzzing setup for network modules
2020-04-18 10:54:14 +02:00
Cenk Gündoğan
6859de7855 nanocoap: export coap_opt_get_uint() 2020-04-17 22:39:44 +02:00
Akshai M
be097f8533 drivers/cc110x : Expose to Kconfig
Expose Configurations to Kconfig
2020-04-17 23:55:07 +05:30
Akshai M
01a8c64e39 drivers/cc110x : Add CONFIG_
Add Add CONFIG_ Prefix for CC110X_DEFAULT_CHANNEL
2020-04-17 23:27:01 +05:30
Sören Tempel
24d71f9d15 makefiles: Add the fuzzing/ directory to APPLICATION_DIRS
This should ensure that fuzzing applications are build by the CI.
2020-04-17 17:11:15 +02:00
Sören Tempel
830479ece5 fuzzing: Add some documentation on writing fuzzing applications 2020-04-17 17:11:15 +02:00
Sören Tempel
0a189c2d73 fuzzing/gnrc_tcp: Initialize 2020-04-17 17:11:15 +02:00
Sören Tempel
ac9c1f4a69 gnrc_tcp: disable checksum checks during fuzzing 2020-04-17 17:11:15 +02:00
Sören Tempel
24468bead6 fuzzing: Initialize
This adds a new subdirectory called `fuzzing/` which will contain
applications for fuzzing various RIOT network modules in the future.
This subdirectory is heavily inspired by the `examples/` subdirectory.

The fuzzing applications use AFL as a fuzzer. Each application contains
Makefiles, source code, and an input corpus used by AFL to generate
input for fuzzing.
2020-04-17 17:11:15 +02:00
Leandro Lanzieri
2f75c60527
Merge pull request #13881 from akshaim/kconfig_ads101x
drivers/ads101x : Expose Configurations to Kconfig
2020-04-17 15:39:07 +02:00
Ken Bannister
c267633d74 examples/gcoap: add ability to generate CoAP ping request 2020-04-17 08:15:20 -04:00
Ken Bannister
6eae4ded84 net/gcoap: create CoAP ping request 2020-04-17 08:15:20 -04:00
Ken Bannister
f5a85e2aff net/gcoap: handle CoAP ping request 2020-04-17 08:15:20 -04:00
Ken Bannister
2d3eb1a343 net/nanocoap: validate empty message length 2020-04-17 08:15:20 -04:00
Leandro Lanzieri
a5ba4aef7f
Merge pull request #13888 from kb2ma/gcoap_cli/fix_variable_scope
examples/gcoap: fix variable scope
2020-04-17 13:57:21 +02:00
Leandro Lanzieri
369eda6bd9
Merge pull request #13831 from akshaim/I2C_Address_Cleanup
I2C Address Cleanup and Documentation
2020-04-17 13:42:35 +02:00
Akshai M
137a1c08b4 drivers/ads101x : Expose to Kconfig
Expose Configurations to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-17 16:43:16 +05:30
Akshai M
b20e408854 drivers/ads101x : Add CONFIG_
Add CONFIG_ Prefix for configuring the Compile time macros
2020-04-17 16:43:16 +05:30
Ken Bannister
19ecbb0eba examples/gcoap: fix statement formatting 2020-04-17 07:07:20 -04:00
Ken Bannister
937ffaf1e9 examples/gcoap: fix reference to variable out of scope 2020-04-17 07:05:13 -04:00
Marian Buschsieweke
32694e0931
Merge pull request #13886 from benpicco/drivers/at25xxx_api_conformity
drivers/at25xxx: return read/written bytes to match MTD API
2020-04-17 12:52:16 +02:00
Akshai M
b75fc0cfa6 drivers/include/tcs37727.h : Remove ifndef for I2C
Remove ifndef and better formatting for Doxygen
2020-04-17 15:45:37 +05:30
Akshai M
de5db5c99d drivers/include/mpl3115a2.h : Remove ifndef for I2C 2020-04-17 15:45:37 +05:30
Akshai M
c6f55b6f81 drivers/include/lpsxxx.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-17 15:45:19 +05:30
Joakim Nohlgård
2013ac75f5
gnrc_netif: Add support for internal event loop
Enabled by the gnrc_netif_events pseudo module. Using an internal event
loop within the gnrc_netif thread eliminates the risk of lost interrupts
and lets ISR events always be handled before any send/receive requests
from other threads are processed.
The events in the event loop is also a potential hook for MAC layers and
other link layer modules which may need to inject and process events
before any external IPC messages are handled.

Co-Authored-By: Koen Zandberg <koen@bergzand.net>
2020-04-17 12:02:39 +02:00
Benjamin Valentin
6ca7ac949a tests/driver_at25xxx: adapt to change in driver API 2020-04-17 11:58:45 +02:00
Benjamin Valentin
8a2a936726 drivers/at25xxx: return read/written bytes to match MTD API
The MTD API expects read() to return the number of read bytes and
write() to return the number of written bytes.

So change the driver API to match that.
2020-04-17 11:32:06 +02:00
Akshai M
f705b0e5af drivers/include/l3g4200d.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:08:39 +05:30
Akshai M
e2b3175a1c drivers/include/isl29020.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:07:58 +05:30
Akshai M
6757d97766 drivers/include/hts221.h : Remove ifndef for I2C 2020-04-17 14:07:58 +05:30
Akshai M
1e6c0e3935 drivers/include/ds1307.h : Remove ifndef for I2C 2020-04-17 14:07:58 +05:30
Akshai M
c59e17ea19 drivers/include/bmx055.h : Expose Parameters
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:06:07 +05:30
Martine Lenders
40c3de4b0f
Merge pull request #13876 from benpicco/examples/gnrc_border_router_slip_fix
dist/tools: add sliptty to host-tools
2020-04-17 00:39:22 +02:00
Benjamin Valentin
5ec8a582f9 examples/gnrc_border_router: make SLIP use host-tools 2020-04-16 23:59:31 +02:00
Benjamin Valentin
0943f867db dist/tools: add sliptty to host-tools 2020-04-16 23:59:31 +02:00
Martine Lenders
94e08b9307
Merge pull request #13882 from miri64/tests/fix/emcute-samr21-xpro
tests/emcute: add small inter-packet gap between server replies
2020-04-16 23:34:09 +02:00
benpicco
17f1a85bf1
Merge pull request #12415 from maribu/nucleo_board_init
boards/common/nucleo: Marked board_init as weak
2020-04-16 23:30:19 +02:00
Martine S. Lenders
05b5db1a66
tests/emcute: add small inter-packet gap between server replies
On `samr21-xpro` not all UDP packets were received, leading to the
testing automaton to get into an invalid state and failing. This small
delay between `sendto()` fixes that issue.
2020-04-16 22:19:51 +02:00
Martine Lenders
60a79012e6
Merge pull request #13871 from fjmolinas/pr_cleanup_pseudo_submodules
Makefile: remove usage of SUBMODULES_NOFORCE
2020-04-16 20:02:12 +02:00
Francisco
85cbc049ef
Merge pull request #13853 from kaspar030/simplify_xtimer_now32_overflow_test
tests/xtimer_now32_overflow: simplify
2020-04-16 18:03:51 +02:00
Leandro Lanzieri
76be4dfa8b
Merge pull request #13870 from akshaim/kconfig_hdc1000_1
drivers/hdc1000 : Expose Configurations to Kconfig
2020-04-16 16:53:51 +02:00
Akshai M
79de2512e1 drivers/hdc1000 : Expose to Kconfig
Expose Configurations to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-16 19:16:43 +05:30
4ac5e5bd63 tests/xtimer_now32_overflow: simplify 2020-04-16 15:28:07 +02:00
Akshai M
7a4191a8d5 drivers/hdc1000 : Add CONFIG_
Add CONFIG_ Prefix for configuring the Compile time macros
2020-04-16 17:17:27 +05:30
5de5cea83a
Merge pull request #13880 from aabadie/pr/boards/cc1312_launchpad_typo
boards/cc1312-launchpad: fix typo + reword
2020-04-16 12:38:58 +02:00
c1176e961c
boards/cc1312-launchpad: fix typo + reword 2020-04-16 12:08:22 +02:00
benpicco
91200aa6ea
Merge pull request #13867 from btcven/2020_04_14-ccfg-fcfg1
cc26xx_cc13xx: fix CCFG/FCFG1 register offsets
2020-04-15 17:33:12 +02:00
benpicco
7aa62006e7
Merge pull request #13840 from btcven/2020_04_06-uart1
cc26xx_cc13xx: fix UART1 initialization
2020-04-15 17:15:24 +02:00
Francisco Molina
2331448644
Makefile: remove usage of SUBMODULES_NOFORCE
With #10970 only existing *.c files will be added to SRC when using
the SUBMODULES mechanism, so SUBMODULES_NOFORCE (used to filter out
non existing source files) is now redundant so remove the usage.
2020-04-15 12:11:44 +02:00
Benjamin Valentin
bba2231d41 tests: use $(MAKEFILEDIR) 2020-04-15 11:51:15 +02:00