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
Dylan Laduranty 883d138e1c pkg: don't align nrf53 features on nrf51/nrf52
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2023-07-13 13:22:28 +02:00

17 lines
556 B
Makefile

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)))
# 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