plieningerweb / esp8266-software-uart

Software UART / Software Serial / SoftUart for ESP8266 to connect more than one UART
MIT License
124 stars 42 forks source link

Error undefined reference to `PIN_PULLDWN_DIS' !!! #3

Closed tinamore closed 9 years ago

tinamore commented 9 years ago

Hi Thank you for great project I complie esp8266-software-uart, But elipse show error:

softuart.c:50: undefined reference to `PIN_PULLDWN_DIS'
....
softuart.c:129: undefined reference to `PIN_PULLDWN_DIS'

I use SDK 1.2.0 Can you fix this erorr ? thanks.

krzychb commented 9 years ago

This error is due to changes introduced in esp_iot_sdk_v1.1.0_15_05_26. For details please refer to http://bbs.espressif.com/viewtopic.php?f=5&t=481&p=1832 To fix it I commented out all occurrences of PIN_PULLDWN_DIS(...) in file softuart.c - there were three of them.

Thanks plieningerweb - the library works great :-)

plieningerweb commented 9 years ago

Just fixed the issue by removing all PIN_PULLDWN_DIS