Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: misconfig FPU in sys_clock_init #141

Merged
merged 1 commit into from
Feb 2, 2017
Merged

Fix: misconfig FPU in sys_clock_init #141

merged 1 commit into from
Feb 2, 2017

Conversation

louisom
Copy link
Contributor

@louisom louisom commented Feb 2, 2017

When testing stm32f429i on qemu-gnueclipse, it bump out
"qemu-system-gnuarmeclipse: Attempt to set CP10/11 in SCB->CPACR, but FP is not supported yet."

Found in sys_clock_init only check STM32F4X, then enable FPU and floating point
state preservation.

Adding CONFIG_FPU to prevent misconfig of FPU.

When testing stm32f429i on qemu-gnueclipse, it bump out
"qemu-system-gnuarmeclipse: Attempt to set CP10/11 in SCB->CPACR, but FP is not supported yet."

Found in sys_clock_init only check STM32F4X, then enable FPU and floating point
state preservation.

Adding CONFIG_FPU to prevent misconfig of FPU.
@jserv jserv merged commit d466fe1 into f9micro:master Feb 2, 2017
@sistemasembebidos
Copy link

Hi everyone!
I have experimented such error emulating a discovery board based on a M4F with QEMU (version win64-2.7.0-201611282115).
Could you help me about where "adding CONFIG_FPU to prevent misconfig of FPU."?

Thanks in advance,

Eduardo

@jserv
Copy link
Member

jserv commented Sep 17, 2020

Eduardo, can you re-configure F9 microkernel with FPU enable? Did you encounter any building issues?

@sistemasembebidos
Copy link

Hi Jim,
I missed comment you that I using QEMU as a Eclipse plugin on STM32CubeIDE for educational purposes.
By searching in the web, the (almost) only reference regarding FPU error on QEMU I found was your thread.
I haven´t work with F9 Microkernel.
I have all my projects based in those tools, and at present because of pandemy issues Im´trying to run some projects in a virtual way using QEMU.

Regards,

Eduardo

@m-salman-afzal
Copy link

Hi Jim,
I missed comment you that I using QEMU as a Eclipse plugin on STM32CubeIDE for educational purposes.
By searching in the web, the (almost) only reference regarding FPU error on QEMU I found was your thread.
I haven´t work with F9 Microkernel.
I have all my projects based in those tools, and at present because of pandemy issues Im´trying to run some projects in a virtual way using QEMU.

Regards,

Eduardo

Fast forward 3 years!!!
Did you find anything on how to remove this error? I'll appreciate it. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants