You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "csanchezdll (via GitHub)" <gi...@apache.org> on 2023/10/02 11:33:18 UTC
[PR] arch/arm/src/s32k1xx: Fix LPUART inversion warnings & config. [nuttx]
csanchezdll opened a new pull request, #10846:
URL: https://github.com/apache/nuttx/pull/10846
## Summary
Enabling S32K1XX_LPUART_INVERT causes warning when building serial driver. This patch fixes it, and also
removes a duplicated menu entry in Kconfig.
## Impact
Minor, affects configuration & build only.
## Testing
```
tools/configure.sh s32k148evb:nsh
make menuconfig
```
Select
1. `System Type -> LPUART Configuration -> Signal Invert Support`
2. `Device Drivers -> Serial Driver Support -> Serial TERMIOS support`
```
make
```
Warning is printed:
```
chip/s32k1xx_serial.c:1350:20: warning: declaration of 'flags' shadows a previous local [-Wshadow]
1350 | irqstate_t flags;
| ^~~~~
```
After the patch, the warning no longer appears. Also, after the patch it is no longer needed to enable TERMIOS support to have LPUART inversion, and the double "LPUART Configuration" menu entry is gone (all items are grouped under the same menu).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] arch/arm/src/s32k1xx: Fix LPUART inversion warnings & config. [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #10846:
URL: https://github.com/apache/nuttx/pull/10846
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org