Page 1 of 1

esp32-aws-iot build error

Posted: Thu Mar 02, 2017 4:38 pm
by preetam
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.

Re: esp32-aws-iot build error

Posted: Fri Mar 03, 2017 12:51 pm
by preetam
Added below line after line 217 in ~/esp-idf/make/project.mk
-Wno-unused-but-set-parameter