Mercurial > code > home > repos > homeauto
annotate service/iot2/esp32_main/iot2_esp32.nim.cfg @ 1754:92999dfbf321 default tip
add shelly support
author | drewp@bigasterisk.com |
---|---|
date | Tue, 04 Jun 2024 13:03:43 -0700 |
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 cpu = arm |
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 os = standalone |
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 deadCodeElim = on |
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 #gc:refc|v2|markAndSweep|boehm|go|none|regions |
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 gc = stack |
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 compileOnly = on |
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 noMain |
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 nimcache = "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
|
9 embedsrc = on |
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 verbosity = 2 |
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 #d:release |
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 #arm.linux.gcc.exe = "arm-linux-gnueabihf-gcc" |
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 #arm.linux.gcc.linkerexe = "arm-linux-gnueabihf-gcc" |
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
|
15 |
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
|
16 |
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
|
17 cc = "switch_gcc" |
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
|
18 switch_gcc.options.linker = "-g -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE" |
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
|
19 switch_gcc.cpp.options.linker = "-g -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE" |
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
|
20 switch_gcc.options.always = "-g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -D__SWITCH__" |
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
|
21 switch_gcc.cpp.options.always = "-g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -D__SWITCH__ -fno-rtti -fno-exceptions -std=gnu++11" |
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
|
22 |
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
|
23 |
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
|
24 |
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
|
25 gcc.options.speed = "-O3 -fno-strict-aliasing" |
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
|
26 gcc.options.size = "-Os" |
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
|
27 |