Digging into this a bit more, it appears that since memory on the WICED board is limited, dynamic memory allocation isn't supported, thus any library that includes dynamic memory functions is rejected during compiling...I guess? I don't know why the error message doesn't just say that directly.
So, I guess I should just get messages from STDIN with a static buffer?
1 of 1 people found this helpful
The WICED board shows the UART logs on the terminal when you build an application. You can use the same terminal to receive strings of data, basically it is receive operation from UART. Please have a look at the WICED Wi-Fi 101: Chapter 2-6 UART for accepting and sending data from/to the terminal.
Let me know if you were able to read data
I found that example just a few hours after I posted. : /
I am in the process of editing it for my experimental needs, but for some reason, the Make Target no longer recognizes my CYW943907AEVAL1F board.
I managed to figure out what I was doing wrong. I've now got a working, bi-directional UART program running on a WICED board now.
However, it only Receives/Transmits data across the board's standard USB connection.
Is it at all possible to redirect the Transmission and Receiving of UART data to the TX and RX pins on the board itself?
I have a USB-to-UART cable to work with, but when I wired it up to the TX, RX, GND, and Vin pins on the board, I could not recreate the behavior from PuTTY when the board was connected via USB.
The WICED board suggests the UART logs on the terminal while you build an application. You can use the identical terminal to get hold of strings of statistics, essentially it's far getting hold of operation from UART. Please have a have a look at the WICED Wi-Fi 101: Chapter 2-6 UART for accepting and sending facts from/to the terminal.