diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2021-09-15 23:12:15 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2021-09-15 23:12:15 +0200 |
commit | 71998c039fd18d2ef7da974232d1cb5d986b4a97 (patch) | |
tree | abf951a86be016afd91de4f5413b4c333a316fd9 /platforms/cortex-m.yaml | |
parent | 0a62e7ae6c1974599f128a8c00221bbfbf6c6d83 (diff) |
platforms: Add initial STM32F7 support.
Diffstat (limited to 'platforms/cortex-m.yaml')
-rw-r--r-- | platforms/cortex-m.yaml | 27 |
1 files changed, 23 insertions, 4 deletions
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 |