TARGET = embox

ARCH = arm

CHIP_VENDOR = stm32
PLATFORM_VENDOR = stm32
PLATFORM = stm32f769i_discovery

CROSS_COMPILE = arm-none-eabi-

CFLAGS += -O0 -g
CFLAGS += -mthumb -mlittle-endian
CFLAGS += -ffreestanding

/* FIXME: It's right: CFLAGS += -mtune=cortex-m7 -march=armv7-m */
CFLAGS += -mcpu=cortex-m7

/* Switch between FPU and non-FPU modes */
CFLAGS += -msoft-float -mfloat-abi=soft
/*CFLAGS += -mfpu=fpv5-sp-d16 -mfloat-abi=hard */
