- new modules/probes/ parses probes.yaml (libyaml): a defaults: map applied on every jtag_open + named profiles: selected with `jtag_open <idx> <profile>` (jtag_profiles lists them); each value is pushed into the script envvar store the driver reads at open time - ships a flashpro profile (ADBUS4 high-Z) that lets the IGLOO2 kit's embedded FlashPro (FT4232H, port 0) detect the chain - CLAUDE.md: decision entry for probes.yaml + a design note on the probe / JTAG-link / device config strategy (driver-neutral link layer) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
13 lines
392 B
CMake
13 lines
392 B
CMake
set(SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
file(GLOB_RECURSE ALL_SOURCES "*.c")
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
|
|
|
add_library(probes ${ALL_SOURCES})
|
|
|
|
# probes.yaml is parsed at runtime via libyaml (same as the fpga module).
|
|
find_package(PkgConfig REQUIRED)
|
|
pkg_check_modules(YAML REQUIRED IMPORTED_TARGET yaml-0.1)
|
|
target_link_libraries(probes PUBLIC PkgConfig::YAML)
|