alireza.r

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: float in sprintf #2895
    alireza.r
    Participant

    thanks for your replay bazis

    but i have this problem with float variable too.
    i readied this link before
    http://visualgdb.com/tutorials/arm/stm32/fpu/

    and i understood that this problem occre with double type but i just use float not double
    and i have this problem.

    in reply to: float in sprintf #2896
    alireza.r
    Participant

    thanks for your replay
    but my problem is with hardware floating point. if i use software floating point the program run correctly
    but when chose hardware floating point the hard fault occur.

    Note that -mfloat-abi=hard has been added to GCC flags correctly

    i use sprintf(..) and in Disassembly it is vcvt.f64.f32
    how can i solved this problem.

Viewing 2 posts - 1 through 2 (of 2 total)