Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
3.7 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. [platformio]
  2. env_default = sonoff-pow-debug
  3. [env:sonoff-debug]
  4. platform = espressif8266
  5. framework = arduino
  6. lib_install = 19,31,44,64,89,549,727
  7. extra_script = pio_hooks.py
  8. board = esp01_1m
  9. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  10. [env:sonoff-debug-ota]
  11. platform = espressif8266
  12. framework = arduino
  13. lib_install = 19,31,44,64,89,549,727
  14. extra_script = pio_hooks.py
  15. board = esp01_1m
  16. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  17. upload_speed = 115200
  18. upload_port = "192.168.4.1"
  19. upload_flags = --auth=fibonacci --port 8266
  20. [env:sonoff-pow-debug]
  21. platform = espressif8266
  22. framework = arduino
  23. lib_install = 19,31,44,64,89,549,727
  24. extra_script = pio_hooks.py
  25. board = esp01_1m
  26. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
  27. [env:slampher-debug]
  28. platform = espressif8266
  29. framework = arduino
  30. lib_install = 19,31,44,64,89,549,727
  31. extra_script = pio_hooks.py
  32. board = esp01_1m
  33. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
  34. [env:slampher-debug-ota]
  35. platform = espressif8266
  36. framework = arduino
  37. lib_install = 19,31,44,64,89,549,727
  38. extra_script = pio_hooks.py
  39. board = esp01_1m
  40. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
  41. upload_speed = 115200
  42. upload_port = "192.168.4.1"
  43. upload_flags = --auth=fibonacci --port 8266
  44. [env:s20-debug]
  45. platform = espressif8266
  46. framework = arduino
  47. lib_install = 19,31,44,64,89,549,727
  48. extra_script = pio_hooks.py
  49. board = esp01_1m
  50. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
  51. [env:s20-debug-ota]
  52. platform = espressif8266
  53. framework = arduino
  54. lib_install = 19,31,44,64,89,549,727
  55. extra_script = pio_hooks.py
  56. board = esp01_1m
  57. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
  58. upload_speed = 115200
  59. upload_port = "192.168.4.1"
  60. upload_flags = --auth=fibonacci --port 8266
  61. [env:node-debug]
  62. platform = espressif8266
  63. framework = arduino
  64. lib_install = 19,31,44,64,89,549,727
  65. extra_script = pio_hooks.py
  66. board = nodemcuv2
  67. build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
  68. [env:node-debug-ota]
  69. platform = espressif8266
  70. framework = arduino
  71. lib_install = 19,31,44,64,89,549,727
  72. extra_script = pio_hooks.py
  73. board = nodemcuv2
  74. build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
  75. upload_speed = 115200
  76. upload_port = "192.168.4.1"
  77. upload_flags = --auth=fibonacci --port 8266
  78. [env:ac-device]
  79. topic = /home/cellar/airconditioner/ip
  80. platform = espressif8266
  81. framework = arduino
  82. lib_install = 19,31,44,64,89,549,727
  83. extra_script = pio_hooks.py
  84. board = esp01_1m
  85. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
  86. upload_speed = 115200
  87. upload_port = "192.168.4.1"
  88. upload_flags = --auth=fibonacci --port 8266
  89. [env:washer-device]
  90. topic = /home/cellar/washer/ip
  91. platform = espressif8266
  92. framework = arduino
  93. lib_install = 19,31,44,64,89,549,727
  94. extra_script = pio_hooks.py
  95. board = esp01_1m
  96. upload_speed = 115200
  97. upload_port = "192.168.4.1"
  98. upload_flags = --auth=fibonacci --port 8266
  99. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1
  100. [env:studio-lamp-device]
  101. topic = /home/studio/lamp/ip
  102. platform = espressif8266
  103. framework = arduino
  104. lib_install = 19,31,44,64,89,549,727
  105. extra_script = pio_hooks.py
  106. board = esp01_1m
  107. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  108. upload_speed = 115200
  109. upload_port = "192.168.4.1"
  110. upload_flags = --auth=fibonacci --port 8266
  111. [env:living-lamp-device]
  112. topic = /home/living/lamp/ip
  113. platform = espressif8266
  114. framework = arduino
  115. lib_install = 19,31,44,64,89,549,727
  116. extra_script = pio_hooks.py
  117. board = esp01_1m
  118. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  119. upload_speed = 115200
  120. upload_port = "192.168.4.1"
  121. upload_flags = --auth=fibonacci --port 8266