Kumar Gala
f331cc5c09
dts: atmel: Add missing GPIO properties
...
The gpio controllers on SAM4S, SAME70, and SAMD were missing properties
related to GPIO pin generation. Add the missing details into the yaml
and dts files to allow boards to specific gpio pins.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-10-04 07:49:03 -05:00
Kumar Gala
68edf341c2
dts: atmel: gpio: rename dts binding file
...
File was named atmel.sam-gpio.yaml, rather than our convention of
atmel,sam-gpio.yaml.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-10-04 07:49:03 -05:00
Kumar Gala
92bd8a0c69
boards: zedboard_pulpino: Move led & button to dts
...
Move describing of LED & Buttons on the Zedboard-Pulpino into the device
tree.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-10-04 07:48:32 -05:00
Kumar Gala
db2ca70a23
dts: pulpino: Add device tree support for GPIO controller
...
Add the needed bits to get device tree support for the GPIO controller
on the Zedboard-Pulpino. This will allow us to move LED & button info
into the board.dts.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-10-04 07:48:32 -05:00
Kumar Gala
be4f53fa50
riscv: Add device tree support to pulpino
...
Add simple device tree support for the Pulpino SoC and Zedboard-Pulpino
board port. This gets the UART info from device tree instead of soc.h
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-10-04 07:48:32 -05:00
Kumar Gala
c361405e90
dts: Reduce include paths for building dts
...
Drop a few paths from when we preprocess the dts. This is to reduce
creep of where #defines might get resolved from.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-10-04 07:48:05 -05:00
Gil Pitney
be64964f1e
driver: wifi: simplelink: Fix socket offload after s_addr cleanup
...
The commit 8592501828
("net: Remove s_addr/s6_addr defines from in_addr/in6_addr")
did a (welcomed) removal of a #define s_addr for which the SimpleLink
SDK was checking, breaking the socket_offload driver build.
This patch fixes the driver to work with this new, better
s_addr symbol definition.
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2018-10-04 07:42:12 -05:00
Flavio Ceolin
18af4c6299
kernel: Fix overflow test problem introduced in 92ea2f9
...
The builtin function __builtin_umul_overflow returns a boolean and
should not checked as an integer.
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2018-10-04 05:20:29 -07:00
Jukka Rissanen
57a8db7789
net: Use log_strdup() when printing debug strings
...
As the debugging print calls are async, all the strings that might
be overwritten must use log_strdup() which will create a copy
of the printable string.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
d67414e96c
samples: net: syslog: Remove the sample application
...
The application won't work anymore as it uses the old syslog
logging and networking is now converted to use the new logger
so there is no need for this sample application.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
df13dcf911
net: app: No need to print anything if resolving is not possible
...
The code was trying to print peer IP address string but that
pointer could contain garbage. There is actually no need to print
anything in this case, the error code return is enough.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
7088d4e949
samples: net: lwm2m_client: Convert to new logging system
...
Use new logging system instead of SYS_LOG.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
5705573c46
net: lwm2m: Convert to new logging system
...
Use new logging system instead of SYS_LOG.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
ac88baca02
usb: net: Convert to use new logging
...
Convert the USB networking to use the new logging system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
4851e2ea1b
usb: Fix net_hexdump_frags() parameters
...
One parameter was missing when calling net_hexdump_frags() which
caused compile error.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
f3f04bf9eb
tests: net: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
5ad399e0d1
samples: net: leds_demo: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
61cc71e4c1
samples: net: echo-*: Add openthread tag for sanitychecker
...
Add "openthread" tag for sanitychecker when it is running
OpenThread specific tests. This way it is easier to run just
those few OpenThread specific tests.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
e5ab098ceb
samples: net: wpanusb: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
b8f70b749b
samples: net: wpan_serial: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
ef6eb3d628
samples: net: mqtt_publisher: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
5f2f8629d0
samples: net: rpl_node: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
5ead61089b
samples: net: rpl_border_router: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
782655f89b
samples: net: nats: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
e1f45c6733
samples: net: lldp: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
f5a3e77434
samples: net: sntp: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
22c8ccbca9
samples: net: zperf: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
77c9071495
samples: net: ws_echo_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
2883d92c5e
samples: net: telnet: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
b08d420fad
samples: net: stats: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
7b2bdfc491
samples: net: sockets: Convert to use new logging
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
9bae75dbd3
samples: net: ws_console: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
3565d7ff5b
samples: net: vlan: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
96be19ae23
samples: net: traffic_class: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
0ccba6a14b
samples: net: throughput_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
1bcf1cf475
samples: net: promiscuous: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
d38694af80
samples: net: mdns_responder: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
de5cbf9ed4
samples: net: irc_bot: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
31a6d93c41
samples: net: ipv4_autoconf: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
7218467055
samples: net: http_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
c69cdc0599
samples: net: http_client: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
749e957e62
samples: net: gptp: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
be7ea732e4
samples: net: eth_native_posix: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
85e7610fab
samples: net: dns_resolve: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
2f0f88ebf1
samples: net: dhcpv4_client: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
11a019053d
samples: net: coap_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
5f238ac2ea
samples: net: echo_server: Convert to new logging system
...
Use new logging system with support for network log level.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
d671c4693c
drivers: net: loopback: Convert to use new logging
...
Convert the driver to use the new logging system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
1fea1418de
drivers: net: slip: Convert to use new logging
...
Convert the driver to use the new logging system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00
Jukka Rissanen
90dc38f8c9
drivers: ieee802154: Convert to use new logging
...
Convert the IEEE 802.15.4 drivers to use the new logging system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2018-10-04 14:13:57 +03:00