Repository navigation
Expand file tree
/
Copy pathplatformio.ini
More file actions
69 lines (61 loc) · 2.33 KB
/
Copy pathplatformio.ini
File metadata and controls
69 lines (61 loc) · 2.33 KB
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
; 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]
name = kp-ptr-firmware
src_dir = main
data_dir = components/Web_driver/www
; Shared by the board environments only. [env:native] must not inherit these.
[esp32_base]
platform = espressif32 @ 6.12.0
framework = espidf
board_build.cmake_extra_args =
-DEXTRA_COMPONENT_DIRS=${PROJECT_DIR}/components
check_tool = cppcheck
check_skip_packages = yes
check_flags =
cppcheck: --enable=warning,performance,portability --error-exitcode=1 --inline-suppr --std=c11
[env:native]
platform = native
test_framework = unity
[env:PTR_mega_v0_1]
extends = esp32_base
board = esp32-s3-devkitc-1
board_upload.maximum_size = 8388608
board_upload.flash_size = 8MB
board_build.partitions = partitions-8mb.csv
build_flags = -DCONFIG_BOARD_PTR_MEGA_VER_0_REV_1 -DCI_BUILD -DVERSION_TAG="\"${sysenv.VERSION_TAG}\"" -DTARGET_ESP
[env:PTR_mega_v1_0]
extends = esp32_base
board = esp32-s3-devkitc-1
board_upload.maximum_size = 33554432
board_upload.flash_size = 32MB
board_build.partitions = partitions-32mb.csv
build_flags = -DCONFIG_BOARD_PTR_MEGA_VER_1_REV_0 -DCI_BUILD -DVERSION_TAG="\"${sysenv.VERSION_TAG}\"" -DTARGET_ESP
[env:PTR_mini_v0_1]
extends = esp32_base
board = esp32-s3-devkitc-1
board_upload.maximum_size = 33554432
board_upload.flash_size = 32MB
board_build.partitions = partitions-32mb.csv
build_flags = -DCONFIG_BOARD_ARECORDER_VER_3_REV_0 -DCI_BUILD -DVERSION_TAG="\"${sysenv.VERSION_TAG}\"" -DTARGET_ESP
[env:PTR_mini_v1_0]
extends = esp32_base
board = esp32-s3-devkitc-1
board_upload.maximum_size = 33554432
board_upload.flash_size = 32MB
board_build.partitions = partitions-32mb.csv
build_flags = -DCONFIG_BOARD_PTR_MINI_VER_1_REV_0 -DCI_BUILD -DVERSION_TAG="\"${sysenv.VERSION_TAG}\"" -DTARGET_ESP
[env:PTR_micro_v0_1]
extends = esp32_base
board = esp32-c3-devkitm-1
board_upload.maximum_size = 4194304
board_upload.flash_size = 4MB
board_build.partitions = partitions-4mb.csv
build_flags = -DCONFIG_BOARD_PTR_MICRO_VER_0_REV_1 -DCI_BUILD -DVERSION_TAG="\"${sysenv.VERSION_TAG}\"" -DTARGET_ESP