diff options
| author | Andrej Bátora | 2023-12-07 15:50:22 +0100 |
|---|---|---|
| committer | GitHub | 2023-12-07 15:50:22 +0100 |
| commit | f7a1d8cac5aafe98b89bfdea7744206dd6db84f5 (patch) | |
| tree | e6038cca4dcab095006e4f9eab978d1ec5c19001 /ext | |
| parent | b187a92f77a354039054a2f107565f69f4aff21f (diff) | |
| parent | 4402971348d442d24693f1a7298662c476b9dcd3 (diff) | |
| download | pyecsca-codegen-f7a1d8cac5aafe98b89bfdea7744206dd6db84f5.tar.gz pyecsca-codegen-f7a1d8cac5aafe98b89bfdea7744206dd6db84f5.tar.zst pyecsca-codegen-f7a1d8cac5aafe98b89bfdea7744206dd6db84f5.zip | |
Merge branch 'J08nY:master' into fix/naming
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/Makefile | 8 | ||||
| m--------- | ext/libtommath | 0 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/Makefile b/ext/Makefile index dcc7bc3..ffd53d5 100644 --- a/ext/Makefile +++ b/ext/Makefile @@ -15,7 +15,7 @@ tommath_headers: tommath_dir cp libtommath/*.h ../pyecsca/codegen/tommath/ host: LIBNAME=libtommath-HOST.a -host: CFLAGS=-DMP_NO_DEV_URANDOM -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 +host: CFLAGS=-DMP_NO_DEV_URANDOM -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 -DMP_MIN_DIGIT_COUNT=10 host: COMPILE_SIZE=1 host: COMPILE_LTO=1 host: tommath_dir tommath_headers @@ -24,7 +24,7 @@ host: tommath_dir tommath_headers cp libtommath/$(LIBNAME) ../pyecsca/codegen/tommath/$(LIBNAME) nano: CROSS_COMPILE=arm-none-eabi- -nano: CFLAGS=-mcpu=cortex-m0 -mthumb -mfloat-abi=soft -ffunction-sections -DMP_NO_DEV_URANDOM -DMP_32BIT -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 +nano: CFLAGS=-mcpu=cortex-m0 -mthumb -mfloat-abi=soft -ffunction-sections -DMP_NO_DEV_URANDOM -DMP_32BIT -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 -DMP_MIN_DIGIT_COUNT=10 nano: LDFLAGS=--specs=nano.specs --specs=nosys.specs -T ../pyecsca/codegen/hal/stm32f0_nano/LinkerScript.ld -Wl,--gc-sections -lm -mthumb -mcpu=cortex-m0 nano: COMPILE_SIZE=1 nano: COMPILE_LTO=1 @@ -35,7 +35,7 @@ nano: tommath_dir tommath_headers cp libtommath/$(LIBNAME) ../pyecsca/codegen/tommath/$(LIBNAME) stm32f0: CROSS_COMPILE=arm-none-eabi- -stm32f0: CFLAGS=-mcpu=cortex-m0 -mthumb -mfloat-abi=soft -ffunction-sections -DMP_NO_DEV_URANDOM -DMP_32BIT -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 +stm32f0: CFLAGS=-mcpu=cortex-m0 -mthumb -mfloat-abi=soft -ffunction-sections -DMP_NO_DEV_URANDOM -DMP_32BIT -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 -DMP_MIN_DIGIT_COUNT=10 stm32f0: LDFLAGS=--specs=nano.specs --specs=nosys.specs -T ../pyecsca/codegen/hal/stm32f0/LinkerScript.ld -Wl,--gc-sections -lm -mthumb -mcpu=cortex-m0 stm32f0: COMPILE_SIZE=1 stm32f0: COMPILE_LTO=1 @@ -46,7 +46,7 @@ stm32f0: tommath_dir tommath_headers cp libtommath/$(LIBNAME) ../pyecsca/codegen/tommath/$(LIBNAME) stm32f3: CROSS_COMPILE=arm-none-eabi- -stm32f3: CFLAGS=-mcpu=cortex-m4 -mthumb -mfloat-abi=soft -mfpu=fpv4-sp-d16 -fmessage-length=0 -ffunction-sections -DMP_NO_DEV_URANDOM -DMP_32BIT -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 +stm32f3: CFLAGS=-mcpu=cortex-m4 -mthumb -mfloat-abi=soft -mfpu=fpv4-sp-d16 -fmessage-length=0 -ffunction-sections -DMP_NO_DEV_URANDOM -DMP_32BIT -DMP_LOW_MEM -DMP_DEFAULT_DIGIT_COUNT=10 -DMP_MIN_DIGIT_COUNT=10 stm32f3: LDFLAGS=--specs=nano.specs -T ../pyecsca/codegen/hal/stm32f3/LinkerScript.ld -Wl,--gc-sections -lm -mthumb -mcpu=cortex-m4 stm32f3: COMPILE_SIZE=1 stm32f3: COMPILE_LTO=1 diff --git a/ext/libtommath b/ext/libtommath -Subproject 8314bde5e5c8e5d9331460130a9d1066e324f09 +Subproject b6960992aa41046350cef0e35c0cbe243999c27 |
