aboutsummaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-11-21 11:45:58 +0100
committerFredrik Thulin <fredrik@thulin.net>2016-11-21 14:14:09 +0100
commite7f5fdebef90d0be01edeabd4ea260138ed1fbd0 (patch)
tree2396c0328e3bbee3f8286fe3c0b443bef4c76d58 /common.mk
parentc4678339908e413cbc6751cf863267807acafc85 (diff)
add RNG using ChaCha20 as CSPRNG
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index d9b981b..9006feb 100644
--- a/common.mk
+++ b/common.mk
@@ -31,6 +31,7 @@ OPENOCD_BOARD_DIR ?= /usr/share/openocd/scripts/board
# the OPENOCD_BOARD_DIR directory.
#
OPENOCD_PROC_FILE ?= stm32f4discovery.cfg
+#OPENOCD_PROC_FILE ?= st_nucleo_f4.cfg
# MCU selection parameters
#
@@ -61,7 +62,7 @@ SIZE=arm-none-eabi-size
GDB=arm-none-eabi-gdb
OPENOCD=openocd
-CFLAGS = -ggdb -O2 -Wall -Wextra -Warray-bounds
+CFLAGS = -ggdb -O1 -Wall -Wextra -Warray-bounds
CFLAGS += -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork
CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16
CFLAGS += $(STDPERIPH_SETTINGS)