-
Notifications
You must be signed in to change notification settings - Fork 424
/
platformio.ini
49 lines (46 loc) · 1.41 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
[platformio]
default_envs = generic
[common]
platform = [email protected]
f_cpu = 160000000L
framework = arduino
board = esp12e
build_flags = -Wl,-Teagle.flash.4m2m.ld
upload_speed = 460800
monitor_speed = 115200
lib_deps =
ESPAsyncTCP
ESPAsyncUDP
https://github.com/lorol/ESPAsyncWebServer
https://github.com/miguelbalboa/rfid#ea7ee3f3daafd46d0c5b8438ba41147c384a1f0d
matjack1/Wiegand Protocol Library for Arduino - for esp-rfid@^1.1.1
; 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
lib_deps = ${common.lib_deps}
extra_scripts = scripts/GENdeploy.py
build_flags = ${common.build_flags}
;https://github.com/platformio/platform-espressif8266/issues/153
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}
board_build.flash_mode = dio
; generic firmware for debugging purposes
[env:debug]
board_build.f_cpu = ${common.f_cpu}
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
-DDEBUG
extra_scripts = scripts/DBGdeploy.py
upload_speed = ${common.upload_speed}
monitor_speed = ${common.monitor_speed}