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

20188 Commits

Author SHA1 Message Date
Martine Lenders
12049a5779
Merge pull request #10205 from haukepetersen/opt_nimble_standalone
pkg/nimble: improve initialization and add host thread
2018-11-08 15:44:54 +01:00
Joakim Nohlgård
8bb73f237d kinetis: GPIO: avoid dup calls to cortexm_isr_end on KW41Z
Devices with combined IRQs would call the cortexm_isr_end handler twice
when it is part of the irq_handler routine.
2018-11-08 14:52:10 +01:00
Joakim Nohlgård
b9ceac5ccc kinetis: Optimize GPIO IRQ handler
Measurements show that the time from pin edge until return from
interrupt is reduced from 22 us to 6.1 us for KW41Z running at
41.94 MHz. The measurements used a no-op GPIO callback for testing and
were measured using an external logic analyzer.
2018-11-08 14:52:10 +01:00
Hauke Petersen
f829887f18 examples/nimble_gatt: simplify example 2018-11-08 14:40:52 +01:00
Hauke Petersen
73534850fa sys/auto_init: add auto init for nimble 2018-11-08 14:40:52 +01:00
Hauke Petersen
8f2a825b58 pkg/nimble: ipmrove host initialization 2018-11-08 14:40:52 +01:00
Hauke Petersen
fa520a09cc
Merge pull request #10196 from haukepetersen/fix_nimble_nodevelhelp
pkg/nimble: prepare for building without DEVELHELP
2018-11-08 14:40:07 +01:00
Hauke Petersen
4d30651177
Merge pull request #10349 from SemjonKerner/cleanup_nrf52_headers
cpu/nrf5x: update vendor headers
2018-11-08 14:24:42 +01:00
Hauke Petersen
54419f07e9 examples/nimble_gatt: (void) rt variables 2018-11-08 14:10:58 +01:00
Hauke Petersen
d5b019fdc2 pkg/nimble: disable selected compiler warnings 2018-11-08 14:10:58 +01:00
Semjon Kerner
1e9c0b8d21 cpu/nrf51: update vendor headers 2018-11-08 14:09:41 +01:00
Semjon Kerner
d8a30eeedf cpu/nrf52: update vendor headers 2018-11-08 14:09:33 +01:00
Martine Lenders
30dc2d91e1
Merge pull request #10203 from haukepetersen/opt_nimble_versioning
pkg/nimble: bump version to current master
2018-11-08 14:07:45 +01:00
Hauke Petersen
af57afe3ac pkg/nimble: bump version to current master 2018-11-08 12:40:48 +01:00
60a6e66f77
Merge pull request #10246 from miri64/gnrc_ipv6/fix/encaps-ipv6-recursion
gnrc_ipv6: don't recurse into receive for encapsulated IPv6
2018-11-08 12:34:40 +01:00
66e0d48037
Merge pull request #10159 from mtausig/crypto_documentation
crypto: fix several documentation issues
2018-11-08 12:13:59 +01:00
Martine Lenders
d54ac38f84 gnrc_ipv6: don't dispatch encapsulated IPv6 headers in central function
Otherwise, an encapsulated IPv6 packet is handled twice. Once in the
central function, once in the specialized decapsulation.
2018-11-08 11:54:05 +01:00
Martine Lenders
160ccbcf7e gnrc_ipv6: don't recurse into receive for encapsulated IPv6
`_decapsulate()` is called by callees of `_receive()` so the call to
the latter function within the first creates a recursion we don't want.
Using `gnrc_netapi` instead removes that and provides the added benefit
that other subscribers to IPv6 are also informed.
2018-11-08 11:54:05 +01:00
Mathias Tausig
4272ccf281 crypto: Fix whitespace errors 2018-11-08 11:25:50 +01:00
Mathias Tausig
41667cef66 crypto: Improve and fix comments
Update return values in documentation
Improve comments with separate @return statement for each rv
Remove incorrect return value for aes_init
Use @return instead of @returns
Fix comment lines over 80 chars
2018-11-08 11:25:50 +01:00
Mathias Tausig
3ddd17b267 crypto: Fix typos in comments 2018-11-08 11:25:14 +01:00
6c69e6f452
Merge pull request #10347 from mtausig/fixstyle
crypto: Fix code style
2018-11-08 10:58:50 +01:00
Mathias Tausig
068e263cba crypto: Fix code style 2018-11-08 10:31:42 +01:00
64afc748ca
Merge pull request #10178 from jcarrano/qualifier-fixes/ethos
drivers/ethos: remove unnecessary casts.
2018-11-07 09:14:40 +01:00
152a9dc325
Merge pull request #10247 from miri64/ipv6_ext_rh/cleanup/central-types
ipv6_ext_rh: define type numbers at central place
2018-11-06 20:31:27 +01:00
Peter Kietzmann
411b12b40f
Merge pull request #10232 from Josar/patch-2
Update Jiminy doc.txt
2018-11-06 18:53:06 +01:00
Josar
834bb94987 boards/jiminy-256rfr2: Fuse, Troubleshooting
Added explanation for fuse settings.
Brown-out when 1.8V is set as system voltage.
Power increase in deep sleep when ext. xtal as system clock.
2018-11-06 17:13:26 +01:00
880b3319db
Merge pull request #10323 from maribu/stm32f103c8_rom_hack
boards: Enable STM32F103C8 ROM hack via env var
2018-11-06 14:41:06 +01:00
José Alamos
1f6ea0ec08
Merge pull request #10331 from miri64/emb6/fix/sock-info-src
emb6_sock_udp: copy receive remote correctly
2018-11-06 11:52:21 +01:00
Marian Buschsieweke
3cc6c7f465
drivers/saul: Added sensor type RSSI 2018-11-06 11:07:13 +01:00
Marian Buschsieweke
a04001d781
sys/phydat: Added unit decibel-milliwatts 2018-11-06 11:07:01 +01:00
Martine Lenders
a077dc5782 emb6_sock_udp: unify cppcheck-suppress reason with others 2018-11-06 10:02:13 +01:00
Martine Lenders
9e3ce7b5a7 emb6_sock_udp: fix typo in cppcheck suppression 2018-11-06 10:00:47 +01:00
Cenk Gündoğan
f6043e048e
Merge pull request #10328 from cgundogan/pr/trickle_test
test: trickle: fix condition for success
2018-11-05 17:55:51 +01:00
Martine Lenders
0d5dafe924 emb6_sock_udp: copy receive remote correctly
The `src` member of `sock_udp_t` for `emb6` is a pointer, not a value,
so it should not be referenced.

