nrf5: Only enable hal_pwm.c if nrf52 target as nrf51 must have a sw implementation.
This commit is contained in:
parent
3bf2ca05f1
commit
18f528eceb
|
@ -114,8 +114,13 @@ SRC_HAL = $(addprefix hal/,\
|
|||
hal_spi.c \
|
||||
hal_spie.c \
|
||||
hal_time.c \
|
||||
)
|
||||
|
||||
ifeq ($(MCU_VARIANT), nrf52)
|
||||
SRC_HAL += $(addprefix hal/,\
|
||||
hal_pwm.c \
|
||||
)
|
||||
endif
|
||||
|
||||
SRC_C += \
|
||||
main.c \
|
||||
|
|
Loading…
Reference in New Issue