Files
esp-idf/components/esp_eth/test_apps/CMakeLists.txt
Ondrej Kosta d3d5b239fb feat(esp_eth): Ethernet test refactor
ETH tests use setUp-tearDown to init/deinit resources
2026-02-25 08:42:49 +01:00

14 lines
599 B
CMake

# This is the project CMakeLists.txt file for the test subproject
cmake_minimum_required(VERSION 3.22)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(esp_eth_test)
idf_component_get_property(lib esp_eth COMPONENT_LIB)
target_compile_options(${lib} PRIVATE "-fsanitize=undefined" "-fno-sanitize=shift-base")
message(STATUS "Checking emac registers are not read-write by half-word")
include($ENV{IDF_PATH}/tools/ci/check_register_rw_half_word.cmake)
check_register_rw_half_word(SOC_MODULES "emac*" "hp_system" "hp_sys_clkrst" "lp_clkrst"
HAL_MODULES "emac*")