Mercurial > code > home > repos > homeauto
annotate service/iot2/esp32_main/start_nim/component.mk @ 1745:d90cb7c06f15
try to crash if mqtt doesn't connect
author | drewp@bigasterisk.com |
---|---|
date | Thu, 09 Nov 2023 17:21:59 -0800 |
parents | 17ff9322328b |
children |
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 # "main" pseudo-component makefile. |
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 # |
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 # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) |
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 |
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 COMPONENT_SRCDIRS := . ../../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
|
7 COMPONENT_OBJS := @miot2_esp32.nim.o |
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
|
8 COMPONENT_OWNBUILDTARGET=build |
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
|
9 |
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
|
10 build: |
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
|
11 echo espbuild |
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
|
12 |
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
|
13 clean: |
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
|
14 echo espclean |