zephyr/samples
Christopher Friedt 43856f2dc6 samples: kernel: add cycle64 sample
The cycle64 sample is intended to complement
`test_clock_cycle_64()` in `tests/kernel/common`.

The sample demonstrates the upper 32-bits of the 64-bit cycle
counter incrementing when the bottom 32-bits roll over from
`UINT32_MAX` to 0.

If the upper 32-bits of the 64-bit cycle counter does not
increment, then an error message is printed.

```
west build -p auto -b qemu_cortex_a53 -t run \
	samples/kernel/cycle64
...
*** Booting Zephyr OS build v2.7.99-1124-gd7ba4e394832  ***
wrap-around should occur in 68s
[ddd:hh:mm:ss.0ms]
[000:00:00:00.020]: c64: 0000000000174258
[000:00:01:08.760]: c64: 000000010027f8bb
[000:00:02:17.490]: c64: 0000000200348c85
```

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2021-11-08 13:41:53 -05:00
..
application_development cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
arch cmake: use find_package() instead of literal include in tests and samples 2021-11-01 10:33:09 -04:00
basic samples: blinky_pwm: added overlay for the esp32 board 2021-11-07 05:36:42 -05:00
bluetooth samples: hci_spi: Decrease maximum number of BT connections 2021-11-06 13:54:08 +01:00
boards cmake: use find_package() instead of literal include in tests and samples 2021-11-01 10:33:09 -04:00
compression cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
drivers canbus: rename zephyr,can-primary chosen property to zephyr,canbus 2021-11-07 09:05:39 -05:00
hello_world tests: uefi: move uefi test out of hello world 2021-10-22 06:36:51 -04:00
kernel samples: kernel: add cycle64 sample 2021-11-08 13:41:53 -05:00
modules canbus: rename zephyr,can-primary chosen property to zephyr,canbus 2021-11-07 09:05:39 -05:00
net net: openthread: add log_strdup to role text, fix doc gender issue 2021-11-01 21:47:43 -04:00
philosophers samples: philosophers: fix pointer type mismatch for stack fork 2021-09-09 19:06:38 -04:00
posix samples/posix: eventfd: Prevent run in twister when SRAM below 32K 2021-09-20 19:48:34 -04:00
sensor drivers: sensors: lis2dh: Add ability to read temperature 2021-11-02 22:23:39 -04:00
shields drivers: sensor: Const sensor trigger data in trigger handler 2021-10-27 15:09:35 -04:00
subsys usb: move USB_DEVICE_REMOTE_WAKEUP option to drivers 2021-11-08 17:01:32 +01:00
synchronization cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
tfm_integration modules: tfm: Split trusted-firmware-m repository 2021-11-01 11:20:06 -04:00
userspace cmake: use find_package() instead of literal include in tests and samples 2021-11-01 10:33:09 -04:00
classic.rst doc: fix top samples doc index 2021-03-09 17:48:18 -05:00
index.rst samples: compression: lz4: lz4 sample application 2021-06-12 17:21:55 +02:00