diff options
| author | J08nY | 2019-11-25 17:45:35 +0100 |
|---|---|---|
| committer | J08nY | 2019-11-25 17:45:35 +0100 |
| commit | 8a56c7a95e662862cfe78b834ccb091e95d5372f (patch) | |
| tree | 1fd57480b7fc681f00c0bfb6c0e5cfea86762f87 /pyecsca/codegen/hal/host/uart.c | |
| parent | c8d0bff46001bd5636825c5b0bb4c896cb34a4e6 (diff) | |
| download | pyecsca-codegen-8a56c7a95e662862cfe78b834ccb091e95d5372f.tar.gz pyecsca-codegen-8a56c7a95e662862cfe78b834ccb091e95d5372f.tar.zst pyecsca-codegen-8a56c7a95e662862cfe78b834ccb091e95d5372f.zip | |
Add libtommath, HOST build, and a simple PRNG.
Diffstat (limited to 'pyecsca/codegen/hal/host/uart.c')
| -rw-r--r-- | pyecsca/codegen/hal/host/uart.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pyecsca/codegen/hal/host/uart.c b/pyecsca/codegen/hal/host/uart.c new file mode 100644 index 0000000..3931d6d --- /dev/null +++ b/pyecsca/codegen/hal/host/uart.c @@ -0,0 +1,7 @@ +#include "uart.h" + +void init_uart0(void) {} + +char input_ch_0(void) { return getchar(); } + +void output_ch_0(char data) { putchar(data); }
\ No newline at end of file |
