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

29165 Commits

Author SHA1 Message Date
Benjamin Valentin
6887e2f40e Makefile.include: update the documentation of $(MAKEFILEDIR) 2020-04-25 19:10:00 +02:00
Akshai M
53c988a06c drivers/pn532 : Add CONFIG_
ADD CONFIG_ prefix to PN532_BUFFER_LEN
2020-04-25 22:33:34 +05:30
benpicco
bb1ff1f635
Merge pull request #13946 from benpicco/examples/gnrc_border_router/ethos_baudrate
examples/gnrc_border_router: don't ignore ETHOS_BAUDRATE
2020-04-25 10:34:44 +02:00
Giuseppe Tipaldi
73ae19e043 test: conn_can: add remote request test example 2020-04-25 10:04:19 +02:00
Giuseppe Tipaldi
1acb24b13e test: conn_can: add remote request test 2020-04-25 10:04:17 +02:00
Martine S. Lenders
cb8a6c36b0
gnrc_ipv6_nib: 6ln: use interface-specific DR for address registration
With multiple 6LoWPAN interfaces the router for the given interface
—the one the triggering RA came over—should be used to register the
address with.

Co-Authored-By: Benjamin Valentin <benpicco@googlemail.com>
2020-04-25 01:20:55 +02:00
Benjamin Valentin
4ed97c75e7 examples/gnrc_border_router: don't ignore ETHOS_BAUDRATE
`ETHOS_BAUDRATE` must be a parameter to `start_network.sh`.
This must have been lost during refactoring.
2020-04-24 23:15:20 +02:00
Benjamin Valentin
d955836187 drivers/ethos: use luid_get_eui48()
Previously the MAC address of the border router was entirely random.
That meant that as a DHCPv6 client it would get a new prefix with every
reboot.

Due to #12210 the nodes will never use the new address.

Fix this by using luid_get_eui48() which will always return the same
address across reboots.

It also makes the code simpler.
2020-04-24 21:18:21 +02:00
Martine S. Lenders
245c04f368
gnrc_ipv6_nib: internal: add capability to search DR by interface
Co-Authored-By: Benjamin Valentin <benpicco@googlemail.com>
2020-04-24 17:57:09 +02:00
Leandro Lanzieri
0beb48a286
Merge pull request #13929 from fjmolinas/pr_rtt_blxxpill
boards/common/blxxxpill: provide periph_rtt
2020-04-24 15:07:34 +02:00
Leandro Lanzieri
e7a1b40cde
Merge pull request #13224 from fjmolinas/pr_xbee_cts_reset
drivers/xbee: disable CTS/RTS pin unless periph_uart_hw_fc is used
2020-04-24 11:18:49 +02:00
Francisco Molina
922b35da2d
drivers/xbee: disable CTS/RTS pin unless periph_uart_hw_fc is used
If usinng an arduino xbee shield then CTS pin will be wired to the
ICSP connector RESET pin.

If also used on an arduino-% board then if xbee is busy sending or
receiving data it will assert CTS and this will trigger a reset on
the board.

To avoid this disable CTS functionality on start up unless hardware
flow control is explicitly requested.
2020-04-24 10:54:36 +02:00
268152bfc9
Merge pull request #13227 from leandrolanzieri/pr/kconfig_migrate/net/coap
net/coap: Expose configurations to Kconfig
2020-04-24 10:44:58 +02:00
Francisco Molina
a72abe5903
boards/common/blxxxpill: provide periph_rtt 2020-04-24 10:44:57 +02:00
5b814dbe98
Merge pull request #13907 from fjmolinas/pr_stm32f1_rtt
cpu/stm32f1: add unified rtt configuration
2020-04-24 10:21:43 +02:00
Leandro Lanzieri
eeea9b7dae
net/coap: Expose configurations to Kconfig 2020-04-24 10:06:45 +02:00
Leandro Lanzieri
9e427e1584
net/coap: Move COAP_MAX_RETRANSMIT to 'CONFIG' namespace
COAP_MAX_RETRANSMIT is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:43 +02:00
Leandro Lanzieri
afe4244ac9
net/coap: Move COAP_RANDOM_FACTOR_1000 to 'CONFIG' namespace
COAP_RANDOM_FACTOR_1000 is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:43 +02:00
Leandro Lanzieri
072a0d8563
net/coap: Move COAP_ACK_TIMEOUT to 'CONFIG' namespace
COAP_ACK_TIMEOUT is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:40 +02:00
Francisco Molina
4d398ab09e
cpu/stm32f1: add unified rtt configuration 2020-04-24 08:57:04 +02:00
Jean Pierre Dudey
0aba7556d0
cc26xx_cc13xx: update VIMS/FLASH documentation
Also i've fixed the register bank offsets, 0x4 was being added without
need.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-23 17:10:18 -05:00
Cenk Gündoğan
0121ff13b8 tests-nanocoap: test adding and retrieving the proxy-uri option 2020-04-23 22:41:46 +02:00
Cenk Gündoğan
c0f4a2c085 tests-nanocoap: add missing full stop in doc 2020-04-23 22:41:12 +02:00
Cenk Gündoğan
4e05a66ca2 nanocoap: add proxy_uri parsing 2020-04-23 22:41:12 +02:00
e9d2fdb29b
Merge pull request #13933 from fjmolinas/pr_rtt_doc
drivers/periph/rtt.h: ensure RTT_MAX_VALUE is set
2020-04-23 22:38:13 +02:00
Francisco Molina
0c0f8ec98f
drivers/periph/rtt.h: add RTT_FREQUENCY & RTT_MAX_VALUE doc 2020-04-23 22:11:16 +02:00
Marian Buschsieweke
9f75501322
tests/ztimer_msg: Use %lu to print times 2020-04-23 21:18:48 +02:00
Marian Buschsieweke
1b44066dbd
tests/xtimer_msg: Use %lu to print times 2020-04-23 21:16:57 +02:00
Marian Buschsieweke
7b67e74bed
sys/net/gnrc: Use %lu to print times 2020-04-23 21:16:57 +02:00
Marian Buschsieweke
654b558343
sys/timex: Fix integer width issue
The macros US_PER_MS and friends are assumed to be 32 bit unsigned integers
by users. However, e.g. on AVR a `1000U` is only 16 bit long. Thus, e.g.
`xtimer_usleep(100 * US_PER_MS)` will wrap around and only sleep for ~34ms.

