Skip to content

Commit

Permalink
Custom PWM is enabled by default. (SmingHub#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
slaff authored Jun 21, 2017
1 parent f6c1199 commit d870c27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Sming/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion Sming/Makefile-project.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion Sming/Makefile-rboot.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d870c27

Please sign in to comment.