esp-idf/tools/test_apps/system/cxx_build_test
Jakob Hasse 48ab527148 cxx/esp_hw_support: added build test, changed parameter types
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.

The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.

Closes https://github.com/espressif/esp-idf/pull/10895
2023-05-11 11:16:45 +08:00
..
main cxx/esp_hw_support: added build test, changed parameter types 2023-05-11 11:16:45 +08:00
CMakeLists.txt soc: make register access macros compatible with C++20 2022-06-17 18:09:22 +02:00
README.md esp32h2: add build test 2023-01-17 10:29:04 +08:00

Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-S2 ESP32-S3

C++ build test

This build-only app can be used to check if certain headers, macros or features can be successfully compiled in a C++ source file.

To add a new test, create a new file main/test_<name>.cpp and add it to main/CMakeLists.txt.

If you need to check specific compiler flags, use set_source_files_properties CMake function to adjust the compilation flags for the given source file.