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

30707 Commits

Author SHA1 Message Date
Marian Buschsieweke
3b06234dc0
Merge pull request #14694 from kaspar030/fix_cc2420_go_to_rx_noop
drivers/cc2420: fix bogus cc2420_set_state(dev, CC2420_GOTO_RX) type
2020-08-04 16:41:24 +02:00
Leandro Lanzieri
fe6a35a2ca
Merge pull request #14697 from cgundogan/pr/whitespacecheck
tools: whitespacecheck: use ignore file to easily add expressions
2020-08-04 15:48:48 +02:00
Leandro Lanzieri
d7dbbb71ac
Merge pull request #14226 from benpicco/cpu/sam0_common/i2c_arbitrary_freqs
cpu/sam0_common: i2c: fix BAUD handling & cleanup
2020-08-04 14:49:10 +02:00
d8794d7c5a drivers/cc2420: fix bogus cc2420_set_state(dev, CC2420_GOTO_RX)
It doesn't compile, compiler complains that the enum type of
CC2420_GOTO_RX cannot be converted to netopt_state_t as required by the
function.
The numerical value of CC2420_GOTO_RX would be NETOPT_STATE_IDLE (2), which
makes sense as it puts the device into RX mode.
2020-08-04 13:56:49 +02:00
Cenk Gündoğan
f4e631ffdb tools: whitespacecheck: use ignore file to easily add expressions 2020-08-04 13:19:26 +02:00
Benjamin Valentin
1472d2095c cpu/sam0_common: i2c: document frequency constraints 2020-08-04 12:13:28 +02:00
benpicco
52bf3096cf
Merge pull request #14480 from benpicco/openocd-adapters_swd
openocd-adapters: select transport based on adapter
2020-08-04 11:37:32 +02:00
Cenk Gündoğan
4517e27837
Merge pull request #14684 from leandrolanzieri/pr/kconfig/optimize_integration
makefiles/kconfig.mk: remove duplicate calls to merge_config and cleanups
2020-08-04 11:21:06 +02:00
José Alamos
7967066f51
Merge pull request #14657 from maribu/netdev_doc
drivers/net: Fix netdev_driver_t doc
2020-08-04 10:49:24 +02:00
Benjamin Valentin
8f1d32bb2d boards/common/nrf52: add note about ST-LINKV2 as programmer 2020-08-04 10:36:40 +02:00
Benjamin Valentin
eceb84f9c0 boards/mcb2388: remove transport selection from openocd.cfg 2020-08-04 10:36:40 +02:00
Benjamin Valentin
d06b26dfd8 boards/common/nrf52: remove transport selection from openocd.cfg 2020-08-04 10:36:40 +02:00
Benjamin Valentin
37a10de671 boards/frdm: remove transport selection from openocd.cfg 2020-08-04 10:36:40 +02:00
Benjamin Valentin
0d59e7dc6e makefiles/tools/openocd-adapters: default to SWD, but make it configurable 2020-08-04 10:36:39 +02:00
Leandro Lanzieri
7f1f8ae576
Merge pull request #14652 from akshaim/Kconfig_netif
net/netif : Expose configurations to Kconfig
2020-08-03 20:03:33 +02:00
benpicco
77be30dee6
Merge pull request #14613 from benpicco/openocd-buspirate
makefiles/buspirate: add Bus Pirate as Debug Adapter
2020-08-03 15:34:49 +02:00
Benjamin Valentin
1a04425d7b makefiles/buspirate: add Bus Pirate as Debug Adapter
Flash with PROGRAMMER=openocd DEBUG_ADAPTER=buspirate
2020-08-03 14:10:42 +02:00
Martine Lenders
b043e1fa64
Merge pull request #14683 from miri64/gnrc_sixlowpan_frag_vrb/fix/cppcheck-warning
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
2020-08-03 13:15:52 +02:00
Akshai M
e557fa8ef6 net/netif : Update documentation 2020-08-03 16:10:15 +05:30
Akshai M
1a844b3df6 net/netif : Expose configurations to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-08-03 16:10:00 +05:30
Akshai M
b52e3e1587 net/netif : Move 'NETIF_NAMELENMAX' to 'CONFIG_' 2020-08-03 16:09:21 +05:30
benpicco
4964e4cdf8
Merge pull request #14680 from benpicco/gnrc_ipv6_nib_fix_13741
gnrc/nib: fix _idx_dsts() calculation
2020-08-03 12:38:51 +02:00
Martine S. Lenders
5885293e9e
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
... which wasn't a false positive after all.
2020-08-03 12:29:06 +02:00
Leandro Lanzieri
cf779a7241
makefiles/kconfig.mk: Remove duplicate calls to merge_config 2020-08-03 12:26:05 +02:00
Benjamin Valentin
6af92ee113 gnrc/nib: fix _idx_dsts() calculation
Using pointer difference already gives us the number of elements of
size of what the pointer is pointing to.
Dividing by size will lead to the wrong (always 0) result.
2020-08-03 11:35:54 +02:00
Peter Kietzmann
6adf07caf0
Merge pull request #14672 from jia200x/pr/fix_cc2538_rssi
cc2538: fix RSSI offset
2020-08-03 09:45:16 +02:00
Martine Lenders
763924bcaa
Merge pull request #14674 from benpicco/tools/usb-cdc-ecm/start_network.sh-fix
tools/usb-cdc-ecm/start_network.sh: remove parameters to read
2020-08-02 20:46:52 +02:00
Peter Kietzmann
c1f83aeac8
Merge pull request #14673 from jia200x/pr/fix_nrf_pow
nrf802154: fix set_tx_power function
2020-08-02 15:19:51 +02:00
Benjamin Valentin
6ac24d1a95 tools/usb-cdc-ecm/start_network.sh: remove parameters to read
The `read` implementation on my system doesn't know a `-n` parameter:

    tools/usb-cdc-ecm/start_network.sh: 100: read: Illegal option -n

