cpu/kinetis: enable floating point support
I think this CPU was added before RIOT had support for the FPU on Cortex-M4F, this should now have been long fixed. Advertise the FPU on these CPUs.
This commit is contained in:
parent
dd0c13d227
commit
2ffd7b4261
@ -44,8 +44,7 @@ config CPU_MODEL_MK20DX256VLH7
|
|||||||
|
|
||||||
config CPU_MODEL_MK22FN512VLH12
|
config CPU_MODEL_MK22FN512VLH12
|
||||||
bool
|
bool
|
||||||
# This is actually M4F; TODO: Add floating point support
|
select CPU_CORE_CORTEX_M4F
|
||||||
select CPU_CORE_CORTEX_M4
|
|
||||||
select CPU_FAM_K
|
select CPU_FAM_K
|
||||||
select HAS_PERIPH_HWRNG
|
select HAS_PERIPH_HWRNG
|
||||||
|
|
||||||
@ -77,8 +76,7 @@ config CPU_MODEL_MK60DN512VLL10
|
|||||||
|
|
||||||
config CPU_MODEL_MK64FN1M0VLL12
|
config CPU_MODEL_MK64FN1M0VLL12
|
||||||
bool
|
bool
|
||||||
# This is actually M4F; TODO: Add floating point support
|
select CPU_CORE_CORTEX_M4F
|
||||||
select CPU_CORE_CORTEX_M4
|
|
||||||
select CPU_FAM_K
|
select CPU_FAM_K
|
||||||
select HAS_PERIPH_HWRNG
|
select HAS_PERIPH_HWRNG
|
||||||
|
|
||||||
|
|||||||
@ -37,8 +37,7 @@ else ifeq ($(KINETIS_CORE), D)
|
|||||||
CPU_CORE = cortex-m4
|
CPU_CORE = cortex-m4
|
||||||
else ifeq ($(KINETIS_CORE), F)
|
else ifeq ($(KINETIS_CORE), F)
|
||||||
# Cortex-M4F or Cortex-M7
|
# Cortex-M4F or Cortex-M7
|
||||||
# TODO: Add floating point support
|
CPU_CORE = cortex-m4f
|
||||||
CPU_CORE = cortex-m4
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# For the rest of the build system we expose the series as family
|
# For the rest of the build system we expose the series as family
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user