zephyr/samples
Loic Poulain 16d8ce519c sample: blink_led: Adjust PWM period
The maximum period a PWM controller can generate depends on its input
clock and its resolution (16-bit, 32-bit...). Setting a 1s max period
generates error with some hardwares (mimxrt1064_evk) because of clock
limitation.

This patch fixes this issue by calculating maximum period of the PWM
device to adjust max and min periods accordingly.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
2019-08-07 07:38:40 -05:00
..
application_development boards: arm: nrf52840_pca10056/nrf52_pca10040: enable pyocd runner 2019-07-10 12:11:46 -05:00
basic sample: blink_led: Adjust PWM period 2019-08-07 07:38:40 -05:00
bluetooth Bluetooth: Host: Print error codes in hex 2019-08-05 12:18:17 +02:00
boards Bluetooth: Host: Print error codes in hex 2019-08-05 12:18:17 +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: Counter alarm should display seconds, not ticks 2019-08-05 13:27:36 +02: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: net: zperf: Use proper value in k_busy_wait() 2019-08-07 12:24:23 +02: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 boards: remove quarl_se_c1000 2019-07-29 21:30:25 -07:00
shields sample/shield: x-nucleo-iks01a3: add support to STTS751 2019-07-31 10:32:10 -04:00
subsys samples: usb: hid-cdc: Use proper value in k_busy_wait() 2019-08-07 12:24:23 +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