ESP8266 SDK 1.10 Different

Something odd here.

 

So I’ve downloaded the latest ESP8266 SDK version 1.10 and while one of my bigger projects is ok, another fails miserably. If you look at some of the items below… PIN_PULLDWN_DIS for example – that is most definitely in EAGLE_SOC.H in the previous version – yet missing from the 1.10 version – I’m sure that the story will be the same for other errors in here.

Anyone know what’s up?

 

 

16:12:46 **** Build of configuration Default for project Petes_and_Aid_Code ****
mingw32-make.exe -f C:/Users/Peter/ownCloud/Documents/esp-mqtt-dev/Makefile all
LD build/app.out
c:/Espressif/ESP8266_SDK/lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty’:
(.irom0.text+0x34c): undefined reference to `user_rf_pre_init’
c:/Espressif/ESP8266_SDK/lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty’:
(.irom0.text+0x474): undefined reference to `user_rf_pre_init’
build/app_app.a(petes_code.o): In function `convertTime’:
C:\Users\Peter\ownCloud\Documents\esp-mqtt-dev/user/petes_code.c:79: undefined reference to `PIN_PULLDWN_DIS’
C:\Users\Peter\ownCloud\Documents\esp-mqtt-dev/user/petes_code.c:85: undefined reference to `PIN_PULLDWN_DIS’
build/app_app.a(petes_code.o): In function `ds_reset’:
C:/Users/Peter/ownCloud/Documents/esp-mqtt-dev/Makefile:137: recipe for target ‘build/app.out’ failed
C:\Users\Peter\ownCloud\Documents\esp-mqtt-dev/user/petes_code.c:247: undefined reference to `os_intr_lock’
C:\Users\Peter\ownCloud\Documents\esp-mqtt-dev/user/petes_code.c:248: undefined reference to `os_intr_unlock’
C:\Users\Peter\ownCloud\Documents\esp-mqtt-dev/user/petes_code.c:250: undefined reference to `os_intr_lock’
build/app_app.a(petes_code.o): In function `temperature_cb’:
C:\Users\Peter\ownCloud\Documents\esp-mqtt-dev/user/petes_code.c:1388: undefined reference to `os_intr_unlock’
build/app_app.a(petes_code.o): In function `bounce_cb’:
C:\Users\Peter\ownCloud\Documents\esp-mqtt-dev/user/petes_code.c:1382: undefined reference to `PIN_PULLDWN_DIS’
build/app_app.a(petes_code.o): In function `rtc_cb’:
C:\Users\Peter\ownCloud\Documents\esp-mqtt-dev/user/petes_code.c:1418: undefined reference to `PIN_PULLDWN_DIS’
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [build/app.out] Error 1

6 thoughts on “ESP8266 SDK 1.10 Different

  1. How did you solve the `user_rf_pre_init’ error? I’m migrating my build onto the latest devkit and have had the same errors as you!

  2. Well done Ken – that indeed does work and I’m thinking it’s likely to be backward compatible.
    Now all I have to do is figure out why the larger version of our code which has been moved to 0x20000 (with web page at 0x12000) won’t start up – an earlier version works just fine with the new SDK.

  3. The developers of Sming have started making updates for the newest SDK, and so far they’ve noted the following changes (besides the PULLDWN thing above):

    os_intr_lock -> ets_intr_lock
    os_intr_unlock -> ets_intr_unlock

Comments are closed.