- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have a warning on "const Comm_UART_INIT_STRUCT configUart = {}" of "main.c".
In case of SCB v4.0, The number of members in structure is different between "main.c" and "Comm_UART.c."
Best regards,
Yocchi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please see three structures below.
If we update SCB from v3.20 to v4.0, there is one more member.
The adding member is "(uint8) Comm_UART_RX_BREAK_WIDTH".
So, we need to add " DISABLED, /* Comm_UART_RX_BREAK_WIDTH */ " as the bottom member of the structure "const Comm_UART_INIT_STRUCT configUart =" in main.c.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Yocchi-san,
Probably, you may use SCB_UnconfiguredComm Example Project 1.10.
could you please confirm this?
And, when I just updated components (SCB, and etc) and SCB_UnconfiguredComm Example Project*, no warning occurred.
could you please elaborate what you modified, and what warning log was?
thank you.
P.S. Please describe more detail in description for inquiry in order to efficient support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Takashi-san,
I just imported the code example with PSoC Creator 4.3.
If we compile this project under the following conditions(with Current Version), there is no warning.
Then , after updating SCB from 3.2 to 4.0, we have a warning.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please see three structures below.
If we update SCB from v3.20 to v4.0, there is one more member.
The adding member is "(uint8) Comm_UART_RX_BREAK_WIDTH".
So, we need to add " DISABLED, /* Comm_UART_RX_BREAK_WIDTH */ " as the bottom member of the structure "const Comm_UART_INIT_STRUCT configUart =" in main.c.
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I tell you the additional information.
There is no warning in the "Notice List". But there is a warning in the source code in "main.c".
Best regards,
Yocchi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Yocchi-san,
We appreciate your investigation for this issue.
Regarding solution of workaround, please initialize "(uint8) Comm_UART_RX_BREAK_WIDTH" member in main.c, as you explained in Response 3. (if you updated SCB component to V4.0.)
thank you.