Re: Enforcing C++ compatibility with C code in CI/CD

2023-10-08 Thread Xiang Xiao
We can add a simple test like this: 1. Create a context target in Makefile to generate a .cxx file which list and include all header files in nuttx/include 2. Add the generated file to CXXSRCS If we just want to ensure the public nuttx header files are compatible with c++ syntax. On Mon

IMXRT: LPUART IDLE character Kconfig setting request

2023-10-08 Thread Daniel Appiagyei
Hi, The IMXRT's LPUARTs have support for configuring the number of idle characters it receives over UART before setting the STAT register's IDLE flag. The setting is in CTRL[IDLECFG]. Are anyone imxrt users already planning to add support for this in master? I will do so if not. Will place the appr

Re: Enforcing C++ compatibility with C code in CI/CD

2023-10-08 Thread Daniel Appiagyei
Late follow up, sorry Thanks guys, I do understand that only headers need to be compatible, however, the GCC check I mentioned above does not discriminate between headers and source files. If we don't have some sort of automated check for C++ compatibility, then we will run into issues in the futu