annotate service/iot2/esp32_main/iot2_esp32.nim @ 1581:137ba2d6d016 0.5.0

release 0.5.0
author drewp@bigasterisk.com
date Sun, 29 Aug 2021 13:36:08 -0700
parents 17ff9322328b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
728
17ff9322328b an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp@bigasterisk.com
parents:
diff changeset
1
17ff9322328b an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp@bigasterisk.com
parents:
diff changeset
2 # the idea is that an ESP-IDF or esphome project calls C funcs defined
17ff9322328b an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp@bigasterisk.com
parents:
diff changeset
3 # here (that compile to .c files in build/nimcache/)
17ff9322328b an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp@bigasterisk.com
parents:
diff changeset
4
17ff9322328b an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp@bigasterisk.com
parents:
diff changeset
5 echo "hello on esp"
17ff9322328b an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp@bigasterisk.com
parents:
diff changeset
6 proc add(x: int, y: int): int =
17ff9322328b an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp@bigasterisk.com
parents:
diff changeset
7 x + y