Skip to content

Commit

Permalink
zephyr: Fix floating point configuration.
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
MaureenHelm authored and dpgeorge committed Jun 12, 2020
1 parent 38b4f15 commit 8b061f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/zephyr/prj.conf
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 8b061f2

Please sign in to comment.