diff options
author | Cyril Bur <cyrilbur@gmail.com> | 2018-02-14 15:31:47 +1100 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-02-16 16:22:23 +1100 |
commit | 88a6d568b94c447f1ef354696bd68a4c82d0e26e (patch) | |
tree | 75a9c259964de6aeaec6c5a68d6bda22d5fabc46 /src/main.h | |
parent | 8fb428320252d606658bbd25acfb1eadc516bdd2 (diff) | |
download | pdbg-88a6d568b94c447f1ef354696bd68a4c82d0e26e.tar.gz pdbg-88a6d568b94c447f1ef354696bd68a4c82d0e26e.zip |
main: Attempt to automatically discover target
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,8 @@ #include <target.h> +enum backend { FSI, I2C, KERNEL, FAKE, HOST }; + static inline bool target_is_disabled(struct pdbg_target *target) { return pdbg_target_status(target) == PDBG_TARGET_DISABLED; |