From 71998c039fd18d2ef7da974232d1cb5d986b4a97 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Wed, 15 Sep 2021 23:12:15 +0200 Subject: platforms: Add initial STM32F7 support. --- platforms/cortex-m.yaml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'platforms/cortex-m.yaml') diff --git a/platforms/cortex-m.yaml b/platforms/cortex-m.yaml index a41957a..91072c7 100644 --- a/platforms/cortex-m.yaml +++ b/platforms/cortex-m.yaml @@ -1,5 +1,6 @@ +# All cortex-m - match: - cpu: cortex-m4f + cpu: !re cortex-m periph: nvic: @@ -17,13 +18,31 @@ 14: PendSV 15: SysTick + toolchains: + - arm-none-eabi + +# cortex-m4 +- match: + cpu: !re cortex-m4 + cflags: - -mcpu=cortex-m4 + +# cortex-m7 +- match: + cpu: !re cortex-m7 + + cflags: + - -mcpu=cortex-m7 + +# FPU +- match: + cpu: !re cortex-m.f + + cflags: - -mfloat-abi=hard - -mfpu=fpv4-sp-d16 define: - HAS_FPU - - toolchains: - - arm-none-eabi + \ No newline at end of file -- cgit v1.2.3