Cloned from counter_basic_api with modifications based on DS3231 limitations: * Only one device tested per board; * Counter cannot be stopped or started; * Alarms are serviced by worker thread, so are not invoked from ISR and require that test thread yield to allow processing (no k_busy_wait()); * Multiple Alarms test is disabled as documented in test. Additional tests were added for DS3231-specific API. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
8 lines
124 B
Plaintext
8 lines
124 B
Plaintext
CONFIG_I2C=y
|
|
CONFIG_COUNTER=y
|
|
CONFIG_COUNTER_MAXIM_DS3231=y
|
|
CONFIG_BT=n
|
|
CONFIG_ZTEST=y
|
|
CONFIG_TEST_USERSPACE=y
|
|
CONFIG_LOG=y
|