berry icon indicating copy to clipboard operation
berry copied to clipboard

when I use integer number on terminal, compiler back "ld" (hex = 108 100).

Open msdarici opened this issue 1 year ago • 3 comments

I adapt the code to stm32. But when I use integer number for instance; 1+4, the code back "ld". Another example; first a=5 and then a, the code back "ld". How can I solve this. What is the source of this error? I try to find "ld" in the code but I can not find

msdarici avatar Jun 27 '24 08:06 msdarici

I have no idea. I believe you need to add some debug/logging code to understand what is happening

s-hadinger avatar Jun 27 '24 08:06 s-hadinger

I solved the problem ; Ekran görüntüsü 2024-06-27 120622 I changed BE_INTGER_TYPE 2 to 0.

msdarici avatar Jun 27 '24 09:06 msdarici

It is not recommended to use 64-bit integers on STM32, as this can be very slow.

skiars avatar Sep 07 '24 05:09 skiars