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

23803 Commits

Author SHA1 Message Date
ab8cdace12
Merge pull request #11996 from fjmolinas/pr_libcose_crypto_up
pkg/libcose: update crypto support
2019-09-13 10:10:49 +02:00
Francisco Molina
9e5416239b tests/pkg_libcose: adapt to c25519 and monocypher 2019-09-13 09:50:42 +02:00
aed12b4853
Merge pull request #11252 from fjmolinas/pr_wdg_stm32
cpu/stm32_common: add watchdog for stm32
2019-09-13 09:16:18 +02:00
Francisco Molina
8597952c10 tests: add periph_wdt test 2019-09-13 08:58:20 +02:00
benpicco
66ce29d94c
Merge pull request #12051 from OTAkeys/fix/isotp
can/isotp: fix closing connection and improve flow control handling
2019-09-12 23:01:58 +02:00
Dylan Laduranty
513b767694
Merge pull request #11944 from benpicco/spi_doc-fix
drivers/include/periph/spi: fix documentation
2019-09-12 21:28:21 +02:00
Dylan Laduranty
88fe7afe2b
Merge pull request #12121 from benpicco/sam0-fix_exti
cpu/sam0_common/gpio: don't hard-code number of ports
2019-09-12 20:17:11 +02:00
benpicco
03c467af75
Merge pull request #12215 from gschorcht/cpu/esp32/esp_wifi/lwip_fix
cpu/esp32: fix of a linking problem with _esp_wifi_dev and lwIP
2019-09-12 19:15:39 +02:00
Francisco Molina
f54c2dbbda cpu/stm32_common: add watchdog for stm32 2019-09-12 19:07:40 +02:00
Gunar Schorcht
4469dadb7f cpu/esp32: _esp_wifi_dev exposed for lwIP
To be able to access the single esp_wifi network device from lwIP adaptation layer, static keyword was removed from esp_wifi_dev variable.
2019-09-12 18:39:46 +02:00
benpicco
e589cfbf6c
Merge pull request #10760 from gschorcht/esp32_esp_eth_link_opt
cpu/esp32: support of NETOPT_LINK_CONNECTED in esp_eth_netdev
2019-09-12 18:14:44 +02:00
benpicco
9cd9bc5086
Merge pull request #12212 from chrysn-pull-requests/thingy52-flashing
Thingy:52 description enhancements
2019-09-12 18:00:41 +02:00
Francisco Molina
8bd34c4ba3 drivers/periph_common: init wdt if HAS_WDT_INIT 2019-09-12 17:45:31 +02:00
Francisco Molina
cb876297a8 drivers/periph: include periph_cpu.h in wdt.h 2019-09-12 17:45:31 +02:00
Martine Lenders
033f2865a9
Merge pull request #11936 from pokgak/tinydtls-add-docs
pkg/tinydtls: documents usage and configuration options
2019-09-12 17:16:34 +02:00
Juan I Carrano
7364c913ef
Merge pull request #12207 from cladmi/pr/docker/programmer
makefiles/docker.inc.mk: add PROGRAMMER to the exported variables
2019-09-12 16:45:36 +02:00
chrysn
667a34205a boards/thingy52: Add description and more precise flashing instructions 2019-09-12 16:44:04 +02:00
Juan I Carrano
e9ca2114ee
Merge pull request #12204 from cladmi/pr/pthread/enable_avr
pthread_cond.h: use 'sys/types.h' value of 'clockid_t' for avr. Enables pthread on AVR.
2019-09-12 16:41:59 +02:00
Juan I Carrano
6570a9b31f
Merge pull request #12209 from cladmi/pr/buildsystem_sanity_check/port_not_exported
dist/tools/buildsystem_sanity_check: check no PORT exports
2019-09-12 16:39:07 +02:00
benpicco
bf2aaa1a5d
Merge pull request #12049 from Sizurka/fix-asymcute-reconnect
asymcute: Reset keepalive counter on connection ACK
2019-09-12 15:55:11 +02:00
Aiman Ismail
b29d56781f pkg/tinydtls: add usage and compile configs docs 2019-09-12 16:53:08 +03:00
Martine Lenders
af45ebecec
Merge pull request #12208 from pokgak/wolfssl_pkg_desc
wolfssl: improve documentation
2019-09-12 15:11:40 +02:00
Ken Bannister
1621cc1d39
Merge pull request #12075 from kb2ma/coap/options_get_opaque
net/nanocoap: get option bytes
2019-09-12 09:00:27 -04:00
Gaëtan Harter
23d743926c
dist/tools/buildsystem_sanity_check: check no PORT exports
Add sanity check for removed exports.
2019-09-12 14:44:00 +02:00
Aiman Ismail
083c8f79c0 net/dtls: add reference to wolfssl pkg 2019-09-12 14:58:16 +03:00
Aiman Ismail
5e195e82ca wolfssl: move to 'net' doxygen group 2019-09-12 14:55:52 +03:00
Francisco
2d890db6af
Merge pull request #10440 from jcarrano/no-export-ports
makefiles: remove exports so that PORT is not evaluated if it's not needed.
2019-09-12 13:50:24 +02:00
Marian Buschsieweke
c262770634
Merge pull request #11413 from benpicco/rtc_sanitize
periph/rtc: normalize struct tm before usage
2019-09-12 12:47:56 +02:00
Martine Lenders
1887e9d3f4
Merge pull request #12203 from JulianHolzwarth/pr/core/thread/hotfix_prio_type
core/thread.c: thread_create fix priority type
2019-09-12 12:41:13 +02:00
Gaëtan Harter
971b1acdb2
makefiles/docker.inc.mk: add PROGRAMMER to the exported variables
Depending on the PROGRAMMER used, the file used for flashing may be
different, like openocd/jlink, so the file being generated when
compiling should be different.

