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.

74 lines
1.6 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,44,64,89,549,727
  14. extra_script = pio_hooks.py
  15. [ota]
  16. upload_speed = 115200
  17. upload_port = "192.168.4.1"
  18. upload_flags = --auth=fibonacci --port 8266
  19. [env:sonoff-debug]
  20. include = common
  21. board = esp01_1m
  22. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF
  23. [env:sonoff-debug-ota]
  24. include = env:sonoff-debug,ota
  25. [env:slampher-debug]
  26. include = common
  27. board = esp01_1m
  28. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSLAMPHER
  29. [env:slampher-debug-ota]
  30. include = env:slampher-debug,ota
  31. [env:s20-debug]
  32. include = common
  33. board = esp01_1m
  34. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DS20
  35. [env:s20-debug-ota]
  36. include = env:s20-debug,ota
  37. [env:node-debug]
  38. include = common
  39. board = nodemcuv2
  40. build_flags = -DNODEMCUV2 -DDEBUG_PORT=Serial
  41. [env:node-debug-ota]
  42. include = env:node-debug,ota
  43. [env:ac-device]
  44. topic = /home/cellar/airconditioner/ip
  45. include = env:s20-debug-ota
  46. [env:washer-device]
  47. topic = /home/cellar/washer/ip
  48. include = env:sonoff-debug-ota
  49. build_flags = -Wl,-Tesp8266.flash.1m256.ld -DDEBUG_PORT=Serial -DSONOFF -DENABLE_EMON=1 -DENABLE_DHT=1
  50. [env:studio-lamp-device]
  51. topic = /home/studio/lamp/ip
  52. include = env:sonoff-debug-ota
  53. [env:living-lamp-device]
  54. topic = /home/living/lamp/ip
  55. include = env:sonoff-debug-ota