Undefined reference to at_init
Posted: Fri Oct 23, 2015 2:30 am
I was trying to add some custom confiuration AT commands to my project.
On top of user_main.c file I added:
And then called at_init() at the beginning of user_init() function.
Unfortunately code does not compile.
Every time I get:
What is particularly strange, error is reported in user_rf_pre_init (which is empty) although at_init() is called on the beginning of user_init().
What is wrong wrong?
I am using SDK v1.1.1 (in my opinion it most stable version so far).
On top of user_main.c file I added:
Code: Select all
#include <at_custom.h>
And then called at_init() at the beginning of user_init() function.
Unfortunately code does not compile.
Every time I get:
Code: Select all
build\app_app.a(user_main.o)||In function `user_rf_pre_init':|
D:\Documents\Projects\ESP8266\Test\user\user_main.c|36|undefined reference to `at_init'|
D:\Documents\Projects\ESP8266\Test\user\user_main.c|36|undefined reference to `at_init'|
What is particularly strange, error is reported in user_rf_pre_init (which is empty) although at_init() is called on the beginning of user_init().
What is wrong wrong?
I am using SDK v1.1.1 (in my opinion it most stable version so far).