GPIO16 should never have been using these registers.
Statistics: Posted by costaud — Tue Jun 02, 2015 11:05 am
]]>2015-06-02T10:40:18+08:002015-06-02T10:40:18+08:00https://bbs.espressif.com:443/viewtopic.php?t=494&p=2011#p2011 So sorry for the inconvenience,SDK_v1.1.0 release note updated http://bbs.espressif.com/viewtopic.php?f=5&t=481
ESP8266 GPIO don‘t support pull-down function,so related APIs are deleted.
Please add external resistance to pull-down the pin.
Thanks for your interest in ESP8266 !
Statistics: Posted by ESP_Faye — Tue Jun 02, 2015 10:40 am
]]>2015-05-26T15:19:06+08:002015-05-26T15:19:06+08:00https://bbs.espressif.com:443/viewtopic.php?t=494&p=1875#p1875Statistics: Posted by alexchang — Tue May 26, 2015 3:19 pm
]]>2015-05-26T11:05:56+08:002015-05-26T11:05:56+08:00https://bbs.espressif.com:443/viewtopic.php?t=494&p=1862#p1862
alexchang wrote: seems something removed?
/user/user_main.c:241: undefined reference to `wdt_feed' build/app_app.a(gpio16.o): In function `gpio16_input_get': Makefile:247: recipe for target 'build/app.out' failed /driver/gpio16.c:97: undefined reference to `PIN_PULLDWN_DIS' driver/gpio16.c:98: undefined reference to `PIN_PULLDWN_EN' /driver/gpio16.c:98: undefined reference to `PIN_PULLDWN_DIS' build/app_app.a(gpio16.o): In function `set_gpio_mode': /driver/gpio16.c:112: undefined reference to `PIN_PULLDWN_EN' /driver/gpio16.c:115: undefined reference to `PIN_PULLDWN_DIS' collect2.exe: error: ld returned 1 exit status
Hi ,
Are you using the origional SDK?
It seems there is no PIN_PULLDWN-related register in GPIO16.h
Moreover, GPIO16 is totally different from the other GPIOs(GPIO0-GPIO15), please use the API to control GPIO16.
Note: There are no pull-down functions on GPIO pad now, so we should never use these registers. Add external resistance to pulldown the pin.
Statistics: Posted by costaud — Tue May 26, 2015 11:05 am
]]>2015-05-25T15:25:44+08:002015-05-25T15:25:44+08:00https://bbs.espressif.com:443/viewtopic.php?t=494&p=1851#p1851Statistics: Posted by tve — Mon May 25, 2015 3:25 pm
]]>2015-05-25T13:26:51+08:002015-05-25T13:26:51+08:00https://bbs.espressif.com:443/viewtopic.php?t=494&p=1849#p1849Statistics: Posted by Guest — Mon May 25, 2015 1:26 pm
]]>2015-05-25T13:08:54+08:002015-05-25T13:08:54+08:00https://bbs.espressif.com:443/viewtopic.php?t=494&p=1848#p1848 /user/user_main.c:241: undefined reference to `wdt_feed' build/app_app.a(gpio16.o): In function `gpio16_input_get': Makefile:247: recipe for target 'build/app.out' failed /driver/gpio16.c:97: undefined reference to `PIN_PULLDWN_DIS' driver/gpio16.c:98: undefined reference to `PIN_PULLDWN_EN' /driver/gpio16.c:98: undefined reference to `PIN_PULLDWN_DIS' build/app_app.a(gpio16.o): In function `set_gpio_mode': /driver/gpio16.c:112: undefined reference to `PIN_PULLDWN_EN' /driver/gpio16.c:115: undefined reference to `PIN_PULLDWN_DIS' collect2.exe: error: ld returned 1 exit status
Statistics: Posted by alexchang — Mon May 25, 2015 1:08 pm