zephyr/samples
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
..
application_development boards: arm: nrf52840_pca10056/nrf52_pca10040: enable pyocd runner 2019-07-10 12:11:46 -05:00
basic samples: servo_motor: remove whitelisting 2019-07-12 05:54:16 -07:00
bluetooth samples: hci_usb: remove whitelisting 2019-07-12 05:54:16 -07:00
boards samples: sample modified according to the changes in Zephyr macros 2019-07-18 15:16:06 +02:00
cpp_synchronization cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
display samples: add board customization for native_posix_64 2019-07-17 15:29:42 -07:00
drivers samples: led_apa102c_bitbang: remove whitelisting 2019-07-12 05:54:16 -07:00
gui samples: add board customization for native_posix_64 2019-07-17 15:29:42 -07:00
hello_world cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
mpu cleanup: include/: move flash.h to drivers/flash.h 2019-06-27 22:55:49 -04:00
net samples: add board customization for native_posix_64 2019-07-17 15:29:42 -07:00
nfc/nfc_hello cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
philosophers tests: samples: Apps shouldn't set tick rate 2019-07-02 22:52:29 -04:00
portability CMSIS v2: Work around time unit confusion 2019-07-02 22:52:29 -04:00
sensor samples: grove_temperature: cleanup whitelisting 2019-07-12 05:54:16 -07:00
shields sample/shield: add support to x-nucleo-iks01a3 shield 2019-07-08 10:07:23 -05:00
subsys logging: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
synchronization cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
testing/integration license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
userspace cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
xtensa_asm2 cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
classic.rst doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
index.rst doc: use :zephyr_file: where appropriate 2019-03-09 09:50:27 -05:00