Sterling Albury
08/30/2021, 12:51 AM.konan/platforms/zephyr
and rebuilt the compiler but I’m not seeing it show up in konanc -list-targets
. I should be seeing it show up with -list-targets
, no? I’m not seeing the stm32f4_disco
target show up either.
when I try to compile a program for my target or the stm32f4_disco
target I get this error:
» konanc hello.kt -target zephyr_stm32f4_disco
error: compilation failed: Target zephyr_stm32f4_disco is not available on the macos_x64 host
* Source files: hello.kt
* Compiler version info: Konan: 1.6.0-dev / Kotlin: 1.6.255
* Output kind: PROGRAM
exception: java.lang.IllegalStateException: Target zephyr_stm32f4_disco is not available on the macos_x64 host
at org.jetbrains.kotlin.backend.konan.KonanConfig.<init>(KonanConfig.kt:95)
at org.jetbrains.kotlin.cli.bc.K2Native.doExecute(K2Native.kt:79)
...
I’ve been able to build and flash zephyr for my target boards. can I not build my kotlin program for these targets on a mac?napperley
08/30/2021, 12:57 AMnapperley
08/30/2021, 1:00 AMSterling Albury
08/30/2021, 1:09 AMnapperley
08/30/2021, 1:14 AMSterling Albury
08/30/2021, 1:15 AM