Benjamin Valentin
e3b0874305
cpu/lpc2387: clean up the platform
...
- move clock setup from boards/ to cpu/
- reduce code duplication
2019-09-16 13:08:56 +02:00
benpicco
ece313020f
Merge pull request #12235 from aabadie/pr/boards/nucleo-fix-default-pb6-pb7
...
nucleo-l031/l432: fix wrong i2c configuration
2019-09-15 19:57:33 +02:00
a9a971843b
nucleo-l031/l432: fix wrong i2c configuration
2019-09-15 19:29:14 +02:00
benpicco
6c95081e42
Merge pull request #10556 from gschorcht/drivers_pca9685
...
drivers: support for NXP PCA9685 I2C 16-channel, 12-bit PWM controller
2019-09-15 19:20:29 +02:00
benpicco
65b7102608
Merge pull request #10195 from jcarrano/thin-archives
...
Makefile.base: use thin static archives.
2019-09-15 13:04:25 +02:00
Marian Buschsieweke
95a2081cfa
Merge pull request #12225 from maribu/esp8266-early-stdio
...
cpu/esp8266: Moved stdio_init before periph_init
2019-09-14 12:34:45 +02:00
Marian Buschsieweke
c8ea8d569b
Merge pull request #12224 from maribu/esp32-early-stdio
...
cpu/esp32: Moved stdio_init() before periph_init()
2019-09-14 12:19:03 +02:00
Marian Buschsieweke
baf911bd7d
cpu/esp8266: Moved stdio_init before periph_init
...
- This guarantees that DEBUG() is available early in boot process
- Forgotten in https://github.com/RIOT-OS/RIOT/pull/11367 , this fixes broken stdio
2019-09-14 12:17:14 +02:00
Marian Buschsieweke
2750dc2000
cpu/esp32: Moved stdio_init() before periph_init()
...
- This guarantees that DEBUG() is available early in boot process
- Forgotten in https://github.com/RIOT-OS/RIOT/pull/11367 , fixes broken stdio
2019-09-14 11:12:32 +02:00
Juan I Carrano
9cf1da9f04
Merge pull request #11935 from fjmolinas/pr_schedstatistics_module
...
sys: add schedstatistics module
2019-09-13 15:09:12 +02:00
Juan I Carrano
75c47a8dc7
Merge pull request #12216 from benpicco/cleanup-test_malloc
...
tests/malloc: cleanup
2019-09-13 12:03:48 +02:00
Francisco Molina
1caf6610cb
sys: add schedstatistics module
2019-09-13 11:37:44 +02:00
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
Benjamin Valentin
769fe44f6d
tests/malloc: cleanup
...
- make local functions / variables static
- adhere to the 80 column limit
- don't increment total if head could not be allocated
- allow to overwrite CHUNK_SIZE
2019-09-13 00:35:47 +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
Schorcht
c6bbaac7bc
tests: app for testing PCA9685 PWMs
2019-09-12 19:13:20 +02:00
Schorcht
72eb93626a
sys/auto_init: SAUL support for PCA9685 PWMs
2019-09-12 19:13:20 +02:00
Schorcht
f93f9b7790
drivers: support for PCA9685 PWMs
2019-09-12 19:11:52 +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