Martine S. Lenders
4a38dabc70
gnrc_netif_ieee802154: use gnrc_netif_hdr_set_netif()
2019-07-25 14:56:47 +02:00
Martine Lenders
716cbe3f34
Merge pull request #11912 from miri64/gnrc_netif_hdr/enh/netif_setter2
...
gnrc_netif_hdr: add setter for netif (minimal approach)
2019-07-25 14:49:53 +02:00
Martine S. Lenders
b8b1e4c0fb
tests/gnrc_netif: check if if_pid is set correctly in header
...
Previously this was not tested and excepted KERNEL_PID_UNDEF == 0 as
legal value for received `gnrc_netif_hdr`s (which except for the
loopback interface is wrong)
2019-07-25 14:15:37 +02:00
Martine S. Lenders
006f10c2af
gnrc_netif_ethernet: use gnrc_netif_hdr_set_netif()
2019-07-25 14:15:37 +02:00
Martine S. Lenders
c3fe882cfe
gnrc_netif_hdr: add setter for netif
...
This eases the refactoring to a pointer-based approach for network
interfaces.
2019-07-25 14:15:37 +02:00
Marian Buschsieweke
47b0b87d48
boards/msba2,avsextreme: Removed defunct code
...
The MSB-A2 and the Avsextrem board once had support for using the USB
interface of the LPC2387. The code setting up the USB clock has been unused
for ages and is now defunct, as the required value for `USBCLKDivValue` is no
longer present in RIOT's code base. This commits removes the defunct and unused
code.
2019-07-25 10:38:51 +02:00
Marian Buschsieweke
fd559bcdb5
cpu/arm7_common: Cleaned up IRQ code
...
- Moved VIC.c to irq_arch.c for consistent naming scheme
- Removed unused functions IRQenabled, disableFIQ, restoreFIQ, enableFIQ
- There is not header for those functions, so they *cannot* be used
- These is obviously no user, as they *cannot* be used
- There is absolutely no documentation what they would be used for
2019-07-25 10:31:41 +02:00
Martine Lenders
2261aa9115
Merge pull request #11901 from MrKevinWeiss/pr/release/notes
...
release-notes.txt: add notes for 2019.07 release
2019-07-25 10:02:39 +02:00
MrKevinWeiss
87e37a37f8
release-notes.txt: add notes for 2019.07 release
...
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
Co-authored-by: Gaëtan Harter <gaetan.harter@fu-berlin.de>
Co-authored-by: Lanzieri Rodriguez <leandro.lanzieri@haw-hamburg.de>
2019-07-25 09:41:06 +02:00
Francisco Molina
c08801eb65
makefiles/riotboot: pass DEBUG_ADAPTER_ID to bootloader recipes
2019-07-24 16:27:37 +02:00
Gaëtan Harter
78b1ff35a1
uniflash.inc.mk: add variables for configuration files
...
Refactoring to use common variables for the configuration files.
This will allow overwriting the files more easily from outside.
2019-07-24 15:17:42 +02:00
Francisco Molina
c166b73e61
cpu/stm32_common: uniformize define alignments
2019-07-24 09:02:47 +02:00
Francisco Molina
51bc33de97
cpu/stm32l4/stmclk: fix HSE overwride when MSI is enabled
2019-07-23 17:26:26 +02:00
Francisco
7eb579bf4f
Merge pull request #11886 from basilfx/feature/riotboot_assert
...
sys/riotboot: add missing assert.h
2019-07-23 17:12:10 +02:00
Francisco Molina
128e6ed2c9
stm32_common/gpio: remove unused guard
2019-07-23 17:05:37 +02:00
Leandro Lanzieri
b1babe5c19
Merge pull request #11880 from fjmolinas/pr_loramac_no_ack_retcode
...
pkg/semtech-loramac: update documentation
2019-07-23 09:06:19 +02:00
Marian Buschsieweke
7f77d69694
cpu/arm7_common: Fix thread_yield_higher in ISR
...
thread_yield_higher() in interrupt context must not yield immediately, but at
the end of the ISR. This commit fixes the behavior.
2019-07-23 07:55:05 +02:00
Bas Stottelaar
7213a95b31
sys/riotboot: add missing assert.h
2019-07-23 00:25:31 +02:00
Marian Buschsieweke
0729beb3b2
Merge pull request #11883 from cladmi/pr/newib/remove_use_nano_specs_variable
...
sys/Makefile.include: check for newlib_nano instead of USE_NANO_SPECS
2019-07-22 21:04:08 +02:00
Gaëtan Harter
2d5ed4f849
cortexm.inc.mk: remove deprecated USE_NANO_SPECS
...
It was replaced by using directly the `newlib_nano` module.
2019-07-22 16:54:06 +02:00
Gaëtan Harter
225b50c423
sys/Makefile.include: check for newlib_nano instead of USE_NANO_SPECS
...
Check for the usage of `newlib_nano` module instead of the
`USE_NANO_SPECS` variable.
This allows also benefiting from the `printf_float` and `scanf_float`
behaviour on `arm7` and `riscv` cpus.
2019-07-22 16:52:18 +02:00
Francisco Molina
41e440a0ef
pkg/semtech-loramac: extended return code doc and debug msg
...
- Add SEMTECH_LORAMAC_ALREADY_JOINED ret code for semtech_loramac_join
- Add SEMTECH_LORAMAC_TX_CNF_FAILED ret code for semtech_loramac_send
- Update shell commands to notify when no ACK is received on cnf tx
2019-07-22 16:12:23 +02:00
Gaëtan Harter
8859e1e1d9
Makefile.include: Only evaluate RIOT_VERSION when needed
...
This changes CFLAGS_WITH_MACROS to be:
* a deferred variable
* not exported so only evaluated when actually used
The value is only used by `Makefile.include` and `makefiles/eclipse.inc.mk`
so not required to export it.
2019-07-22 12:03:05 +02:00
Gaëtan Harter
cfd4677315
Makefile.include: use GIT_VERSION for RIOT_VERSION
...
Use 'GIT_VERSION' for 'RIOT_VERSION'.
This prevents evaluating 'git describe' and 'git rev-parse' when their
value is not used.
2019-07-22 12:01:18 +02:00
Gaëtan Harter
21649b2cb3
makefiles/git_version.inc.mk: deferred GIT_VERSION definition
...
Move git version evaluation to a separate file.
The definition has been updated it to a deferred only definition.
This way git is not called when GIT_VERSION is not used.
2019-07-22 12:00:45 +02:00
Peter Kietzmann
294fb38381
Merge pull request #11833 from MrKevinWeiss/boards/openmoteb/flashfix
...
boards/openmote-b: Fix flashing issues
2019-07-22 11:51:48 +02:00
Ken Bannister
582db9f9fb
examples/nanocoap: use refactored block control function
2019-07-22 05:42:08 -04:00
Ken Bannister
9dce54b54b
net/nanocoap: refactor block option control use
2019-07-22 05:42:08 -04:00
Ken Bannister
4311f17e81
net/nanocoap: refactor block option put
2019-07-22 05:42:08 -04:00
Juan I Carrano
7dd00b79e9
Merge pull request #11846 from jcarrano/mips32r2_generic-is-gone
...
cpu/mips32r2_generic: remove cpu.
2019-07-22 11:35:24 +02:00
MrKevinWeiss
a24fc7d1a6
boards/openmote-b: Update doc after flash and debug fixes
2019-07-22 10:08:19 +02:00
MrKevinWeiss
36ca186bd1
boards/openmote-b: Fix openmote-b flasher
...
This fixes the JTAG flasher which needs a hw_reset
This is needed since the standard jtag reset command does not work
Since FLASHFILE is assigned in the jlink makefile only the bsl needs something
The FLASHFILE is assigned a hex since the bin takes much longer to flash
2019-07-22 10:08:19 +02:00
3bcc72b614
Merge pull request #11878 from kaspar030/esp32_has_timer_set
...
esp32: define PERIPH_TIMER_PROVIDES_SET
2019-07-21 21:16:49 +02:00
baa4d0ae4f
Merge pull request #11744 from kenrabold/hifive1b
...
boards: Initial support for board HiFive1B
2019-07-19 22:42:43 +02:00
3da6593a54
esp32: define PERIPH_TIMER_PROVIDES_SET
2019-07-19 22:28:27 +02:00
kenrabold
e4bee51a9d
tests/* : blacklisting for hifive1b
2019-07-19 13:25:18 -07:00
kenrabold
5222822260
examples/* : blacklisting for hifive1b
2019-07-19 13:25:17 -07:00
kenrabold
2de4da03ef
cpu/hifive1b: initial HiFive1B support
...
Initial support for HiFive1B board with FE310_G002 CPU
2019-07-19 13:25:17 -07:00
kenrabold
6391913a15
board/hifive1: minor changes for FE310_G000 CPU
...
Minor changes to support both HiFive1 and HiFive1B boards and their respective CPUs
2019-07-19 13:25:17 -07:00
kenrabold
97d1dc0821
cpu/fe310: Add support for FE310_G002
...
Added support for FE310_G002 CPU variant that is on new HiFive1B board
2019-07-19 13:25:17 -07:00
Martine Lenders
7d2cb71c51
Merge pull request #11564 from pokgak/credman
...
sys: add credman (D)TLS credential management module
2019-07-19 16:38:47 +02:00
Marian Buschsieweke
d2d83c3bd0
drivers/dht: Fixed assert on uninitialized data
...
Instead of asserting that parameters are valid, dht_init() contained an assert
on uninitialized data. This commit fixes that assert
2019-07-19 16:14:29 +02:00
Marian Buschsieweke
c75bacceba
drivers/dht: Added error handling
...
Previously the DHT11/DHT21/DHT22 driver ended up in an infinite loop locking up
RIOT when a communication error occurred. This commit adds a simple timeout to
the communication in order to prevent these lock ups.
2019-07-19 15:57:49 +02:00
Marian Buschsieweke
d15b8201b4
Merge pull request #10717 from keestux/refactor-evtimer-add-del
...
sys/evtimer: refactor evtimer add()/del()
2019-07-19 15:00:29 +02:00
Leandro Lanzieri
c7f801283a
Merge pull request #11869 from fjmolinas/pr_lorawan_retcode
...
examples/lorawan: fix semtech_loramac_send TX ret code
2019-07-19 14:27:13 +02:00
Aiman Ismail
0a3f12ebbc
tests: add credman unit tests
2019-07-19 13:56:40 +02:00
Aiman Ismail
a1a6dcd5ae
sys/net: add credman (D)TLS credential manager
2019-07-19 13:56:21 +02:00
Peter Kietzmann
43a5eef0d1
Merge pull request #11863 from pokgak/rename-setup-teardown
...
tests/unittests: rename set_up/tear_down function
2019-07-19 12:57:54 +02:00
Francisco Molina
cdf687ceba
examples/lorawan: fix semtech_loramac_send TX ret code
...
- with #11541 TX notification are only sent after mcps confirm event
this will send a SEMTECH_LORAMAC_TX_DONE instead of
SEMTECH_LORAMAC_TX_OK.
2019-07-19 12:22:53 +02:00
Aiman Ismail
8f75ff6b9a
tests/unittests: rename set_up/tear_down caller
...
Renames the `tests_<module>_<header>_set_up` and in EMB_UNIT_TESTCALLER
`tests_<module>_<header>_tear_down` to `set_up` and `tear_down` respectively.
2019-07-19 12:10:12 +02:00