forked from esprfid/esp-rfid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
69 lines (66 loc) · 2.2 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
[platformio]
default_envs = generic
[common]
platform = platformio/espressif8266
f_cpu = 160000000L
framework = arduino
board = esp12e
build_flags = !echo "-Wl,-Teagle.flash.4m2m.ld -DESPRFID_VERSION='\""$(git describe --tags)"\"'"
src_build_flags = !echo "-DBUILD_TAG="$TRAVIS_TAG
upload_speed = 460800
monitor_speed = 115200
monitor_filters =
default
esp8266_exception_decoder
lib_ignore =
; for some reason this is being installed even though its for esp32
; AsyncTCP
lib_deps =
karol-brejna-i/RemoteDebug@^4.0.1
bblanchon/ArduinoJson@^6.19.1
ESP32Async/ESPAsyncTCP@^2.0.0
https://github.com/lorol/ESPAsyncWebServer
marvinroger/AsyncMqttClient@^0.9.0
matjack1/Wiegand Protocol Library for Arduino - for esp-rfid@^1.1.1
paulstoffregen/Time@^1.5
thomasfredericks/Bounce2@^2.52
; boards which GPIO0 and RESET controlled using two NPN transistors as nodemcu devkit (includes wemos d1 mini)
[env:generic]
board_build.f_cpu = ${common.f_cpu}
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
;upload_resetmethod = nodemcu
ignore_deps = ${common.lib_ignore}
lib_deps = ${common.lib_deps}
extra_scripts = scripts/GENdeploy.py
build_flags = ${common.build_flags}
src_build_flags = ${common.src_build_flags}
;https://github.com/platformio/platform-espressif8266/issues/153
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
monitor_filters = ${common.monitor_filters}
board_build.flash_mode = dio
; generic firmware for debugging purposes
[env:debug]
build_type = debug
board_build.f_cpu = ${common.f_cpu}
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
ignore_deps = ${common.lib_ignore}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
-DESPRFID_DEBUG
-DDEBUG_ESP_PORT=Serial
-DDEBUG_ESP_WIFI
-DDEBUG_ESP_CORE
-DDEBUG_ASYNC_MQTT_CLIENT
-DARDUINOJSON_DEBUG=1
-DDEBUG_ESP_ASYNC_TCP
; -DDEBUG_MORE
src_build_flags = ${common.src_build_flags}
extra_scripts = scripts/DBGdeploy.py
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
monitor_filters = ${common.monitor_filters}