diff options
author | jaseg <git@jaseg.net> | 2018-12-17 12:26:51 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2018-12-17 12:26:51 +0900 |
commit | 40e9fb8153a218a243cff749d7d0b4e82d70ae94 (patch) | |
tree | 831254a0d04a45012d5f11bb5f581833a95ae177 /src/tracing.h | |
parent | eb3b3b884c0e119f40499019277e984988502dbe (diff) | |
download | secure-hid-40e9fb8153a218a243cff749d7d0b4e82d70ae94.tar.gz secure-hid-40e9fb8153a218a243cff749d7d0b4e82d70ae94.tar.bz2 secure-hid-40e9fb8153a218a243cff749d7d0b4e82d70ae94.zip |
Invocation of noise.c from demo.c mostly proving in frama-c
Diffstat (limited to 'src/tracing.h')
-rw-r--r-- | src/tracing.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tracing.h b/src/tracing.h index 9aa9216..1970556 100644 --- a/src/tracing.h +++ b/src/tracing.h @@ -3,8 +3,13 @@ #include <libopencm3/stm32/gpio.h> +#ifndef VERIFICATION #define TRACING_SET(i) gpio_set(GPIOD, (1<<i)) #define TRACING_CLEAR(i) gpio_clear(GPIOD, (1<<i)) +#else +#define TRACING_SET(i) ((void)0) +#define TRACING_CLEAR(i) ((void)0) +#endif enum tracing_channels { TR_HID_MESSAGE_HANDLER = 0, |