da2230df48
Merge pull request #13999 from fjmolinas/pr_cortexm_inline_irq
...
cpu/cortexm_common: add inlined header only def for irq_%
2020-05-12 21:15:57 +02:00
benpicco
a87c4ef488
Merge pull request #14067 from gschorcht/cpu/esp/fix_make_flash_dependency
...
cpu/esp_common: revert the change in PR 14041
2020-05-12 20:39:05 +02:00
8761c47e43
nrf51: move common SPI implementation
2020-05-12 19:15:25 +02:00
Martine Lenders
b031337e29
Merge pull request #14066 from jue89/fix/fmt_hex_bytes_null
...
sys/fmt: add fmt_hex_bytes size probing
2020-05-12 18:29:52 +02:00
Benjamin Valentin
d34551e8da
cpu/nrf52: use vendor defines for flash size
...
We don't need to define FLASHPAGE_SIZE and FLASHPAGE_NUMOF ourself if
the BPROT peripheral is present.
Now why nrf52840 doesn't have it, I don't know, but for nrf52832 and
nrf23811 the values in BPROT_REGIONS_SIZE and BPROT_REGIONS_NUM match
the values manually provided here before.
2020-05-12 18:10:15 +02:00
Gunar Schorcht
fef3c101b7
Revert "cpu/esp_common: fix dependency of flash target on ELF file"
...
This reverts commit d0cc955394
.
2020-05-12 18:07:48 +02:00
Martine Lenders
e0d628e61b
Merge pull request #14064 from miri64/examples/fix/netif-single
...
examples/emcute: set GNRC_NETIF_SINGLE
2020-05-12 17:41:27 +02:00
Juergen Fitschen
aeb1230266
sys/fmt: add fmt_hex_bytes size probing
2020-05-12 17:39:25 +02:00
benpicco
e3591535ce
Merge pull request #13972 from Citrullin/nrf52_bmp
...
Add bmp config for nrf52
2020-05-12 16:59:34 +02:00
benpicco
1ab4ff7f91
Merge pull request #14061 from benpicco/cpu/nrf5211-fix
...
cpu/nrf52: add missing vendor files
2020-05-12 16:58:32 +02:00
benpicco
0b1a6bb955
Merge pull request #14062 from maribu/corerf
...
boards/microduino-corerf: Fix duplicated includes
2020-05-12 16:58:14 +02:00
Francisco Molina
b5e4224a6f
cpu/cortexm_common: remove special cortexm_sleep handle for stm32l152re
...
__set_PRIMASK(state) had been directly inlined to avoid a hardfault that
occured when branching after waking up from sleep with DBG_STANDBY,
DBG_STOP or DBG_SLEEP set in DBG_CR.
The hardfault occured when returning from the branch to irq_restore,
since the function is now inlined the branch does not happen either.
Refer to #14015 for more details.
2020-05-12 16:37:34 +02:00
Francisco Molina
4ad3164599
cpu/cortexm_common/irq_arch: fix irq_enable return type
2020-05-12 16:37:34 +02:00
Francisco Molina
cb5cbe7431
cpu/cortexm_common: add inlined header only def for irq_%
...
irq_% are not inlined by the compiler which leads to it branching
to a function that actually implement a single machine instruction.
Inlining these functions makes the call more efficient as well as
saving some bytes in ROM.
2020-05-12 16:37:34 +02:00
Martine S. Lenders
3cb746a587
examples/emcute: set GNRC_NETIF_SINGLE
...
The shell command offers no capability to parse the outgoing network
interface in the gateway host, so link-local addresses are not usable
with this example without this patch.
2020-05-12 16:15:02 +02:00
Philipp Blum
3240dfc0b2
boards/common/nrf52: add config for bmp
2020-05-12 15:54:38 +02:00
Martine Lenders
a6fe69b0e8
Merge pull request #13740 from miri64/gnrc_ipv6_nib/fix/abr-add-pio-iface
...
gnrc_ipv6_nib: only add prefix of same interface to ABR
2020-05-12 15:43:45 +02:00
Benjamin Valentin
20a044c956
cpu/nrf52: fix nrf52811 interrupt vector table
...
SPI1 and TWI0 share the same IRQ, not SPI1 and TWI1
2020-05-12 15:10:06 +02:00
Marian Buschsieweke
966b0e22e5
boards/microduino-corerf: Fix duplicated includes
...
avrdude.mk and serial.mk was included twice. As a result of the former, avrdude
wasted one flash cycle and some time by writing the same firmware twice.
2020-05-12 15:00:14 +02:00
Benjamin Valentin
d53bc7bf73
cpu/nrf52: add peripherals.h vendor files
...
Those make our lives much easier.
2020-05-12 14:52:06 +02:00
Benjamin Valentin
fb2f2c456f
cpu/nrf52: add nrf52811 vendor files
2020-05-12 14:49:26 +02:00
Martine S. Lenders
ef1d458089
lwip_sock: re-issue receive events if there are still received messages
...
... after `*_recv()` or `*_accept()` was called.
This prevents a client from needing to call `*_recv()` or `*_accept()`
in a loop.
2020-05-12 14:19:34 +02:00
Martine S. Lenders
d66583b542
gnrc_sock: re-issue MSG_RECV event if there are still received messages
...
... after `*_recv()` was called.
This prevents a client from needing to call `*_recv()` in a loop.
2020-05-12 14:01:56 +02:00
673ba21b9e
Merge pull request #14045 from benpicco/mtd_mapper_sectors
...
mtd_mapper: count offset in sectors
2020-05-12 13:47:12 +02:00
Martine Lenders
fcd36f7b77
Merge pull request #13975 from kaspar030/uncrustify_ztimer
...
sys/ztimer: uncrustify
2020-05-12 13:14:05 +02:00
Martine Lenders
4e6df34576
gnrc_ipv6_nib: only add prefix of same interface to ABR
...
It doesn't make sense for an Authoritative Border Router to manage a
prefix that does not belong to the border router's downstream
interface.
2020-05-12 13:06:20 +02:00
Disconnect3d
d91c19b727
shell/commands: fixed off by one when checking for clearalarm command
2020-05-12 12:39:25 +02:00
6ac3e12661
Merge pull request #14053 from PeterKietzmann/pr_random_sha1prng_optimize
...
sys/random: optimize sha1prng
2020-05-12 12:02:54 +02:00
Benjamin Valentin
81b07895af
mtd_mapper: count offset in sectors
...
The offset of MTD regions must be aligned with erase sectors.
So in order not to waste address space, avoid misconfiguration and
eventually support storage media > 4 GiB, give the offset in sectors
instead of bytes.
2020-05-12 12:02:05 +02:00
benpicco
e45777d077
Merge pull request #13809 from Vinggui/master
...
Added a new flashing parameter for generic cheap St-link and bluepill(-128kib) boards.
2020-05-12 11:48:43 +02:00
adb46b9ee7
Merge pull request #14006 from benpicco/sdcard_fixes
...
pkg/fs: initialize MTD device before accessing it's properties
2020-05-12 11:31:39 +02:00
4042fa2ddf
Merge pull request #13944 from benpicco/drivers/ethos-luid
...
drivers/ethos: use luid_get_eui48()
2020-05-12 10:47:06 +02:00
Kevin "Tristate Tom" Weiss
2444f06440
Merge pull request #12769 from JannesVolkens/can_test
...
tests/conn_can: Add can tranceiver and pin configuration
2020-05-11 22:30:52 +02:00
ba9afe98c3
sys/ztimer: uncrustify
2020-05-11 16:43:50 +02:00
Jannes
f0e994532a
tests/conn_can: Add can tranceiver
...
- Add tja1042 pin configuration to tests/can_trx
- Add ncv7356 pin configuration to tests/can_trx
- Add can transceivers to tests/conn_can
- Add tja1042 pin configuration to tests/conn_can
- Add ncv7356 pin configuration to tests/conn_can
- rename print functions
- Add to CFLAGS
2020-05-11 14:10:42 +02:00
aa2e84218f
Merge pull request #14052 from bergzand/pr/nrf52840dk/add_mtd
...
nrf52840dk: Add MTD configuration
2020-05-11 13:01:33 +02:00
José Alamos
089e0a2b44
Merge pull request #14048 from jue89/fix/gnrc_lorawan_abp
...
net/gnrc/netif/lorawan: fix ABP device activation
2020-05-11 11:34:59 +02:00
PeterKietzmann
eb62ac6ff1
sys/random/sha1prng: make random_init use init_by_array
2020-05-11 10:38:44 +02:00
PeterKietzmann
54d6b0d096
sys/random/sha1prng: remove redundant sha1 update in state transistion
2020-05-11 10:37:24 +02:00
PeterKietzmann
3f626e39ab
sys/random/sha1prng: rename seed size to state size
2020-05-11 10:35:58 +02:00
4f41c60e05
nrf52840dk: Add MTD configuration
2020-05-11 10:26:29 +02:00
benpicco
63a4d126e4
Merge pull request #14008 from Citrullin/nrf52811_cpu
...
Initial nrf52811 support
2020-05-10 17:32:12 +02:00
Philipp Blum
35dcf637f2
cpu/nrf52: add support for nrf52811
2020-05-10 17:10:33 +02:00
Juergen Fitschen
4741b30eff
examples/gnrc_lorawan: fixed README
2020-05-09 20:21:55 +02:00
Juergen Fitschen
1eb3b596c4
net/gnrc/netif/lorawan: fixed ABP device activation
2020-05-09 20:16:29 +02:00
Juergen Fitschen
255c76ff35
net/gnrc/netif/lorawan: fixed deprecated NETOPT_LINK_CONNECTED
2020-05-09 20:11:16 +02:00
Benjamin Valentin
baeb5134b7
drivers/mrf24j40: add Turbo Mode
...
MRF24J40 supports a proprietary turbo mode with a data rate of 625 kbit/s
instead of the standard 250 kbit/s.
It can be enabled through
ifconfig 7 set high_rate 1
2020-05-09 16:10:46 +02:00
Leandro Lanzieri
bf9cfb1992
Merge pull request #13995 from akshaim/Kconfig_isl29020
...
drivers/isl29020 : Expose Configurations to Kconfig
2020-05-08 15:35:44 +02:00
c9b83e3a5a
Merge pull request #13146 from chrysn-pull-requests/nrf52840-dongle-2
...
boards: add support for nrf52840-dongle
2020-05-08 15:31:25 +02:00
chrysn
1c0bdede8d
boards/nrf52840dongle: Add support
...
It includes per-board support for the nrfutil programmer used with its
default bootloader; this is not generalized over Adafruit's boards as
they use incompatible versions of nrfutil.
2020-05-08 14:49:46 +02:00