Because of this, when building in docker, the build system needs to know
for which programmer you are building for.

This manifested for 'nordic_softdevice' applications when using 'openocd'
but is not limited to this case.
2019-09-12 12:38:31 +02:00
00131b3ba3
Merge pull request #12202 from jcarrano/ccache-murdock-dwarf-compression
.murdock: blacklist the -gz (debug compression) compiler flag.
2019-09-12 12:28:47 +02:00
Benjamin Valentin
b1724a7d1b periph/rtc: normalize struct tm before usage
A naive implementation may set a RTC alarm in 30s by calling

	struct tm now;
	rtc_get_time(&now);
	now.tm_sec += 30;
	rtc_set_alarm(&now, _cb, NULL);

This works for RTC implementations that use a RTT internally and call
mktime() to convert the struct tm to a unix timestamp, as mktime() will
normalize the struct in the process.

Call rtc_tm_normalize() when the RTC uses separate registers for time / date
components to ensure it is normalized.

This also modifies tests/periph_rtc to exercise this case.
2019-09-12 11:32:31 +02:00
Benjamin Valentin
90a8a9666c unittests: add tests for rtc_tm_normalize() 2019-09-12 11:32:27 +02:00
Benjamin Valentin
fa9e9064cf periph_common/rtc: add rtc_tm_normalize() 2019-09-12 11:32:08 +02:00
627078dd99
Merge pull request #12194 from fjmolinas/pr_pyocd_debug_adapter_id
dist/tools/pyocd: add PYOCD_ADAPTER_INIT and pass DEBUG_ADAPTER_ID to pyocd
2019-09-12 08:55:24 +02:00
Francisco Molina
e325985321
makefiles/tools: pass DEBUG_ADAPTER_ID to pyocd 2019-09-12 08:13:28 +02:00
Francisco Molina
f718cc581a
dist/tools/pyocd: add PYOCD_ADAPTER_INIT
- Pass parameters before flash, debug, reset
2019-09-12 08:13:28 +02:00
Martine Lenders
8911c514fd
Merge pull request #10951 from miri64/gnrc_ipv6_nib/enh/abr-helpers
shell/sc_gnrc_ipv6_nib: extend for ABR
2019-09-12 07:34:09 +02:00
benpicco
73eee6f84b
Merge pull request #12206 from bergzand/pr/usb/usbus_cleanup
usbus: rename setup request to control request
2019-09-12 00:06:38 +02:00
Martine Lenders
1656162835 shell_commands: gnrc_ipv6_nib: remove unnecessary cast 2019-09-11 23:51:20 +02:00
Martine Lenders
5c2fec106a tests/unittests: add tests for _abr_iter() 2019-09-11 23:51:20 +02:00
Martine Lenders
28ac07d8e5 shell/sc_gnrc_ipv6_nib: extend for ABR
Adds functionality to list and edit authoritative border router list.
2019-09-11 23:51:20 +02:00
Martine Lenders
b77e08652e gnrc_ipv6_nib: provide ABR iteration and print function 2019-09-11 23:51:20 +02:00
dd99cea622
usbus: rename setup request to control request
This commit changes the name of the requests over the control endpoints
to control requests instead of setup requests. This is a terminology fix
to follow the USB specification more closely as technically only the
first stage of a control request is named setup which contains a setup
packet. The whole transfer is a control transfer.
2019-09-11 21:39:05 +02:00
benpicco
729ba07e9a
Merge pull request #11229 from maribu/msp430_cleanup
cpu/msp430_common: Cleanup
2019-09-11 20:12:55 +02:00
benpicco
ca6009592f
Merge pull request #11781 from fjmolinas/pr_schedstatistics_refactor
core/schedstatistics: fix call to uninitialized xtimer
2019-09-11 20:11:55 +02:00
Gaëtan Harter
9ee84c62c9
tests/pthread*: enable pthread tests on avr
'pthread' is now compatible with 'avr' so enable them in tests.
All the tests ran on 'arduino-mega2560' when supported.
2019-09-11 18:25:10 +02:00
Gaëtan Harter
5c405b56f8
tests/pthread_condition_variable: adapt for slow boards
Reduce the number of required iterations on boards.
This will allow running it on 'arduino-mega2560'.
2019-09-11 18:25:10 +02:00
Gaëtan Harter
624957252e
pthread_cond.h: use 'sys/types.h' value of 'clockid_t' for avr
This enables 'pthread' support on arduino.

avr-libc C90 'time.h' does not include 'sys/types.h' as POSIX expects it.
However, the type previously defined conflicts with the one in
'cpu/atmega_common/avr_libc_extra/include/sys/types.h' when both are
included, so include 'sys/types.h'.

Maybe it should alway be included by 'time.h' but this
would need its specific review.
2019-09-11 18:25:10 +02:00
Juan I Carrano
00e0a1cf13
Merge pull request #12056 from JulianHolzwarth/pr/posix/pthread/small_insert_fix
sys/posix/pthread/pthread.c: fix thread count limiting in pthread_create()
2019-09-11 18:22:54 +02:00