As the command is only used to block if no terminal is started, we can
as well remove them.
2020-08-02 15:04:02 +02:00
Dylan Laduranty
7bf0879a53
Merge pull request #14416 from benpicco/cpu/sam0/rtc_rtt-merge
cpu/sam0_common: merge RTC & RTT implementation
2020-07-31 22:53:18 +02:00
Benjamin Valentin
4d231d06d0 boards/common/saml1x: drop INTERNAL_OSC32_SOURCE
This is not available on saml1x
2020-07-31 22:04:38 +02:00
Benjamin Valentin
548f59d380 cpu/samd5x: remove RTC workaround
This is no longer needed.
2020-07-31 22:00:09 +02:00
Benjamin Valentin
83a56ae666 cpu/sam0_common: merge RTC & RTT implementation
The RTC and RTT share the same peripheral, so they can also
share the same code.

This is needed to integrate the Tamper Detection into common
RTC/RTT code.
2020-07-31 22:00:09 +02:00
Cenk Gündoğan
9f4f27a8cd
Merge pull request #14659 from leandrolanzieri/pr/kconfig/allow_clean_all
makefiles/kconfig.mk: include KCONFIG_OUT_CONFIG unconditionally
2020-07-31 18:06:26 +02:00
Martine Lenders
46e552ffc0
Merge pull request #14587 from aabadie/master_actions_iotlab
.github/workflows: add CI on IoT-LAB
2020-07-31 17:41:29 +02:00
Jose Alamos
5c824f6f12 nrf802154: fix set_tx_power function 2020-07-31 17:16:10 +02:00
76ba397c2b
.github/workflows: run tests on IoT-LAB 2020-07-31 16:42:02 +02:00
Jose Alamos
519f8f4529 cc2538: fix RSSI offset 2020-07-31 16:08:04 +02:00
Marian Buschsieweke
ee1a10f2e4
Merge pull request #14668 from miri64/tests/fix/sock_tcp
tests/lwip_sock_tcp: fix -EADDRINUSE test
2020-07-31 15:08:00 +02:00
Marian Buschsieweke
f48147b585
Merge pull request #14663 from benpicco/native-fixes
treewide: compile fixes for native
2020-07-31 14:57:41 +02:00
Martine Lenders
dcbb2828ca
Merge pull request #14665 from maribu/pkg_lwip
pkg/lwip: Use IS_ACTIVE() and bugfix
2020-07-31 14:21:42 +02:00
Leandro Lanzieri
6a5c7744cb
makefiles/kconfig.mk: include KCONFIG_OUT_CONFIG always
This allows to include KCONFIG_OUT_CONFIG file in Makefile
unconditionally, which means that `make clean all` is allowed when using
Kconfig.

For this, the recipe for `clean` is guarded with `MAKE_RESTARTS` so
the BINDIR folder is not removed once Make restarts scanning the files.
2020-07-31 13:55:33 +02:00
Benjamin Valentin
492283898e pkg/driver_atwinc15x0: don't be pedantic 2020-07-31 13:38:03 +02:00
Benjamin Valentin
aa0e5e7afa drivers/cc110x: replace binary constants and use unsigned char
binary constants are a GCC extension
2020-07-31 13:38:03 +02:00
Benjamin Valentin
110609195f drivers/encx24j600: use unsigned char 2020-07-31 13:38:03 +02:00
Benjamin Valentin
2e34298265 drivers/nrf24l01p: use unsigned char 2020-07-31 13:38:03 +02:00
Benjamin Valentin
a81c0a544c drivers/kw2xrf: use unsigned char 2020-07-31 13:38:03 +02:00
Benjamin Valentin
e3fd43861c pkg/semtech-loramac: allow pointer <-> function pointer cast
Building on native reveals

    error: ISO C forbids initialization between function pointer and ‘void *’

Let's disable that.
2020-07-31 13:38:03 +02:00
Marian Buschsieweke
00c44b0924
pkg/lwip: Use IS_ACTIVE() & NETCONNTYPE_ISIPV6()
This also fixes an issue detected by `tests/lwip_sock_udp` when both IPv4 and
IPv6 are enabled.
2020-07-31 13:27:09 +02:00
Martine S. Lenders
c90654d4cc
tests/lwip_sock_tcp: fix -EADDRINUSE test
When compiled with `LWIP_IPV4=1 LWIP_IPV6=1` this test currently fails
in current master. This "regression" was introduced with 035acc2e53.
However, after some debugging I think that commit actually revealed a
problem with the test rather than introducing a bug.

The test starts the central server, and then checks if opening a
listening socket on the same port causes an `-EADDRINUSE` error.
The server, on the other hand, starts with `SOCK_FLAGS_REUSE_EP`, so of
course the listening operation may succeed. Instead, let's just call
`sock_tcp_listen` twice with two distinct queue objects. Way easier and
also more correct.
2020-07-31 12:49:36 +02:00