1 /** 2 * @file lv_test_conf.h 3 * 4 */ 5 6 #ifndef LV_TEST_CONF_H 7 #define LV_TEST_CONF_H 8 9 #define LV_CONF_SUPPRESS_DEFINE_CHECK 1 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 /********************* 16 * INCLUDES 17 *********************/ 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 #define LV_USE_TINY_TTF 1 24 25 void lv_test_assert_fail(void); 26 #define LV_ASSERT_HANDLER lv_test_assert_fail(); 27 28 /********************** 29 * TYPEDEFS 30 **********************/ 31 32 uint32_t custom_tick_get(void); 33 #define LV_TICK_CUSTOM_SYS_TIME_EXPR custom_tick_get() 34 35 typedef void * lv_user_data_t; 36 37 /********************** 38 * GLOBAL PROTOTYPES 39 **********************/ 40 41 /********************** 42 * MACROS 43 **********************/ 44 45 #ifdef __cplusplus 46 } /*extern "C"*/ 47 #endif 48 49 #endif /*LV_TEST_CONF_H*/ 50