Skip to content

tools/ci: migrate some ci build configurations to CMake#9808

Merged
xiaoxiang781216 merged 4 commits into
apache:masterfrom
anchao:23071301
Jul 15, 2023
Merged

tools/ci: migrate some ci build configurations to CMake#9808
xiaoxiang781216 merged 4 commits into
apache:masterfrom
anchao:23071301

Conversation

@anchao
Copy link
Copy Markdown
Contributor

@anchao anchao commented Jul 13, 2023

Summary

tools/ci: migrate some ci build configurations to CMake
cmake: fix CMake build break
drivers/sensors: fix build warning on GCC-12
cmake/menuconfig: keep comment to original style to avoid unnecessary refreshes

Impact

Depends on: apache/nuttx-apps#1832

Testing

ci-check

@anchao anchao requested review from raiden00pl and xiaoxiang781216 and removed request for raiden00pl July 13, 2023 08:41
@anchao anchao force-pushed the 23071301 branch 10 times, most recently from a6dbd77 to 4cc93e5 Compare July 14, 2023 05:36
anchao added 3 commits July 15, 2023 00:26
… refreshes

Signed-off-by: chao an <anchao@xiaomi.com>
nuttx/drivers/sensors/wtgahrs2.c: In function ‘wtgahrs2_initialize’:
nuttx/drivers/sensors/wtgahrs2.c:545:22: warning: ‘%lx’ directive output may be truncated writing between 1 and 16 bytes into a region of size 14 [-Wformat-truncation=]
  545 |   snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)rtdata);
      |                      ^~~~~
nuttx/drivers/sensors/wtgahrs2.c:545:25: note: format string is defined here
  545 |   snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)rtdata);
nuttx/drivers/sensors/wtgahrs2.c:545:22: note: directive argument in the range [1, 18446744073709551615]
  545 |   snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)rtdata);
      |                      ^~~~~
nuttx/drivers/sensors/wtgahrs2.c:545:3: note: ‘snprintf’ output between 4 and 19 bytes into a destination of size 16
  545 |   snprintf(arg1, 16, "0x%" PRIxPTR, (uintptr_t)rtdata);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: chao an <anchao@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
@anchao anchao force-pushed the 23071301 branch 2 times, most recently from 691e5c6 to 8bf33fe Compare July 14, 2023 19:25
Signed-off-by: chao an <anchao@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit dc6f140 into apache:master Jul 15, 2023
@xiaoxiang781216
Copy link
Copy Markdown
Contributor

@anchao should we remove the project built by CMake from the Makefile testlist?

@xiaoxiang781216
Copy link
Copy Markdown
Contributor

xiaoxiang781216 commented Jul 17, 2023

@raiden00pl could you add arm boards you have converted to cmake build list? which could improve cmake ci coverage and reduce ci time. @acassis the same thing could apply to ESP chip too.

@raiden00pl
Copy link
Copy Markdown
Member

@xiaoxiang781216 I'll add them soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants