diff --git a/hw-tests/api-demo/meson.build b/hw-tests/api-demo/meson.build
index 2440a8ad3ca7ebf91652fdf93b0d5140675d2c7a..9216e59d04df4d64a3cd2742114c568cadd47921 100644
--- a/hw-tests/api-demo/meson.build
+++ b/hw-tests/api-demo/meson.build
@@ -17,6 +17,7 @@ name = 'api-demo-core0'
 executable(
   name + '.elf',
   'main.c',
+  './api/api_caller.c',
   api_stubs[0],
   dependencies: [libcard10, max32665_startup_core0],
   link_whole: [max32665_startup_core0_lib, board_card10_lib],
@@ -30,6 +31,7 @@ name = 'api-demo-core1'
 executable(
   name + '.elf',
   'test-payload.c',
+  './api/api_dispatcher.c',
   api_stubs[1],
   dependencies: [libcard10, max32665_startup_core1],
   link_whole: [max32665_startup_core1_lib, board_card10_lib],