zephyr/samples/net
Andy Ross 220d4f8347 sys_clock.h: Make "global variable" APIs into proper functions
The existing API defined sys_clock_{hw_cycles,ticks}_per_sec as simple
"variables" to be shared, except that they were only real storage in
certain modes (the HPET driver, basically) and everywhere else they
were a build constant.

Properly, these should be an API defined by the timer driver (who
controls those rates) and consumed by the clock subsystem.  So give
them function syntax as a stepping stone to get there.

Note that this also removes the deprecated variable
_sys_clock_us_per_tick rather than give it the same treatment.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-10-16 15:03:10 -04:00
..
coap_client samples: net: coap_client: Remove obsolete prj_bt.conf file 2018-10-11 14:44:14 -04:00
coap_server
common
dhcpv4_client
dns_resolve
echo_client net: Remove obsolete config options from samples and tests 2018-10-11 14:44:14 -04:00
echo_server net: Remove obsolete config options from samples and tests 2018-10-11 14:44:14 -04:00
eth_native_posix
gptp Kconfig: Remove redundant $(ZEPHYR_BASE) from 'source's 2018-10-10 11:28:27 -05:00
http_client
http_server samples: net: http_server: Remove Quark devboard from sanity 2018-10-15 11:14:02 +03:00
ipv4_autoconf
irc_bot
leds_demo
lldp Kconfig: Remove redundant $(ZEPHYR_BASE) from 'source's 2018-10-10 11:28:27 -05:00
lwm2m_client net: Remove obsolete config options from samples and tests 2018-10-11 14:44:14 -04:00
mdns_responder
mqtt_publisher net: bt: Convert network Bluetooth shell to use new shell 2018-10-15 11:14:02 +03:00
nats
promiscuous_mode
rpl_border_router samples: net: rpl_border_router: Convert to use new shell 2018-10-15 11:14:02 +03:00
rpl_node
rpl-mesh-qemu net: Remove obsolete config options from samples and tests 2018-10-11 14:44:14 -04:00
sntp_client
sockets net: samples: sockets: http_get: build for cc3220sf_launchxl 2018-10-12 13:06:53 +03:00
stats Kconfig: Remove redundant $(ZEPHYR_BASE) from 'source's 2018-10-10 11:28:27 -05:00
telnet
throughput_server
traffic_class Kconfig: Remove redundant $(ZEPHYR_BASE) from 'source's 2018-10-10 11:28:27 -05:00
vlan Kconfig: Remove redundant $(ZEPHYR_BASE) from 'source's 2018-10-10 11:28:27 -05:00
wifi Kconfig: Remove redundant $(ZEPHYR_BASE) from 'source's 2018-10-10 11:28:27 -05:00
wpan_serial
wpanusb samples: net: wpanusb: Removing useless shell 2018-10-15 11:14:02 +03:00
ws_console net: Remove obsolete config options from samples and tests 2018-10-11 14:44:14 -04:00
ws_echo_server net: Remove obsolete config options from samples and tests 2018-10-11 14:44:14 -04:00
zperf sys_clock.h: Make "global variable" APIs into proper functions 2018-10-16 15:03:10 -04:00
net.rst