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.

87 lines
2.1 KiB

  1. #
  2. # PLEASE NOTE:
  3. # This platformio.ini file is not standard and uses a custom feature.
  4. # The "include" option is not supported by the official version.
  5. # Check my PR for this feature here:
  6. # https://github.com/platformio/platformio/pull/790
  7. #
  8. [platformio]
  9. env_default = node-debug
  10. [common]
  11. platform = espressif8266
  12. framework = arduino
  13. lib_install = 19,31,44,64,305,306,346,359,408,727
  14. extra_script = pio_hooks.py
  15. lib_ignore = fauxmoESP
  16. [ota]
  17. upload_speed = 115200
  18. upload_port = "192.168.4.1"
  19. upload_flags = --auth=fibonacci --port 8266
  20. [env:sonoff-debug]
  21. include = common
  22. board = esp01_1m
  23. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  24. [env:sonoff-debug-ota]
  25. include = env:sonoff-debug,ota
  26. [env:sonoff-pow-debug]
  27. include = common
  28. board = esp01_1m
  29. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF_POW
  30. [env:sonoff-pow-debug-ota]
  31. include = env:sonoff-pow-debug,ota
  32. [env:slampher-debug]
  33. include = common
  34. board = esp01_1m
  35. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
  36. [env:slampher-debug-ota]
  37. include = env:slampher-debug,ota
  38. [env:s20-debug]
  39. include = common
  40. board = esp01_1m
  41. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
  42. [env:s20-debug-ota]
  43. include = env:s20-debug,ota
  44. [env:node-debug]
  45. include = common
  46. board = nodemcuv2
  47. platform = espressif8266_stage
  48. build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial -DENABLE_FAUXMO=1
  49. lib_ignore =
  50. [env:node-debug-ota]
  51. include = env:node-debug,ota
  52. [env:washer-device]
  53. topic = /home/cellar/washer/ip
  54. include = env:sonoff-debug-ota
  55. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1
  56. [env:studio-lamp-device]
  57. topic = /home/studio/lamp/ip
  58. include = env:sonoff-debug-ota
  59. platform = espressif8266_stage
  60. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_FAUXMO=1
  61. lib_ignore =
  62. [env:living-lamp-device]
  63. topic = /home/living/lamp/ip
  64. include = env:s20-debug-ota
  65. platform = espressif8266_stage
  66. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20 -DENABLE_FAUXMO=1
  67. lib_ignore =