-
Notifications
You must be signed in to change notification settings - Fork 42
/
platformio.cnc3040.ini
59 lines (54 loc) · 1.44 KB
/
platformio.cnc3040.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
; 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
#
# NOTE: PlatformIO support is provided by the community and platformio.ini is
# not maintained or tested by the repo owner.
# Please submit a PR with bug fixes and enhancments.
#
[platformio]
src_dir = main
include_dir = main
[wifi_networking]
build_flags =
[env:esp32doit-devkit-v1]
platform = espressif32 @ ~4.0.0
framework = espidf
board = esp32doit-devkit-v1
board_build.partitions = partitions.csv
board_build.cmake_extra_args =
-DWIFI_ENABLE=1
-DSDKCONFIG_DEFAULTS="sdkconfig.cnc3040"
-DKEYPAD_ENABLE=1
-DmDNS=ON
board_build.embed_files =
main/embedded/favicon.ico
main/embedded/ap_login.html
main/embedded/index.html.gz
build_flags =
-Wimplicit-fallthrough=1
-Wno-missing-field-initializers
-Wno-maybe-uninitialized
-Wno-stringop-truncation
-DBOARD_CNC3040=1
-DN_AXIS=4
-DWIFI_ENABLE=1
-DN_AXIS=4
-DPROBE_ENABLE=1
-DBLUETOOTH_ENABLE=0
-DWIFI_ENABLE=1
-DTELNET_ENABLE=1
-DWIFI_SOFTAP=0
-DSAFETY_DOOR_ENABLE=1
-DKEYPAD_ENABLE=2
-DMDNS_ENABLE=1
; -DCONFIG_IDF_TARGET_ESP32=1
; -DSPI_FLASH_SEC_SIZE=4096
monitor_speed=115200
lib_compat_mode = off