diff options
Diffstat (limited to 'pyecsca/codegen/hal/hal.h')
| -rw-r--r-- | pyecsca/codegen/hal/hal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pyecsca/codegen/hal/hal.h b/pyecsca/codegen/hal/hal.h index 038415d..181113a 100644 --- a/pyecsca/codegen/hal/hal.h +++ b/pyecsca/codegen/hal/hal.h @@ -23,8 +23,9 @@ void platform_init(void); #define HAL_xmega 1 #define HAL_stm32f0 2 -#define HAL_stm32f3 3 -#define HAL_host 4 +#define HAL_stm32f0_nano 3 +#define HAL_stm32f3 4 +#define HAL_host 5 #if HAL == HAL_xmega #include <avr/io.h> @@ -33,6 +34,8 @@ void platform_init(void); #include "xmega/avr_compiler.h" #elif HAL == HAL_stm32f0 #include "stm32f0/stm32f0_hal.h" +#elif HAL == HAL_stm32f0_nano + #include "stm32f0/stm32f0_hal.h" #elif HAL == HAL_stm32f3 #include "stm32f3/stm32f3_hal.h" #elif HAL == HAL_host |
