esp-idf/tools/test_apps/system/cxx_build_test
Jakob Hasse 5946c6ad16 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-15 10:03:12 +08:00
..
main cxx/esp_hw_support: added build test, changed parameter types 2023-05-15 10:03:12 +08:00
CMakeLists.txt soc: make register access macros compatible with C++20 2022-06-17 18:09:22 +02:00
README.md docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00

Supported Targets ESP32 ESP32-C2 ESP32-C3 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.