José Alamos
5e9733645f
Merge pull request #13591 from gschorcht/gnrc/lorawan/fix_set_state
...
gnrc/lorawan: fix netopt_state_t value handling
2020-03-09 10:53:28 +01:00
Gunar Schorcht
3adbbdcf9b
drivers/sx127x: fix length check of netstat_opt_t
in _set
2020-03-08 17:10:46 +01:00
Gunar Schorcht
32c78e3317
gnrc/lorawan: fix netopt_state_t size in link_layer
...
`netopt_state_t` is an enumeration type which is not necessarily 1 byte. If `uint8_t` is used, the cast `*((const netopt_state_t*) val` in `sx127x_netdev::_set`tries to read the real size, which can be more than the given length of 1 byte. Therefore, `netstat_opt_t` has to be used instead of `uint8_t`
2020-03-08 17:10:24 +01:00
980e06bcd6
ci/buildssytem: ensure PYOCD_ADAPTER_INIT is not exported
2020-03-08 15:12:44 +01:00
fb27409b73
makefiles/pyocd: only export PYOCD_ADAPTER_INIT when required
2020-03-08 15:12:44 +01:00
c27870face
ci/buildssytem: ensure FLASH_TARGET_TYPE is not exported
2020-03-08 15:12:44 +01:00
2ec09ebd74
boards/nrf52: remove useless export of FLASH_TARGET_TYPE
2020-03-08 15:12:44 +01:00
2977b06a8d
makefiles/pyocd: only export FLASH_TARGET_TYPE when required
2020-03-08 15:12:44 +01:00
benpicco
2cc3d386fd
Merge pull request #13572 from miri64/sliptty/enh/global-addr
...
sliptty/start_network.sh: configure global address for SLIP interface
2020-03-08 15:04:45 +01:00
Martine Lenders
0bd58bd624
examples: use slip-only option with DHCPv6 for border router
2020-03-08 14:44:50 +01:00
Martine S. Lenders
44baa250f7
CODEOWNERS: update for slipdev and sliptty
2020-03-08 14:44:50 +01:00
Marian Buschsieweke
8fd8c8273f
boards/{nucleo-f103rb,b*pill}: Expose JTAG pins as GPIOs
...
The Nucleo-F103RB comes with an internal SWD programmer/debugger. Thus, the JTAG
pins are not going to be used for debugging / programming anyway. The pins are
exposed on the headers, so allowing them to be used as GPIOs make a lot of
sense.
The Bluepill / Blackpill boards only expose the SWD pins on the debug header,
but the JTAG pins (not also used by SWD) are exposed on the GPIO pin headers.
Hence, exposing them as regular GPIOs seems to be a reasonable choice.
2020-03-08 13:06:34 +01:00
Marian Buschsieweke
e326acfc78
cpu/{stm32r1,stm32_common}: Allow exposing JTAG pins as GPIOs
...
- cpu/stm32f1: Removed previous code in gpio_init() to provide PB4 on the
Nucleo-F103RB only
- cpu/stm32_common: Introduced STM32F1_DISABLE_JTAG which, if defined in
board.h, exposes the JTAG only pins as GPIOs. This keeps the SWD pins, so that
SWD debugging remains possible
2020-03-08 13:05:35 +01:00
Marian Buschsieweke
02a425f114
drivers/cc110x: Handle lost IRQs more gracefully
...
When an IRQ is lost during cc110x_send(), the driver will remain locked until
another IRQ is triggered. This commit changes the behavior to wait for at most
an reasonable upper bound, which is chosen to not only allow the driver to
recover but also (at least in theory) complete the transmission correctly.
2020-03-08 12:49:57 +01:00
3e97c01c33
thingy52: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:42 +01:00
74022a4bb8
ruuvitag: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:42 +01:00
0573db8a85
reel: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:42 +01:00
bef16095df
pinetime: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:42 +01:00
cbd3c1c643
particle-*: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:42 +01:00
822590ad56
nrf52840-mdk: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:41 +01:00
87b2aa5ed9
nrf52832-mdk: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:41 +01:00
71589a11ec
nrf51dk: Enable the nRF51 built-in DC/DC converter
2020-03-07 17:37:41 +01:00
bea3f71f91
nrf52xxxdk: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:41 +01:00
ec2a3d33c8
acd52832: Enable the nRF52 built-in DC/DC converter
2020-03-07 17:37:41 +01:00
64f04e4da9
nrf5x: Add built-in DC/DC converter enable function
...
The internal DC/DC converter is more efficient compared to the LDO
regulator. The downside of the DC/DC converter is that it requires an
external inductor to be present on the board. Enabling the DC/DC
converter is guarded with NRF5X_ENABLE_DCDC, this macro must be defined
if the DC/DC converter is to be enabled.
2020-03-07 17:37:40 +01:00
Sören Tempel
2c1a627118
Add mpu_noexec_ram pseudomodule
2020-03-07 13:09:55 +01:00
95f34e00b9
Merge pull request #13578 from benpicco/tests-auto_init
...
tests: clean up use of auto_init
2020-03-06 20:19:54 +01:00
Martine Lenders
c30f83ac3b
Merge pull request #13579 from jia200x/pr/gnrc_netif_send
...
gnrc_netif_send: add send function
2020-03-06 20:07:45 +01:00
0b082d8cff
sys: extend crypto_* dependency resolution
...
Add dependency resolution for crypto_aes_unroll and
crypto_aes_precalculated pseudomodules
Co-authored-by Gunar Schorcht <gunar@schorcht.net>
2020-03-06 19:54:23 +01:00
5332ecec33
tests/crypto*: use crypto_% modules instead of CFLAGS
2020-03-06 19:49:58 +01:00
bba96a1cd5
examples/gnrc_lorawan: use crypto_aes module instead of CFLAGS
2020-03-06 19:49:58 +01:00
08162f72b6
sys/crypto: update documentation
2020-03-06 19:49:58 +01:00
f6c4e269b1
sys/crypto: define ciphers via pseudomodules
2020-03-06 19:49:58 +01:00
benpicco
dc89c279b2
Merge pull request #13574 from jue89/fix/ztimer_rtt
...
sys/ztimer: fix RTT backend
2020-03-06 18:29:16 +01:00
benpicco
7396d05605
Merge pull request #13575 from fjmolinas/pr_cc2538_rf_deps
...
cpu/cc2538: handle cc2538_rf deps in Makefile.dep
2020-03-06 18:00:51 +01:00
57985806c1
Merge pull request #13562 from jia200x/pr/netdev_irq_end
...
netdev: add netdev_trigger_event_isr() function
2020-03-06 15:37:24 +01:00
Leandro Lanzieri
1ee1a4f817
Merge pull request #12992 from pokgak/pr/kconfig_migrate/tinydtls
...
Kconfig: Expose pkg/tinydtls configurations
2020-03-06 15:29:56 +01:00
Jose Alamos
6143cd800b
gnrc_netif: use gnrc_netif_send where possible
2020-03-06 15:22:58 +01:00
Jose Alamos
ca54366712
gnrc_netif: add send function
2020-03-06 15:22:43 +01:00
Benjamin Valentin
d31eedb831
tests/c11_atomics_cpp_compat: don't disable auto_init
...
There is no reason to disable auto_init for this test.
Since the test only uses stdout, nothing would get initialized
anyway.
2020-03-06 15:20:25 +01:00
Benjamin Valentin
57a0e3acc8
tests/irq: remove USEMODULE += auto_init
...
auto_init is a default module, no need to select it manually.
2020-03-06 15:15:38 +01:00
962679282e
sys/ztimer: fix typo in rtt conversion selection
2020-03-06 14:49:56 +01:00
Gunar Schorcht
fc37d7bf81
Merge pull request #13427 from miri64/lwip/enh/sock_async
...
lwip: provide sock_async support
2020-03-06 14:37:54 +01:00
Juergen Fitschen
61334c3034
ztimer: fix RTT backend
2020-03-06 14:22:06 +01:00
Francisco Molina
80ecac5fde
boards: use cc2538_rf as netdev_default for CPU=cc2538
2020-03-06 14:17:52 +01:00
2ad4ea67e9
sys/ztimer: allow configuring ZTIMER_[UM]SEC adjust value
2020-03-06 14:17:29 +01:00
Francisco Molina
ff6f6618fb
cpu/cc2538: handle cc2538_rf deps in Makefile.dep
2020-03-06 14:17:19 +01:00
benpicco
dbe1270f66
Merge pull request #13568 from benpicco/cc2538-bsl.py-upstream
...
dist/tools/cc2538-bsl: use upstream version
2020-03-06 14:08:09 +01:00
Jose Alamos
3ad574a822
drivers/netdev: use netdev_trigger_event_isr function
2020-03-06 14:03:43 +01:00
Jose Alamos
67bc0e13af
netdev: add netdev_trigger_event_isr function
2020-03-06 14:02:40 +01:00