2019-06-14 00:43:49 +08:00
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
|
|
|
2021-04-15 10:52:09 +03:00
|
|
|
set(esp_gdbstub_srcs "src/gdbstub.c"
|
|
|
|
"src/packet.c"
|
|
|
|
"esp_common/gdbstub_common.c"
|
|
|
|
"${target}/gdbstub_${target}.c"
|
|
|
|
"xtensa/gdbstub-entry.S"
|
|
|
|
"xtensa/gdbstub_xtensa.c")
|
|
|
|
|
|
|
|
idf_component_register(SRCS "${esp_gdbstub_srcs}"
|
2020-11-26 13:38:09 +08:00
|
|
|
INCLUDE_DIRS "include"
|
2021-04-15 10:52:09 +03:00
|
|
|
PRIV_INCLUDE_DIRS "private_include" "${target}" "xtensa"
|
2019-06-14 00:43:49 +08:00
|
|
|
LDFRAGMENTS "linker.lf"
|
|
|
|
REQUIRES "freertos"
|
2021-04-15 10:52:09 +03:00
|
|
|
PRIV_REQUIRES "soc" "xtensa" "esp_rom")
|