fix(cmake): add asm file compile definitions (#4884)

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
Peter Bee
2023-11-28 02:17:21 -06:00
committed by GitHub
parent dd960a60f3
commit b42cb43074
4 changed files with 10 additions and 4 deletions

View File

@@ -51,11 +51,12 @@ extern "C" {
#define LV_GC_ROOT(x) MP_STATE_PORT(x)
#endif
#ifndef __ASSEMBLY__
void lv_test_assert_fail(void);
#define LV_ASSERT_HANDLER lv_test_assert_fail();
typedef void * lv_user_data_t;
#endif
/***********************
* TEST CONFIGS
***********************/