mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
14 lines
547 B
CMake
14 lines
547 B
CMake
idf_build_get_property(target IDF_TARGET)
|
|
|
|
set(esp_gdbstub_srcs "src/gdbstub.c"
|
|
"src/packet.c"
|
|
"${target}/gdbstub_${target}.c"
|
|
"xtensa/gdbstub_xtensa.c")
|
|
|
|
idf_component_register(SRCS "${esp_gdbstub_srcs}"
|
|
INCLUDE_DIRS "include"
|
|
PRIV_INCLUDE_DIRS "private_include" "${target}" "xtensa"
|
|
LDFRAGMENTS "linker.lf"
|
|
REQUIRES "freertos"
|
|
PRIV_REQUIRES "soc" "xtensa" "esp_rom")
|