diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-12-02 13:40:04 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-12-02 13:40:04 +0100 |
commit | e1526bb2c84b315c72a089dbb50447183d4b1685 (patch) | |
tree | f16d8fec3726dcfccf8640c1ce23ecf71213da0c /src/arch/msp430fr5994lp/Makefile.inc | |
parent | 0dbd065d0d0756a8645cdfb71f6572abfa0d013e (diff) |
msp430fr5994lp: add 16MHz HFXT clock source support
Diffstat (limited to 'src/arch/msp430fr5994lp/Makefile.inc')
-rw-r--r-- | src/arch/msp430fr5994lp/Makefile.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc index 9f0ef89..f6ca67e 100644 --- a/src/arch/msp430fr5994lp/Makefile.inc +++ b/src/arch/msp430fr5994lp/Makefile.inc @@ -77,6 +77,10 @@ ifeq (${timer_s}, 1) CONFIG_arch_msp430fr5994lp_driver_uptime = y endif +ifeq (${with_hfxt}, 1) + CONFIG_arch_msp430fr5994lp_hfxt_16mhz = y +endif + # Kconfig ifdef CONFIG_arch_msp430fr5994lp_driver_adc @@ -109,6 +113,10 @@ ifdef CONFIG_arch_msp430fr5994lp_driver_uptime CXX_TARGETS += src/arch/msp430fr5994lp/driver/uptime.cc endif +ifdef CONFIG_arch_msp430fr5994lp_hfxt_16mhz + COMMON_FLAGS += -DWITH_HFXT_16MHZ +endif + ifneq ($(findstring timed_resistive_load,${arch_drivers}), ) CXX_TARGETS += src/arch/msp430fr5994lp/driver/timed_resistive_load.cc |