After updating SDK from 1.0 to 1.2 I got:
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -L../lib -nostdlib -T../ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -llwip -lmain -ljson -o .output/eagle/debug/image/eagle.app.v6.out
../lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x324): undefined reference to `user_rf_pre_init'
../lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x344): undefined reference to `user_init'
../lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x447): undefined reference to `user_rf_pre_init'
../lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x4fb): undefined reference to `user_init'
collect2.exe: error: ld returned 1 exit status
../Makefile:206: recipe for target '.output/eagle/debug/image/eagle.app.v6.out' failed
mingw32-make[1]: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
The user_main.c file is still at the same place as before and both function are there:
void user_rf_pre_init(void)
{
}
/******************************************************************************
* FunctionName : user_init
* Description : entry of user application, init user function here
* Parameters : none
* Returns : none
*******************************************************************************/
extern void user_init(void)
{
uart_init(BIT_RATE_115200,BIT_RATE_115200);
//wifi_status_led_uninstall ();
NODE_DBG("User Init");
(...)
}
what can be wrong?
Thanks!!:)