annotate service/iot2/esp32_main/iot2_esp32.nim @ 1533:a598d2141587

more mqtt_to_rdf renames. bring in basic LitElement setup for the debug page Ignore-this: 85e2ab49915e44b08219e537fab21870 darcs-hash:f2d312ec10bb4a33c501a24bd7d11a1f35673f25
author drewp <drewp@bigasterisk.com>
date Sat, 08 Feb 2020 04:02:22 -0800
parents 44aae4efedf6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1528
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
1
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
2 # the idea is that an ESP-IDF or esphome project calls C funcs defined
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
3 # here (that compile to .c files in build/nimcache/)
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
4
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
5 echo "hello on esp"
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
6 proc add(x: int, y: int): int =
44aae4efedf6 an attempt as ESP-IDF build (doesn't work) calling a nim-generated main function (also doesn't work)
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7 x + y