1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/mynewt-core/Makefile.include

17 lines
556 B
Makefile
Raw Normal View History

2021-07-05 14:30:19 +02:00
INCLUDES += -I$(RIOTPKG)/mynewt-core/include \
-I$(PKGDIRBASE)/mynewt-core/kernel/os/include \
-I$(PKGDIRBASE)/mynewt-core/hw/hal/include \
-I$(PKGDIRBASE)/mynewt-core/util/mem/include \
-I$(PKGDIRBASE)/mynewt-core/sys/stats/stub/include \
#
DIRS += $(RIOTPKG)/mynewt-core/contrib \
#
ifneq (,$(filter nrf51 nrf52,$(CPU)))
2021-07-05 14:30:19 +02:00
# OS_CPUTIME is set to 32.767 Hz
CFLAGS += -DMYNEWT_VAL_OS_CPUTIME_FREQ=32768
else
CFLAGS += -DMYNEWT_VAL_OS_CPUTIME_FREQ=CONFIG_ZTIMER_MSEC_BASE_FREQ
endif