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
Kevin "Tristate Tom" Weiss
d6af98b5b7
Merge pull request #11835 from miri64/gnrc_sixlowpan_frag/new/stats
...
gnrc_sixlowpan_frag_stats: initial import of frag statistics
2019-09-11 12:01:22 +02:00
Martine Lenders
0ab0a19871
shell_commands: add command to get 6lo frag statistics
2019-09-11 10:30:29 +02:00
Martine Lenders
dca3408167
gnrc_sixlowpan_frag_stats: initial import of frag statistics
2019-09-11 10:30:29 +02:00
Martine Lenders
0c24bfcd0d
shell_commands: fix ping6 response check for multicast
2019-09-10 21:50:23 +02:00
benpicco
720db1ab1e
Merge pull request #11262 from OTAkeys/fix/can_crash
...
can: fix a race condition with tx_list
2019-09-10 19:28:14 +02:00
Martine Lenders
9e33c04e3d
Merge pull request #9404 from OTAkeys/pr/can_memarray
...
can: use memarray for pkt and router allocation
2019-09-10 16:28:31 +02:00
Marian Buschsieweke
b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
...
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
Javier FILEIV
ced8094e1a
can_pm: if powered up by raw interface, fix sleeping timer.
2019-09-10 13:04:52 +02:00
Vincent Dupont
6bbb908d59
can/pkt: free pkt on bus off error
2019-09-10 13:04:52 +02:00
Vincent Dupont
d3fac6f5ac
can/conn: use non-blocking function from timer interupts
2019-09-10 13:04:52 +02:00
Vincent Dupont
c9211f9c06
can: fix race condition in tx_list
2019-09-10 13:04:52 +02:00
Vincent Dupont
9207e6b446
can: use memarray for pkt and router allocation
2019-09-10 13:01:28 +02:00
Martine S. Lenders
cee1b7296d
gnrc_icmpv6_echo: use gnrc_netif_hdr_set_netif() also for loopback
2019-09-10 12:37:32 +02:00
04d33973f4
sys/log: add colored logging module
2019-09-09 20:27:16 +02:00
88e07c06d2
Merge pull request #11367 from maribu/arm_early_stdio
...
cpu: Moved stdio_init() prior to periph_init() for ARM targets
2019-09-09 16:52:30 +03:00
Sebastian Meiling
9f5951d216
Merge pull request #10214 from bergzand/pr/nanocoap/flags_uint32t
...
nanocoap: change method flag type to uint16_t
2019-09-09 12:33:17 +03:00
Martine Lenders
58d621611f
Merge pull request #12175 from shr70/icmpv6_error_fix
...
[gnrc_icmpv6_error] Fixed multicast detection
2019-09-09 11:32:31 +02:00
Leandro Lanzieri
563a053bc1
Merge pull request #10983 from skullbox305/driver_ph_oem
...
drivers/ph_oem: support for Atlas Scientific pH OEM sensor
2019-09-09 10:18:49 +02:00
Sebastian Meiling
c78ae0e33c
Merge pull request #12074 from kb2ma/coap/options_iterate
...
net/nanocoap: iterate options
2019-09-09 10:51:23 +03:00
bde253cca3
gcoap: use coap_method_flags_t
2019-09-09 09:40:14 +02:00
4d399bf444
nanocoap: change method flag type to uint32_t
2019-09-09 09:40:14 +02:00
Ken Bannister
113dd645bf
Merge pull request #10193 from bergzand/pr/coap/include_rfc8428_rfc8132
...
coap: Update list of defines for "PATCH and FETCH Methods" and SenML
2019-09-08 19:14:40 +03:00
Kees Bakker
35c5869a2e
Merge pull request #12117 from maribu/arduino-println
...
sys/arduino: Extended Serial.print() / println()
2019-09-07 21:16:43 +02:00
Marian Buschsieweke
df27dbef7a
cpu: Moved stdio_init() into cpu_init()
...
- Removed stdio_init() from newlib's _init(), as this is too late in the boot
process to allow DEBUG()ing during periph_init()
- Added stdio_init() to the various cpu_init() routines of the ARM CPUs just
before periph_init()
2019-09-06 16:54:23 +02:00
JulianHolzwarth
d76bb689d6
sys/posix/pthread/pthread.c: pthread_create fix
...
The function insert returns KERNEL_PID_UNDEF now because pthread_create checks for it.
In pthread_create it checks now if thread_create returns a valid pid
2019-09-06 15:54:59 +02:00
steffen
485dbd1fda
[gnrc_icmpv6_error] Fixed multicast detection
...
before this commit the src address was checked for multicast, but the dst address should be checked. Therefore udp multicast packets would be flooded back to the src as ICMPv6 error, as not all nodes had a UDP receiver registered.
2019-09-05 19:22:43 +02:00
Francisco Molina
1357f46c47
pkg/semtech-loramac: add uplink_counter get/set functions
2019-09-05 16:01:32 +02:00
7bd9e68867
nanocoap: Add method flags for rfc8132
2019-09-05 13:00:22 +02:00
c4e48ea5e0
coap: update defines for sen(s)ml format types
2019-09-05 12:59:45 +02:00
bf51f35838
coap: update defines for rfc8132
...
Update the list of defines for methods and response codes with the new
codes as defined in [rfc8132](https://tools.ietf.org/html/rfc8132 )
2019-09-05 12:55:17 +02:00
Igor Knippenberg
89082a3eb2
sys/auto_init: Added auto initialization for pH OEM driver
2019-09-05 12:47:10 +02:00
Igor Knippenberg
61d0970939
drivers/saul: Added pH
...
- added device class SAUL_SENSE_PH in saul.h
- added stringification SAUL_SENSE_PH in saul_str.c
2019-09-05 12:47:10 +02:00
benpicco
f421cb7d9d
Merge pull request #12116 from maribu/arduino-millis
...
sys/arduino: Added millis()
2019-09-05 04:12:46 +02:00
Marian Buschsieweke
d4aeca7469
sys/arduino: Extended Serial.print() / println()
...
- Serial.print() and Serial.println() have been extended to support:
- unsigned int
- long
- unsigned long
- The SerialFormat BIN has been implemented
- Serial.println(void) has been added
2019-09-04 21:36:20 +02:00
benpicco
7f487ac807
Merge pull request #12131 from brummer-simon/gnrc_tcp-release_after_failed_send
...
gnrc_tcp - Release pakets on failed gnrc_netapi_send()
2019-09-03 15:59:21 +02:00
Francisco Molina
5e1558ba57
shell/commands: fix, only accept proper pong response
2019-09-03 09:07:29 +02:00
Simon Brummer
351220e884
gnrc_tcp - Release pakets on failed gnrc_netapi_send()
2019-08-31 11:16:55 +02:00
Daniele Lacamera
5cb76e521b
posix_socket: set sock for returned socket on accept()
2019-08-30 21:18:25 +02:00
benpicco
837f99e757
Merge pull request #12084 from nmeum/pr/gnrc_tcp_minlen
...
gnrc_tcp: add minimum length check to _receive
2019-08-30 17:37:20 +02:00
benpicco
7d3f20b1a8
Merge pull request #12088 from nmeum/pr/gnrc_tcp_option_overflow
...
gnrc_tcp: fix integer underflow in option parser
2019-08-30 17:34:39 +02:00
Martine Lenders
3671f69a43
gnrc_rpl: use gnrc_netif_hdr_set_netif()
2019-08-29 14:51:46 +02:00
Martine Lenders
685f7f6b38
gnrc_lwmac: use gnrc_netif_hdr_set_netif()
2019-08-29 14:51:46 +02:00
Martine Lenders
3c105d8b33
gnrc_gomach: use gnrc_netif_hdr_set_netif()
2019-08-29 14:51:45 +02:00
Marian Buschsieweke
8cff47304b
sys/arduino: Make use of US_PER_MS in delay()
2019-08-29 13:57:56 +02:00
Marian Buschsieweke
27eca42f48
sys/arduino: Added millis()
...
Added arduino-compatilbe "unsigned long millis()"
2019-08-29 13:36:15 +02:00
Hauke Petersen
33eb83ff42
sys/shell/nimble: make default name more generic
2019-08-29 11:23:51 +02:00
Hauke Petersen
de890bd9a8
sys/shell/nimble: only print ip addr if ipv6 is used
2019-08-29 11:23:51 +02:00
Hauke Petersen
a3b8c87ab5
sys/shell: add 'ble' shell cmd for nimble_netif
2019-08-28 16:48:42 +02:00