Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Problem with floating point

Hi,
I’m using openSTM32 on ubuntu with the standard library. with the 1.13 ac6 version. I am writing code for STM32f407 discovery board, I enable the floating point unit but every operation that involves float numbers send the code to the default handler. I’m trying now with the following very simple code:

int main(void)
{

float x;
int u;

u = 1;
x = (float)u;

for(;;);
}

If I use double instead of float it works...do you have any suggestion to solve this problem?

Matteo

Hi,

I have the same problem (17/12/17). Did you find any solution?

Best regards,

Bruno