esp32-aws-iot build error

preetam
Posts: 49
Joined: Thu Jan 26, 2017 2:31 pm
Location: Germany

esp32-aws-iot build error

Postby preetam » Thu Mar 02, 2017 4:38 pm

Hi,

I am trying to build the esp32-aws-iot from https://github.com/carsonmcdonald/esp32-aws-iot

while executing make flash i get these errors
C:/esp32-aws-iot/components/awsiot/src/aws_iot_shadow_json.c: In function 'isJsonValidAndParse':
C:/esp32-aws-iot/components/awsiot/src/aws_iot_shadow_json.c:327:59: error: parameter 'pJsonHandler' set but not used [-Werror=unused-but-set-parameter]
bool isJsonValidAndParse(const char *pJsonDocument, void *pJsonHandler, int32_t *pTokenCount)

has anybody successfully built this.

preetam
Posts: 49
Joined: Thu Jan 26, 2017 2:31 pm
Location: Germany

Re: esp32-aws-iot build error

Postby preetam » Fri Mar 03, 2017 12:51 pm

Added below line after line 217 in ~/esp-idf/make/project.mk
-Wno-unused-but-set-parameter

Who is online

Users browsing this forum: Baidu [Spider] and 78 guests