aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/hal/hal.h
diff options
context:
space:
mode:
authorJ08nY2019-11-25 17:45:35 +0100
committerJ08nY2019-11-25 17:45:35 +0100
commit8a56c7a95e662862cfe78b834ccb091e95d5372f (patch)
tree1fd57480b7fc681f00c0bfb6c0e5cfea86762f87 /pyecsca/codegen/hal/hal.h
parentc8d0bff46001bd5636825c5b0bb4c896cb34a4e6 (diff)
downloadpyecsca-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/hal.h')
-rw-r--r--pyecsca/codegen/hal/hal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyecsca/codegen/hal/hal.h b/pyecsca/codegen/hal/hal.h
index 831276f..b14dacf 100644
--- a/pyecsca/codegen/hal/hal.h
+++ b/pyecsca/codegen/hal/hal.h
@@ -24,6 +24,7 @@ void platform_init(void);
#define HAL_xmega 1
#define HAL_stm32f0 2
#define HAL_stm32f3 3
+#define HAL_host 4
#if HAL == HAL_xmega
#include <avr/io.h>
@@ -34,6 +35,8 @@ void platform_init(void);
#include "stm32f0/stm32f0_hal.h"
#elif HAL == HAL_stm32f3
#include "stm32f3/stm32f3_hal.h"
+#elif HAL == HAL_host
+ #include "host/host_hal.h"
#else
#error "Unsupported HAL Type"
#endif