I am using the Wemos D1 Mini Pro and I came across the requirement to get PWM working. So I went into my main SDK directory and modified the Makefile adjusting it from VENDOR_SDK = 2.0.0 to VENDOR_SDK = 2.1.0 and BAM PWM started working perfect without my WD timer kicking off.. But then right when I did that my Wifi stoped working. It seems like everything is perfect but it is no longer hsoting an AP anymore, I then updated my make file back to 2.0.0 then did a clean and make on my project then Wifi starts working then my PWM kicks off a WDT error rebooting my chip. Any qlues? I can reproduce the issue swapping back and forth to make the Wifi or PWM stop working correctly.
Thank you everyone!
# Whether to merge SDK into Xtensa toolchain, producing standalone
# ESP8266 toolchain. Use 'n' if you want generic Xtensa toolchain
# which can be used with multiple SDK versions.
STANDALONE = y
# Directory to install toolchain to, by default inside current dir.
TOOLCHAIN = $(TOP)/xtensa-lx106-elf
# Vendor SDK version to install, see VENDOR_SDK_ZIP_* vars below
# for supported versions.
VENDOR_SDK = 2.0.0
.PHONY: crosstool-NG toolchain libhal libcirom sdk
TOP = $(PWD)
SHELL = /bin/bash
PATCH = patch -b -N
UNZIP = unzip -q -o
VENDOR_SDK_ZIP = $(VENDOR_SDK_ZIP_$(VENDOR_SDK))
VENDOR_SDK_DIR = $(VENDOR_SDK_DIR_$(VENDOR_SDK))
VENDOR_SDK_DIR_2.1.0-18-g61248df = ESP8266_NONOS_SDK-2.1.0-18-g61248df
VENDOR_SDK_ZIP_2.1.0 = ESP8266_NONOS_SDK-2.1.0.zip
VENDOR_SDK_DIR_2.1.0 = ESP8266_NONOS_SDK-2.1.0
VENDOR_SDK_ZIP_2.0.0 = ESP8266_NONOS_SDK_V2.0.0_16_08_10.zip
VENDOR_SDK_DIR_2.0.0 = ESP8266_NONOS_SDK_V2.0.0_16_08_10
VENDOR_SDK_ZIP_1.5.4 = ESP8266_NONOS_SDK_V1.5.4_16_05_20.zip
VENDOR_SDK_DIR_1.5.4 = ESP8266_NONOS_SDK_V1.5.4_16_05_20
VENDOR_SDK_ZIP_1.5.3 = ESP8266_NONOS_SDK_V1.5.3_16_04_18.zip
VENDOR_SDK_DIR_1.5.3 = ESP8266_NONOS_SDK_V1.5.3_16_04_18/ESP8266_NONOS_SDK
VENDOR_SDK_ZIP_1.5.2 = ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip
VENDOR_SDK_DIR_1.5.2 = esp_iot_sdk_v1.5.2
*Update* It seems copying the files
esp-open-sdk\lib to xtensa-lx106-elf\xtensa-lx106-elf\sysroot\usr\lib\ makes pwm work in the SDK but then breaks the wifi again as expected then reverting these files again makes wifi work but breaks pwm.