compilation error

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

Post

I am getting an error while compiling the firmware "implicit function declaration".
What should I do?
You do not have the required permissions to view the files attached to this post.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

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

Post

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

Post

compile_error.png
You do not have the required permissions to view the files attached to this post.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

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

Post

wemos_gate_X2_DS.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

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

Post

Got this error now.
compile_error_1.png
You do not have the required permissions to view the files attached to this post.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

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

}
SUPLA.... Nareszcie w domu.

Return to “General discussion”