-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
52 lines (49 loc) · 1.33 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
; 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
[env:m5stack-core2]
platform = espressif32
framework = arduino
monitor_speed = 115200
board = m5stack-core2
lib_deps =
m5stack/M5Stack@^0.4.6
MFRC522_I2C
bblanchon/ArduinoJson@^7.2.0
gerlech/WebConfig@^1.4.2
smfsw/Queue@^2.0
lib_ignore = Simulation, SimControl
build_flags = -D ENV_M5STACK -D HARDWARE_GRBL -D HARDWARE_MFRC522_I2C -D HARDWARE_GOPLUS2
[env:m5stack-simulated]
platform = esp32-hosted
framework = espidf
board = linux_x86_64
lib_deps =
bblanchon/ArduinoJson@^7.2.0
smfsw/Queue@^2.0
lib_ignore = GoPlus2, SimControl
build_flags =
-D ENV_SIMULATION
-D ENV_M5STACK
-D HARDWARE_GRBL
-D HARDWARE_MFRC522_I2C
-D HARDWARE_GOPLUS2
-I.pio/libdeps/m5stack-simulated/ArduinoJson/src
; On GDB debug: set follow-fork-mode child when the main() is called
debug_init_break =
tbreak main
commands
set follow-fork-mode child
continue
end
[env:testing]
platform = native
test_framework = doctest
lib_ignore = GoPlus2
build_flags = -D DOCTEST_CONFIG_SUPER_FAST_ASSERTS