Marian Buschsieweke
4c3e92f183
core: Made thread state an enum
...
- Introduced enum type `thread_state_t` to replace preprocessor macros
- Moved thread states to `sched.h` for two reasons:
a) Because of the interdependencies of `sched.h` and `thread.h` keeping it in
`thread.h` would result in ugly code.
b) Theses thread states are defined from the schedulers point of view, so it
actually makes senses to have it defined there
2019-02-13 13:31:52 +01:00
Kevin "Bear Puncher" Weiss
f8a7c026f2
Merge pull request #10984 from yegorich/pr/uart/documentation-fix
...
periph/uart: improve documentation
2019-02-11 11:50:46 +01:00
Peter Kietzmann
63fd8bc89b
Merge pull request #7577 from miri64/gnrc_netif2/feat/ieee802154-dup-bcast
...
gnrc_netif_ieee802154: drop duplicate broadcast packets (optionally)
2019-02-11 09:42:06 +01:00
Yegor Yefremov
b8ff48cce4
periph/uart: improve documentation
...
Change description to reflect the configurability of the serial
interface.
Also, fix the uart_mode parameter description as the UART will be
configured and not initialized.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-11 09:35:23 +01:00
ZetaR60
1f9e1857f7
Merge pull request #9130 from kYc0o/cpu/atmega/unify_stacks
...
atmega: refactor cpu/board code and build/flash variables
2019-02-08 18:07:22 -05:00
Juan I Carrano
e78069b316
Merge pull request #10967 from maribu/ps_bl_cond
...
sys/ps: Fixed stringification
2019-02-08 18:42:50 +01:00
Juan I Carrano
43172e20d2
Merge pull request #10889 from cladmi/pr/objcopy/fallback
...
makefiles/toolchain: fix command -v multiple commands
2019-02-08 14:29:31 +01:00
Kevin "Bear Puncher" Weiss
3c9130ec9e
Merge pull request #10968 from yegorich/pr/sensors/fix-dead-links
...
drivers/bmx280: fix dead links
2019-02-08 11:44:57 +01:00
Yegor Yefremov
6bf185855b
drivers/bmx280: fix dead links
...
URLs have been changed to:
https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001.pdf
https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280-DS002.pdf )
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-08 09:01:20 +01:00
Marian Buschsieweke
c700d0439e
sys/ps: Fixed stringification
...
Added missing string for STATUS_COND_BLOCKED, so that the shell command "ps"
no longer crashes when a thread has this state.
2019-02-07 21:35:48 +01:00
Gunar Schorcht
f9ae37572a
Merge pull request #10965 from gschorcht/cpu/esp8266/esp_wifi/netstat_fix
...
cpu/esp8266: removes netstats in esp wifi netdev driver
2019-02-07 17:04:56 +01:00
Gunar Schorcht
f4a9f5a0d6
cpu/esp8266: netstats removed from esp_wifi
2019-02-07 15:44:04 +01:00
Sebastian Meiling
6037fa2536
Merge pull request #9666 from OYTIS/s9kea-pr1
...
kinetis: add support for S9KEAZ128
2019-02-07 11:44:36 +02:00
70affc62d2
Merge pull request #10940 from keestux/sodaq-autonomo-bossac
...
boards/sodaq-autonomo: switch to flashing with bossac
2019-02-07 08:19:05 +01:00
Kees Bakker
361ba8d1a0
boards/sodaq-autonomo: switch to flashing with bossac
2019-02-06 19:44:26 +01:00
Peter Kietzmann
56bf778156
Merge pull request #10750 from keestux/add-driver-sht2x
...
drivers: add support for SHT2x (I2C temp and humidity sensor)
2019-02-06 17:25:50 +01:00
Kevin "Bear Puncher" Weiss
a518c382a7
Merge pull request #10959 from yegorich/pr/uart/doxygen-fix
...
cpu/stm32_common: fix UART documentation
2019-02-06 14:49:09 +01:00
Martine Lenders
945b813290
Merge pull request #10960 from kaspar030/fix_DOXYGE
...
gnrc: nib: fix DOXYGE -> DOXYGEN typo
2019-02-06 13:57:14 +01:00
cb457941db
gnrc: nib: fix DOXYGE -> DOXYGEN
2019-02-06 13:01:40 +01:00
Yegor Yefremov
97d0851de1
cpu/stm32_common: fix UART documentation
...
Don't include overridden typedefs into doxygen as otherwise,
they'll appear twice.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-06 12:46:27 +01:00
Kees Bakker
50ec5130d6
drivers: add support for SHT2x (I2C temp and humidity sensor)
...
Several parts were inspired by a driver written by:
George Psimenos (gp7g14@soton.ac.uk )
Steffen Robertz (steffen.robertz@rwth-aachen.de )
2019-02-05 22:17:30 +01:00
Sebastian Meiling
3e5658d407
Merge pull request #10662 from gschorcht/esp32_gpio_fix
...
cpu/esp32: GPIO macro cleanup in periph_cpu.h
2019-02-05 22:23:09 +02:00
Peter Kietzmann
c04adf6b1c
Merge pull request #10950 from miri64/gnrc_sixlowpan_iphc/fix/compressible
...
gnrc_sixlowpan_iphc: fix _compressible()
2019-02-05 17:38:03 +01:00
Martine Lenders
a73deacdb9
Merge pull request #10948 from PeterKietzmann/pr_tests_tcp_del_tap
...
tests/gnrc_tcp_*: remove default PORT for native
2019-02-05 17:15:25 +01:00
Francisco Acosta
7139393394
boards: include potential features from CPU for atmega boards
...
Features must be provided by the board if they're actually
available on board. Other features might be provided by the
CPU.
Some grouping is also removed as it is not necessary.
2019-02-05 17:12:04 +01:00
Francisco Acosta
d208cba464
boards: leverage avrdude.inc.mk for atmega based boards.
...
Additionally, it removes unnecessary exports and cleans up
waspmote-pro toolchain variables (not needed) which are taken
from atmega_common.
2019-02-05 17:12:04 +01:00
Francisco Acosta
1a98d64cd5
boards/arduino*: use common avrdude.inc.mk from atmega_common
...
Leverages common flasher (avrdude) and removes unnecessary exports.
Moreover, a reuse of serial.inc.mk is perfomed from the same
atmega_common/Makefile.include
2019-02-05 17:12:03 +01:00
Francisco Acosta
2bdcdddd76
cpu/atmega*: make use of common atmega.inc.mk and remove redundancies
...
Everything is now defined in atmega.inc.mk, following the common
RIOT-like reusability of rules and variables (e.g. cortexm.inc.mk).
2019-02-05 17:12:03 +01:00
Francisco Acosta
6bbf372d7d
makefiles: factor out avrdude configuration
...
Allows to use avrdude as a flashing tool in any context
(e.g. not dependent on arduino or atmega) though it only
works (AFAIK) on atmega, but I thought it's better to
have it here as we have other flashing tools.
2019-02-05 17:12:02 +01:00
Francisco Acosta
c897773daf
makefiles: add atmega arch generic makefile
2019-02-05 17:12:01 +01:00
Cenk Gündoğan
e8f89b9d3f
Merge pull request #9523 from miri64/gnrc_icmpv6_echo/enh/new-shell-cmd
...
shell_commands: adapt ping6 to original-ping-like implementation
2019-02-05 16:42:44 +01:00
Martine Lenders
82e293a496
Merge pull request #10412 from maribu/w5100
...
drivers/w5100: Fixed netdev_driver_t::recv() API
2019-02-05 16:30:42 +01:00
Martine Lenders
43c2c728c9
gnrc_sixlowpan_iphc: fix _compressible()
...
When either `gnrc_sixlowpan_iphc_nhc` or `gnrc_udp` is not compiled
in `_compressible()` never returns `true`. This causes the
`dispatch` snip in `gnrc_sixlowpan_iphc_send()` to be of length 0,
meaning `dispatch->data` is `NULL`, causing possible crashes when
trying to send IPv6 packets over 6LoWPAN without NHC or UDP.
2019-02-05 15:22:41 +01:00
PeterKietzmann
b2857529ef
tests/gnrc_tcp_server: don't set PORT=tap0 as default
2019-02-05 15:01:12 +01:00
PeterKietzmann
e03bbb4f2e
tests/gnrc_tcp_client: don't set PORT=tap1 as default
2019-02-05 15:01:05 +01:00
5a35e6e109
Merge pull request #10825 from maribu/fe310_periph_init
...
cpu/fe310: Add call to periph_init()
2019-02-05 13:12:45 +01:00
Martine Lenders
7220b66708
Merge pull request #10936 from miri64/sam0_common/fix/check-adc-numof
...
sam0_common: check ADC_NUMOF on adc_init()
2019-02-04 16:41:41 +01:00
Kees Bakker
458c95a854
Merge pull request #10914 from keestux/describe-saml1x-source
...
cpu/sam0_common: update README for SAML1x addition
2019-02-04 16:29:15 +01:00
Martine Lenders
985d98073f
gnrc_netif_ieee802154: drop duplicate broadcast packets (optionally)
2019-02-04 16:19:48 +01:00
Gunar Schorcht
d9706d1cd5
cpu/esp32: GPIO macro cleanup in periph_cpu.h
...
The default macros GPIO_PIN and GPIO_UNDEF do not have to be overridden. The GPIO_PIN macro definition was even wrong for 40 GPIOs without splitting into ports, even if that did not lead to erroneous behavior.
2019-02-04 14:31:53 +01:00
Peter Kietzmann
ee3efa3436
Merge pull request #10930 from silkeh/fix-hdc1000-param-renew
...
Fix hdc1000 renew interval documentation
2019-02-04 13:01:15 +01:00
Kevin "Bear Puncher" Weiss
7dc243e3cc
Merge pull request #10220 from bergzand/pr/crypto/chacha20poly1305
...
chacha20poly1305: Initial implementation of AEAD cipher.
2019-02-04 12:52:24 +01:00
Martine Lenders
45ec766871
shell_commands: adapt ping6 to original-ping-like implementation
...
Loosely based on [the original ping] and [netutil]'s ping
New features (compared to old RIOT version):
- non-positional parameters
- Better duplicate detection (addresses #9387 )
- Better asynchronous behavior
- Potential for future move to `sock_ip`
- (Optional) DNS-support
- Multithreading-safe (in case shell-command handler gets called
from multiple threads)
[the original ping]: http://ftp.arl.army.mil/~mike/ping.html
[netutil]: https://www.gnu.org/software/inetutils/
2019-02-04 12:42:49 +01:00
Silke Hofstra
3cf3742f8c
hdc1000: fix documentation for HDC1000_PARAM_RENEW_INTERVAL
...
The documentation refers to the `HDC1000_PARAM_RENEW_INTERVAL` as
`HDC1000_RENEW_INTERVAL`.
2019-02-04 11:28:31 +01:00
Peter Kietzmann
2c5d1b013e
Merge pull request #10918 from maribu/cc110x_mtu
...
drivers/cc110x: Fixed MTU calculation
2019-02-04 09:44:10 +01:00
f4a4f5d0b1
chacha20poly1305: Provide a test based on the rfc
...
Add a test case to the crypto tests testing the chacha20poly1305
algorithm with the test vectors from rfc 8439.
2019-02-04 09:29:26 +01:00
1990e1629a
crypto: Add chacha20poly1305 AEAD algorithm
2019-02-04 09:29:26 +01:00
Martine Lenders
39e90502af
sam0_common: check ADC_NUMOF on adc_init()
2019-02-04 09:28:13 +01:00
Marian Buschsieweke
dae680dcb2
sys/net: Added NETDEV_TYPE_CC110X to MTU init
2019-02-04 09:16:29 +01:00
Peter Kietzmann
b927c6ffa6
Merge pull request #10923 from maribu/ifconfig_l2pdu
...
shell/ifconfig: Add L2-PDU info
2019-02-04 08:55:32 +01:00