forked from younghyunjo/esp32-homekit
/
platformio.ini
79 lines (74 loc) · 2.21 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
;env_default = esp32dev
env_default = m5stack-core-esp32
[common]
build_flags =
-fstrict-volatile-bitfields
-ffunction-sections
-fdata-sections
-mlongcalls
-nostdlib
-ggdb
-Os
-w
-D SIZEOF_LONG_LONG=8
-D SMALL_SESSION_CACHE
-D WOLFSSL_SMALL_STACK
-D WOLFCRYPT_HAVE_SRP
-D WOLFSSL_SHA512
-D HAVE_CHACHA
-D HAVE_HKDF
-D HAVE_ONE_TIME_AUTH
-D HAVE_ED25519
-D HAVE_ED25519_KEY_EXPORT
-D HAVE_ED25519_KEY_IMPORT
-D HAVE_OCSP
-D HAVE_CURVE25519
-D HAVE_POLY1305
-D HAVE_SNI
-D HAVE_TLS_EXTENSIONS
-D TIME_OVERRIDES
-D NO_DES
-D NO_DES3
-D NO_DSA
-D NO_ERROR_STRINGS
-D NO_HC128
-D NO_MD4
-D NO_OLD_TLS
-D NO_PSK
-D NO_PWDBASED
-D NO_RC4
-D NO_RABBIT
-D NO_STDIO_FILESYSTEM
-D NO_WOLFSSL_DIR
-D NO_DH
-D WOLFSSL_STATIC_RSA
-D WOLFSSL_IAR_ARM
-D NDEBUG
-D HAVE_CERTIFICATE_STATUS_REQUEST
-D CUSTOM_RAND_GENERATE_SEED=os_get_random
-I src/wolfssl
src_filter = +<*> -<.git/> -<svn/> -<example/> -<examples/> -<test/> -<tests/>
[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32
framework = arduino
monitor_speed = 115200
build_flags = ${common.build_flags}
src_filter = ${common.src_filter} +<../examples/m5stack/hue>
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = espidf
build_flags = ${common.build_flags}
monitor_speed = 115200
src_filter = ${common.src_filter} +<../examples/switch>