test(emac): register are not read/write by half-word

This commit is contained in:
morris 2024-06-19 22:39:50 +08:00
parent c9a504cdcb
commit 96e1fe5029
No known key found for this signature in database
GPG Key ID: 5CC314C4BD78C90F

View File

@ -8,3 +8,8 @@ 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*")