mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
fix(gpio): fix 8/16-bit gpio, rtc/lp_io register access
This commit is contained in:
@@ -19,3 +19,13 @@ if(CONFIG_COMPILER_DUMP_RTL_FILES)
|
||||
DEPENDS ${elf}
|
||||
)
|
||||
endif()
|
||||
|
||||
include($ENV{IDF_PATH}/tools/ci/check_register_rw_half_word.cmake)
|
||||
message(STATUS "Checking gpio registers are not read-write by half-word")
|
||||
check_register_rw_half_word(SOC_MODULES "gpio" "io_mux" "rtc_cntl" "rtc_io" "pcr" "hp_sys_clkrst" "hp_system"
|
||||
"lp_aon" "lp_iomux" "pmu"
|
||||
HAL_MODULES "gpio")
|
||||
|
||||
message(STATUS "Checking rtcio registers are not read-write by half-word")
|
||||
check_register_rw_half_word(SOC_MODULES "rtc_io" "sens" "pcr" "lp_aon" "lp_io" "lp_gpio" "lp_iomux" "lpperi" "pmu"
|
||||
HAL_MODULES "rtc_io")
|
||||
|
@@ -21,3 +21,8 @@ endif()
|
||||
idf_component_register(SRCS ${srcs}
|
||||
PRIV_REQUIRES unity esp_driver_gpio
|
||||
WHOLE_ARCHIVE)
|
||||
|
||||
message(STATUS "Checking gpio_ext 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 "gpio_ext"
|
||||
HAL_MODULES "gpio_etm" "gpio_glitch_filter")
|
||||
|
Reference in New Issue
Block a user