summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaureen Helm <maureen.helm@nxp.com>2020-05-02 11:38:58 -0500
committerDamien George <damien.p.george@gmail.com>2020-06-12 10:24:30 +1000
commit8b061f2d799d120f06d68023eb17e5b5e24d50cc (patch)
tree3ab5f2e9f16e9a3b22e21c34b0d059918164d596
parent38b4f1569e7755f78b991352ae5d53055ad67790 (diff)
zephyr: Fix floating point configuration.
Zephyr renamed CONFIG_FLOAT to CONFIG_FPU to better reflect its semantics of enabling the hardware floating point unit (FPU) rather than enabling toolchain-level floating point support (i.e., software floating point for FPU-less socs).
-rw-r--r--ports/zephyr/prj.conf2
-rw-r--r--ports/zephyr/prj_minimal.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/zephyr/prj.conf b/ports/zephyr/prj.conf
index e6ccdadcf..50cfa0050 100644
--- a/ports/zephyr/prj.conf
+++ b/ports/zephyr/prj.conf
@@ -11,7 +11,7 @@ CONFIG_CONSOLE_GETCHAR_BUFSIZE=128
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=128
CONFIG_NEWLIB_LIBC=y
-CONFIG_FLOAT=y
+CONFIG_FPU=y
CONFIG_MAIN_STACK_SIZE=4736
# Enable sensor subsystem (doesn't add code if not used).
diff --git a/ports/zephyr/prj_minimal.conf b/ports/zephyr/prj_minimal.conf
index d9c2894e6..8b2104925 100644
--- a/ports/zephyr/prj_minimal.conf
+++ b/ports/zephyr/prj_minimal.conf
@@ -1,5 +1,5 @@
CONFIG_NEWLIB_LIBC=y
-CONFIG_FLOAT=y
+CONFIG_FPU=y
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_UART_INTERRUPT_DRIVEN=y