Does anyone know why konan is configured to use th...
# kotlin-native
j
Does anyone know why konan is configured to use the
target-sysroot-2-wasm
sysroot for the STM32F4 target?
😕 1
m
Because they are very similar for now - experimental and need "bare-metall" C++ standard library. Of course they should split someday.
1
j
I am getting a lot of Usage faults of type No Coprocessor and was wondering if that may be part of it
Among other things, I am fairly certain that
konan::snprintf
is one of the sources
o
Maybe you need to say codegen that FPU is unavailable
k
Coprocessor usually means FPU. Does your mcu have an fpu?
m
j
Yea, I found that zephyr needs to have it enabled so I did that and now I'm getting link errors due to different instruction types even though I added the same fpu flags to the board specific properties for konan that zephyr built with