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.

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