Skip to content

Commit 7d778aa

Browse files
committed
Fix Makefiles
1 parent b2a0fa8 commit 7d778aa

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

examples/nimble_blecent/Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ PRIORITY = $(CONFIG_EXAMPLES_NIMBLE_BLECENT_PRIORITY)
2727
STACKSIZE = $(CONFIG_EXAMPLES_NIMBLE_BLECENT_STACKSIZE)
2828
MODULE = $(CONFIG_EXAMPLES_NIMBLE_BLECENT)
2929

30-
# NimBLE Example
30+
# NimBLE Central Example
3131

32-
MAINSRC = nimble_BLECENT_main.c
32+
CSRCS += misc.c peer.c
33+
MAINSRC = nimble_blecent_main.c
3334

3435
include $(APPDIR)/wireless/bluetooth/nimble/Makefile.nimble
3536

3637
include $(APPDIR)/Application.mk
38+

examples/nimble_bleprph/Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ PRIORITY = $(CONFIG_EXAMPLES_NIMBLE_BLEPRPH_PRIORITY)
2727
STACKSIZE = $(CONFIG_EXAMPLES_NIMBLE_BLEPRPH_STACKSIZE)
2828
MODULE = $(CONFIG_EXAMPLES_NIMBLE_BLEPRPH)
2929

30-
# NimBLE Example
30+
# NimBLE Peripheral Example
3131

32+
CSRCS += misc.c gatt_svr.c
3233
MAINSRC = nimble_bleprph_main.c
3334

3435
include $(APPDIR)/wireless/bluetooth/nimble/Makefile.nimble
3536

3637
include $(APPDIR)/Application.mk
38+

0 commit comments

Comments
 (0)