generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Description
I got a warning when trying to port a project from TI CCS to the GNU ARM toolchain. Specifically on this line:
| _rx_descriptors[ i ].ui32Count = DES1_RX_CTRL_CHAINED | ( ( buffer_size_requested << DES1_TX_CTRL_BUFF1_SIZE_S ) & DES1_TX_CTRL_BUFF1_SIZE_M ); |
GCC warns that 'buffer_size_requested' may be used uninitialized. Indeed, it is declared here and never initialized:
| size_t buffer_size_requested; |
Note that the port works great despite this apparent bug. But it seems like this should cause issues with the DMA. Tagging @jscott-hotstart in case you remember what buffer_size_requested should be.
Metadata
Metadata
Assignees
Labels
No labels