Page 1 of 1

compilation error

Posted: Tue Aug 29, 2017 8:23 am
by gaurav
I am getting an error while compiling the firmware "implicit function declaration".
What should I do?

Re: compilation error

Posted: Tue Aug 29, 2017 8:30 am
by pzygmunt
I don't see anything on your screenshot. Send raw text from make log.

Re: compilation error

Posted: Tue Aug 29, 2017 9:25 am
by gaurav
where can view the log file unable to find?

Re: compilation error

Posted: Tue Aug 29, 2017 9:49 am
by gaurav
compile_error.png
compile_error.png (64.36 KiB) Viewed 18204 times

Re: compilation error

Posted: Tue Aug 29, 2017 10:06 am
by pzygmunt
./build.sh [what] ?

Re: compilation error

Posted: Tue Aug 29, 2017 10:13 am
by gaurav
wemos_gate_X2_DS.

Re: compilation error

Posted: Tue Aug 29, 2017 10:17 am
by pzygmunt
I don't have sources of this board.
You mast add function prototype to your_board_file.h

void ICACHE_FLASH_ATTR supla_esp_board_send_channel_values_with_delay(void *srpc);

Re: compilation error

Posted: Tue Aug 29, 2017 10:29 am
by gaurav
Got this error now.
compile_error_1.png
compile_error_1.png (42.17 KiB) Viewed 18197 times

Re: compilation error

Posted: Tue Aug 29, 2017 10:58 am
by pzygmunt
Also you don't have function implementation.

Add this below to your board_file.c

void ICACHE_FLASH_ATTR supla_esp_board_send_channel_values_with_delay(void *srpc) {

// ..... your code

}