compilation error

Post Reply
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

I am getting an error while compiling the firmware "implicit function declaration".
What should I do?
Attachments
compile_error.png
compile_error.png (572.5 KiB) Viewed 18189 times
User avatar
pzygmunt
Posts: 18207
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

I don't see anything on your screenshot. Send raw text from make log.
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

where can view the log file unable to find?
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

compile_error.png
compile_error.png (64.36 KiB) Viewed 18172 times
User avatar
pzygmunt
Posts: 18207
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

./build.sh [what] ?
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

wemos_gate_X2_DS.
User avatar
pzygmunt
Posts: 18207
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

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);
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Got this error now.
compile_error_1.png
compile_error_1.png (42.17 KiB) Viewed 18165 times
User avatar
pzygmunt
Posts: 18207
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

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

}
Post Reply

Return to “General discussion”