This commit declares them as unsigned long, which is on all currently supported
platforms 32 bit wide.
2020-04-23 21:16:04 +02:00
Marian Buschsieweke
60aabbec25
tests/event_wait_timeout: Use C11 atomics for IPC
The test currently uses static globals for communication without any protection.
This could lead optimizing C compilers to deduce that access to those are not
needed (e.g. with LTO enabled). Using C11 atomics is the easiest way to tell
the compiler that those accesses are used for communication between two
different threads of execution (here: between the ISR and the main thread).
2020-04-23 21:16:03 +02:00
Francisco Molina
2604971753
drivers/periph/rtt.h: ensure RTT_MAX_VALUE is set 2020-04-23 19:07:18 +02:00
5e5ed8233d
Merge pull request #13922 from kaspar030/ztimer_rtt_maxval_fix
ztimer: periph_rtt: ensure RTT_MAX_VALUE is honored
2020-04-23 18:42:00 +02:00
d8c129fc47 ztimer: periph_rtt: ensure RTT_MAX_VALUE is honored
Previously, ztimer would happily set an absolute RTT alarm value that exceeds
RTT's maximum value (though not a longer interval), as the `val` was
simply added to `rtt_get_counter()`.
This commit ensures that the target value wraps around RTT_MAX_VALUE.

Fixes #13920.
2020-04-23 16:19:25 +02:00
Leandro Lanzieri
341916cd30
Merge pull request #13915 from akshaim/Kconfig_mag3110
drivers/mag3110 : Expose Configurations to Kconfig
2020-04-23 13:21:34 +02:00
Leandro Lanzieri
6ca6737f5f
Merge pull request #13927 from akshaim/Kconfig_motor_driver
drivers/motor_driver : Expose Configurations to Kconfig
2020-04-23 12:25:57 +02:00
Akshai M
fc3ff2a9d9 drivers/mag3110 : Expose to Kconfig
Expose Configurations to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-23 15:50:26 +05:30
Akshai M
9c052a6288 drivers/mag3110 : Add CONFIG_
Add CONFIG_ Prefix for MAG3110_I2C_ADDRESS
2020-04-23 15:49:55 +05:30
Akshai M
c654b4ea3c drivers/motor_driver : Expose to Kconfig
Expose Configurations to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-23 15:21:17 +05:30
Akshai M
39826d6e5b drivers/motor_driver : Add CONFIG_
Add CONFIG_ Prefix for MOTOR_DRIVER_MAX
2020-04-23 15:21:17 +05:30
Leandro Lanzieri
c2c32a42f5
Merge pull request #13926 from akshaim/Kconfig_mma8x5x
drivers/mma8x5x : Expose Configurations to Kconfig
2020-04-23 09:20:09 +02:00
Marian Buschsieweke
fdf955cfb2
Merge pull request #13899 from Hoernchen20/stm32f1_adc
boards/blxxxpill: improve adc
2020-04-22 23:07:26 +02:00
Ken Bannister
f034f64727
Merge pull request #13818 from cgundogan/pr/nanocoap/add-string-non-zero
nanocoap: allow coap_opt_add_string() for non-zero-terminated strings
2020-04-22 15:36:14 -04:00
Hoernchen20
c64f7f72c2 boards/common/blxxxpill: Drop ADC lines used for stdio 2020-04-22 21:16:20 +02:00
Hoernchen20
11618d32c0 cpu/stm32f1/periph_adc: Reduce power consumption 2020-04-22 21:08:20 +02:00
Hoernchen20
4e87682ba1 boards/common/blxxxpill: Add internal ADC lines 2020-04-22 21:08:20 +02:00
Akshai M
ec98054bea drivers/mma8x5x : Expose to Kconfig
Expose Configurations to Kconfig
2020-04-22 22:02:34 +05:30
Akshai M
7e3096eae1 drivers/mma8x5x : Add CONFIG_
Add CONFIG_ Prefix for CONFIG_MMA8X5X_I2C_ADDRESS
2020-04-22 21:57:05 +05:30
Leandro Lanzieri
ee7493429b
Merge pull request #13885 from akshaim/Kconfig_at86rf215
drivers/at86rf215 : Expose Configurations to Kconfig
2020-04-22 13:59:29 +02:00
Cenk Gündoğan
ecc4932d22 unittests/nanocoap: test for adding an unterminated string path 2020-04-22 12:50:50 +02:00