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.

11 lines
270 B

8 years ago
7 years ago
8 years ago
  1. #!/bin/python
  2. import subprocess
  3. import socket
  4. from SCons.Script import DefaultEnvironment
  5. env = DefaultEnvironment()
  6. def before_build_spiffs(source, target, env):
  7. env.Execute("gulp")
  8. env.AddPreAction(".pioenvs/%s/spiffs.bin" % env['PIOENV'], before_build_spiffs)