zephyr/samples/subsys
Piotr Zięcik ec857d0e4a logging: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time
as the exact configuration of the hardware is not known at compile time.
On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define
directly introduces timing errors.

This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call
to inline function sys_clock_hw_cycles_per_sec() which always returns
correct frequency of the system clock.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-07-24 15:10:02 +02:00
..
console cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
fs samples/fs: support fs demo on mimxrt_1050 evk board 2019-07-10 11:58:15 -05:00
ipc cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
logging logging: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
mgmt cleanup: include/: move stats.h to stats/stats.h 2019-06-27 22:55:49 -04:00
nvs cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
power/device_pm cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
shell samples: fs: Corrected flash ctrl name in fs shell 2019-07-22 18:44:11 +02:00
usb samples: usb: console: Remove overlay file 2019-07-22 16:20:11 +02:00
subsys.rst