diff --git a/port/zephyr/CMakeLists.txt b/port/zephyr/CMakeLists.txt index 6730350a5..953d25977 100644 --- a/port/zephyr/CMakeLists.txt +++ b/port/zephyr/CMakeLists.txt @@ -58,6 +58,7 @@ file(GLOB SOURCES_UECC "${BTSTACK_ROOT}/3rd-party/micro-ecc/uECC.c") file(GLOB SOURCES_YXML "${BTSTACK_ROOT}/3rd-party/yxml/yxml.c") file(GLOB SOURCES_HXCMOD "${BTSTACK_ROOT}/3rd-party/hxcmod-player/*.c" "${BTSTACK_ROOT}/3rd-party/hxcmod-player/mods/*.c") file(GLOB SOURCES_RIJNDAEL "${BTSTACK_ROOT}/3rd-party/rijndael/rijndael.c") +file(GLOB SOURCES_EMBEDDED "${BTSTACK_ROOT}/platform/embedded/*.c") file(GLOB SOURCES_ZEPHYR "${BTSTACK_ROOT}/platform/zephyr/*.c") file(GLOB SOURCES_CHIPSET_ZEPHYR "${BTSTACK_ROOT}/chipset/zephyr/*.c") file(GLOB SOURCES_LC3_GOOGLE "${BTSTACK_ROOT}/3rd-party/lc3-google/src/*.c") @@ -125,6 +126,7 @@ set(SOURCES ${SOURCES_UECC} ${SOURCES_HXCMOD} ${SOURCES_CHIPSET_ZEPHYR} + ${SOURCES_EMBEDDED} ${SOURCES_ZEPHYR} ) list(SORT SOURCES) diff --git a/port/zephyr/src/main.c b/port/zephyr/src/main.c index 384b0394b..3e357c5a7 100644 --- a/port/zephyr/src/main.c +++ b/port/zephyr/src/main.c @@ -154,7 +154,7 @@ int main(void) nrfx_clock_divider_set(NRF_CLOCK_DOMAIN_HFCLK, NRF_CLOCK_HFCLK_DIV_1); #endif - printf("BTstack booting up..\n"); + printf("BTstack booting up...\n"); // start with BTstack init - especially configure HCI Transport btstack_memory_init(); @@ -166,7 +166,7 @@ int main(void) hci_dump_segger_rtt_binary_open( HCI_DUMP_PACKETLOGGER ); hci_dump_init(hci_dump_segger_rtt_binary_get_instance()); #else - hci_dump_init(hci_dump_embedded_stdout_get_instance()); + hci_dump_init(hci_dump_embedded_stdout_get_instance()); #endif #endif