comparison service/iot2/esp32_main/iot2_esp32.nim @ 728:17ff9322328b

an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work) Ignore-this: d43cda6cf70930a20864cae066f11739
author drewp@bigasterisk.com
date Thu, 23 Jan 2020 23:46:34 -0800
parents
children
comparison
equal deleted inserted replaced
727:00bfc1409088 728:17ff9322328b
1
2 # the idea is that an ESP-IDF or esphome project calls C funcs defined
3 # here (that compile to .c files in build/nimcache/)
4
5 echo "hello on esp"
6 proc add(x: int, y: int): int =
7 x + y