Hello, i am trying to connect nucleoF429zi to AWS. Using MQTT protocol.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-23 7:38 AM
First I tried to run simulation of FreeRtos on VisualStudio and that succeeded. I was received and sending messages. For guide I used: https://github.com/eziya/STM32_HAL_AWS_IOT this example. It compile fine but when I run the code it prints this error: ""REENT malloc succeeded" failed: file "/build/gnu-tools-for-stm32_9-2020-q2-update.20201001-1621/src/newlib/newlib/libc/stdlib/rand.c", line 78" . Can somebody help. Thank you very much.
Labels:
- Labels:
-
FreeRTOS
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-28 12:51 AM
I found the solution, I have to input a really random seed before using
rand(), by adding srand(time(NULL)); problem is solved.
