-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
65 lines (57 loc) · 1.55 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
; eosal/platformio.ini, 5.9.2021/pekka
; PlatformIO/vscode build configuration for different microcontrollers for testing the library build.
[platformio]
src_dir = code
include_dir = .
[env:eosal-esp32cam-arduino]
platform = espressif32
board = esp32cam
framework = arduino
board_build.partitions = default.csv
board_build.f_cpu = 240000000L
lib_extra_dirs =
/coderoot
/coderoot/iocom/extensions
build_flags =
-Wall
-D OSAL_DUMMY_ESP32_APP_MAIN
-mfix-esp32-psram-cache-issue
-D OSAL_USE_JPEG_LIBRARY=0
-D OSAL_SOCKET_SUPPORT=1
-D OSAL_TLS_SUPPORT=2
-D OSAL_SERIAL_SUPPORT=1
-D OSAL_BLUETOOTH_SUPPORT=0
-D OSAL_MULTITHREAD_SUPPORT=1
-D OSAL_PERSISTENT_SUPPORT=1
-D CORE_DEBUG_LEVEL=0
-D MBEDTLS_NET_C
-I /coderoot/eosal
lib_deps =
WiFi
[env:eosal-esp-wrover-kit-espidf]
platform = espressif32
framework = espidf
board = esp-wrover-kit
monitor_speed = 115200
lib_compat_mode = off
build_flags =
-Wall
-D OSAL_ESPIDF_FRAMEWORK
-D OSAL_DUMMY_ESP32_APP_MAIN
; -D INCLUDE_vTaskDelay=1
; -D PIO_FRAMEWORK_ESP_IDF_ENABLE_EXCEPTIONS
-D CONFIG_SPIRAM_CACHE_WORKAROUND
-D BOARD_HAS_PSRAM
-D OSAL_DEBUG=1
-D OSAL_TRACE=1
-D OSAL_USE_JPEG_LIBRARY=0
-D OSAL_SOCKET_SUPPORT=1
-D OSAL_TLS_SUPPORT=2
-D OSAL_SERIAL_SUPPORT=1
-D OSAL_BLUETOOTH_SUPPORT=0
-D OSAL_MULTITHREAD_SUPPORT=1
-D OSAL_PERSISTENT_SUPPORT=1
-D CORE_DEBUG_LEVEL=0
; -D MBEDTLS_CONFIG_FILE="\"mbedtls/esp_config.h\""
-I /coderoot/eosal
; -I /coderoot/eosal/osbuild/esp-idf/menuconfig