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
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
36f533e7ae
Merge pull request #11839 from kb2ma/nanocoap/option_func_doc
...
net/nanocoap: document internal option functions
2019-07-18 23:06:54 +02:00
Dylan Laduranty
ca329dbb1d
Merge pull request #11854 from benpicco/sam0-doc_fix
...
cpu/sam0: update doc.txt with new MCU families
2019-07-18 14:34:48 +02:00
Juan I Carrano
3c7efb2213
Merge pull request #11849 from cladmi/pr/hamilton/oflags
...
boards/hamilton: remove OFLAGS '-O binary'
2019-07-18 12:03:34 +02:00
Kevin "Bear Puncher" Weiss
f932999df4
Merge pull request #11853 from sanjuprakashk/testrunner-timeout
...
dist/pythonlibs/testrunner: dynamic changing of test timeout
2019-07-18 11:57:31 +02:00
Ken Bannister
64ba8e4ea9
net/nanocoap: document internal option functions
2019-07-18 05:21:40 -04:00
8150b014b1
Merge pull request #11801 from kaspar030/update_pkg_libcose
...
pkg/libcose: bump version
2019-07-18 09:44:32 +02:00
Kees Bakker
ea11de5258
tests/evtimer_msg: modify test to delete entries
...
The evtimer_msg test is expanded to also delete entries.
Furthermore the messages that are printed should now show
numbers that are very close (if not equal). Something like
this:
At 740 ms received msg 0: "#2 supposed to be 740"
At 1081 ms received msg 1: "#0 supposed to be 1081"
At 1581 ms received msg 2: "#1 supposed to be 1581"
At 4035 ms received msg 3: "#3 supposed to be 4035"
The function evtimer_print is also called to show the
intermediate status of evtimer entries.
2019-07-17 20:52:12 +02:00
Kees Bakker
d2cd666841
evtimer: in evtimer_print also print first event
2019-07-17 20:51:32 +02:00
Kees Bakker
629e96ea80
evtimer: refactor adding and deleting events
2019-07-17 20:51:32 +02:00
Martine Lenders
6320fdebe9
Merge pull request #11855 from cladmi/pr/tests/unittest/split/devfs
...
tests/devfs: move tests-devfs out of unittests
2019-07-17 16:42:55 +02:00
MrKevinWeiss
08ef6a7e22
boards/openmote-b: Set boot pin to input
...
Some boards seem to lock the bootloader if the boot pin is high
It must be set to input to prevent contention from the msp430 line controller
2019-07-17 16:39:55 +02:00
Kevin "Bear Puncher" Weiss
5b79d41922
Merge pull request #11856 from cladmi/pr/tools/jlink/reset_commands
...
dist/jlink.sh: Allow overwriting the 'reset' commands
2019-07-17 16:30:11 +02:00
Gaëtan Harter
78ca09dd43
tests/devfs: move tests-devfs out of unittests
...
This moves unittests/tests-devfs to its own test.
It prevents requiring `periph_hwrng` in the `unittests`.
2019-07-17 16:05:39 +02:00
Gaëtan Harter
5ed65989ed
dist/jlink.sh: Allow overwriting the 'reset' commands
...
Add a variable to configure the reset commands.
This is required for board that need a hardware reset.
2019-07-17 15:29:51 +02:00
sanjuprakashk
d30bd7ae47
dist/pythinlibs/testrunner: dynamic changing of test timeout
...
Few flashers require a longer time to flash code and reset the device and
requires the test script to wait for a longer time before timing out.
This commit adds a environment variable "RIOT_TEST_TIMEOUT" that can be
set by the user to vary the timeout in accordance to the requirements
of the system
on-behalf-of: @sparkmeter <sanju.kannioth@sparkmeter.io>
2019-07-17 06:25:28 -07:00
21e796d6f9
Merge pull request #11841 from kaspar030/bump_git_cache
...
dist/tools/git/git-cache: bump version
2019-07-17 13:21:59 +02:00