This fixes the output issue encountered during the
[2018.10 RC1 testing][RC1].

[RC1]: https://github.com/RIOT-OS/Release-Specs/issues/76#issuecomment-435924505
2018-11-05 17:18:48 +01:00
Peter Kietzmann
3122a3ea9c
Merge pull request #10301 from maribu/msba2_periph
boards/msba2: Added call to periph_init
2018-11-05 17:01:49 +01:00
Cenk Gündoğan
df9e25353b test: trickle: fix condition for success
The current test implementation wrongly assumes that the diff between
two fired events (e1, e2) must always increase. That is not true, as
event e1 may reside on the upper part of [I/2, I) and e2 on the lower
part of [I, 2*I).

This commit fixes the test to look at the actual time that was randonmly
chosen from both intervals (t1, t2). Given that the intervals are
doubled, t1 must always be smaller than t2.
2018-11-05 16:58:54 +01:00
José Alamos
296356fe4e
Merge pull request #10325 from gschorcht/esp32_doxygen_fix
cpu/esp32: doxygen fix for periph/gpio
2018-11-05 14:58:32 +01:00
José Alamos
60ad92c779
Merge pull request #10324 from gschorcht/esp8266_doxygen_fix
cpu/esp8266: doxygen fix for periph/gpio
2018-11-05 14:49:14 +01:00
Marian Buschsieweke
82ea9a02de
boards: Enable STM32F103C8 flash hack via env var
The STM32F103C8 secretly comes with 128KiB flash instead of 64KiB. Still, only
64KiB of it are tested and guaranteed to work. However, most of the times the
whole 128KiB flash works just fine. In the BluePill documentation this fact is
already documented and by using

    $ make BOARD=bluepill CPU_MODEL=stm32f103cb

the whole 128 KiB can be used by RIOT. When using this hack routinely, it easier
to use environment variables instead. But allowing to overwrite CPU_MODEL via
environment variables seems to be a bad thing, as it is easy to forget to clear
that environment variable when changing the BOARD variable.

This commit introduces the new STM32F103C8_FLASH_HACK variable, which unlocks
the 128KiB FLASH when set to "1". The BluePill documentation has been updated
accordingly.
2018-11-05 14:19:21 +01:00
Marian Buschsieweke
6189f9b400
boards/msba2: Added call to periph_init 2018-11-05 13:54:04 +01:00
José Alamos
6ed45a67bb
Merge pull request #10289 from maribu/autoinit_fix_backport
sys/auto_init: Fixed initialization of sht1x [backport 2018.10]
2018-11-05 13:28:03 +01:00
Gunar Schorcht
100a4c666e cpu/esp32: doxygen fix
Removes architecture specific includes from documentation of module  Peripheral Driver Interface / GPIO.
2018-11-05 11:27:00 +01:00
Gunar Schorcht
ffd69868c6 cpu/esp8266: doxygen fix
Removes architecture specific includes from documentation of module  Peripheral Driver Interface / GPIO.
2018-11-05 11:23:40 +01:00
Ken Bannister
bcd3e311a4
Merge pull request #10248 from llueder/coap/data_ptr
net/nanocoap: make data pointer c++ compliant
2018-11-05 10:10:45 +00:00
ZetaR60
8130874a1a
Merge pull request #9866 from kYc0o/cpu/atmega/reuse_common
cpu/atmega*: factorise common code into atmega_common
2018-11-04 16:45:18 -05:00
Francisco Acosta
dd3ca90e8a examples, tests: add memory insufficient arduino boards
The unification of a bigger stack for the atmega platforms
makes some boards to not have enough memory to provide
the big stack plus the application code.

It is possible though, to override the stack size to a
smaller amount if running the test is necessary.
2018-11-02 17:57:13 +01:00
Francisco Acosta
73f6328137 jiminy-mega256rfr2: add BOOTLOADER_CLEARS_WATCHDOG_AND_PASSES_MCUSR
This variable helps to inform at boot time that some
information about the booting process, e.g. reset cause.
2018-11-02 16:39:15 +01:00
Lasse Lueder
885544b4b0 net/nanocoap: remove convenience ptr in coap_hdr_t
Empty array uint8_t data[] is not allowed in ISO-C++. Replacement: function coap_hdr_data_ptr, which handles
the pointer arithmetic to point where hdr.data pointed
2018-11-02 16:34:57 +01:00
Lasse Lueder
34a6e384c2 net/gcoap: use coap_data_ptr instead of hdr.data 2018-11-02 16:33:29 +01:00