diff --git a/Sming/Makefile b/Sming/Makefile index 4fbf170496..49fbf68dfa 100644 --- a/Sming/Makefile +++ b/Sming/Makefile @@ -215,7 +215,8 @@ endif # libraries used in this project, mainly provided by the SDK LIBS = microc microgcc hal phy pp net80211 $(LIBLWIP) wpa main -# WARNING: In the next versions ENABLE_CUSTOM_PWM will be set to 1 by default + +ENABLE_CUSTOM_PWM ?= 1 ifeq ($(ENABLE_CUSTOM_PWM), 1) THIRD_PARTY_DATA += third-party/pwm/pwm.c endif diff --git a/Sming/Makefile-project.mk b/Sming/Makefile-project.mk index 371156d4e0..03e7b76c53 100644 --- a/Sming/Makefile-project.mk +++ b/Sming/Makefile-project.mk @@ -196,7 +196,8 @@ ifeq ($(ENABLE_CUSTOM_LWIP), 1) endif LIBPWM = pwm -# WARNING: In the next versions ENABLE_CUSTOM_PWM will be set to 1 by default + +ENABLE_CUSTOM_PWM ?= 1 ifeq ($(ENABLE_CUSTOM_PWM), 1) LIBPWM = pwm_open CUSTOM_TARGETS += $(USER_LIBDIR)/lib$(LIBPWM).a diff --git a/Sming/Makefile-rboot.mk b/Sming/Makefile-rboot.mk index 3c1c2d64e8..b26f761668 100644 --- a/Sming/Makefile-rboot.mk +++ b/Sming/Makefile-rboot.mk @@ -244,7 +244,8 @@ ifeq ($(ENABLE_CUSTOM_LWIP), 1) endif LIBPWM = pwm -# WARNING: In the next versions ENABLE_CUSTOM_PWM will be set to 1 by default + +ENABLE_CUSTOM_PWM ?= 1 ifeq ($(ENABLE_CUSTOM_PWM), 1) LIBPWM = pwm_open CUSTOM_TARGETS += $(USER_LIBDIR)/lib$(LIBPWM).a