You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded en.x-cube-aws package from ST website and it uses aws-iot-device-sdk-embedded-C v2.0, so I decided update to v3.0. Compiling the IAR project with v3.0, the compiler complains the follow issues:
File "aws_timer.c":
=> No function prototypes.
File "aws_iot_mqtt_client.c"
=> No function prototype for "aws_iot_mqtt_set_client_state( )"
File "aws_iot_mqtt_client_connect.c"
=> No function prototype for "_aws_iot_mqtt_internal_disconnect( )"
Solving this problems, the IAR project will compile.
The text was updated successfully, but these errors were encountered:
EderAndrade
changed the title
Compilation problems using IAR
Compilation problems using IAR bug
Jul 13, 2018
EderAndrade
changed the title
Compilation problems using IAR bug
Compilation problems using IAR
Jul 13, 2018
The prototype for _aws_iot_mqtt_internal_disconnect does seem to be missing.
Please allow me me take a few days to look into these issues. But please keep in mind that we can give general support and guidance on this SDK, and not support for specific hardware or compilers.
#205 will fix the function prototypes issue with aws_iot_mqtt_set_client_state( ) and _aws_iot_mqtt_internal_disconnect( ). The file aws_timer.c is not a part of this SDK (it appears to be something that ST implemented). You will have to add the prototypes for those functions yourself.
I downloaded en.x-cube-aws package from ST website and it uses aws-iot-device-sdk-embedded-C v2.0, so I decided update to v3.0. Compiling the IAR project with v3.0, the compiler complains the follow issues:
File "aws_timer.c":
=> No function prototypes.
File "aws_iot_mqtt_client.c"
=> No function prototype for "aws_iot_mqtt_set_client_state( )"
File "aws_iot_mqtt_client_connect.c"
=> No function prototype for "_aws_iot_mqtt_internal_disconnect( )"
Solving this problems, the IAR project will compile.
The text was updated successfully, but these errors were encountered: