https://kotlinlang.org logo
Title
t

tvede

06/27/2017, 8:39 PM
Hello, are any aware of a ESP8266Wifi project using kotlin native ? (and or anyone in progress of so ) 🙂
👍 1
o

olonho

06/28/2017, 6:06 AM
tvede: could you please provide a link?
t

tvede

06/28/2017, 6:08 AM
@olonho for the ESP8266 ? 🙂 there are quite a lot on this, eg https://github.com/esp8266/Arduino
o

olonho

06/28/2017, 6:10 AM
ah, so it doesn't use Kotlin/Native yet 😞. Anyway, we would support firmware written in Kotlin/Native efforts with pleasure.
t

tvede

06/28/2017, 6:16 AM
ahh i think you misread the question then 😛 well, as fas as i can tell, the issue is basically linking this with kotlin; is the easiest just to follow https://github.com/nishtahir/ktnative-wiringpi-sample ?
o

olonho

06/28/2017, 6:22 AM
currently Kotlin/Native compiler assumes that it links the final executable, so following Nish's sample is fine, we're also working on making dynamic libraries from Kotlin code, so that it could be linked into existing program.
t

tvede

06/28/2017, 6:28 AM
cool, i might look into it in a near future 🙂 iff, then ill link it 😉