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.

41 lines
1007 B

  1. /*
  2. If you want to modify the stock configuration but you don't want to touch
  3. the repo files you can define USE_CUSTOM_H in your build settings.
  4. Arduino IDE:
  5. define it in your boards.txt for the board of your choice.
  6. For instance, for the "Generic ESP8266 Module" with prefix "generic" just add:
  7. generic.build.extra_flags=-DESP8266 -DUSE_CUSTOM_H
  8. PlatformIO:
  9. add the setting to your environment or just define global PLATFORMIO_BUILD_FLAGS
  10. export PLATFORMIO_BUILD_FLAGS="'-DUSE_CUSTOM_H'"
  11. Check https://github.com/xoseperez/espurna/issues/104
  12. for an example on how to use this file.
  13. */
  14. #ifdef USE_CUSTOM_H
  15. #include "custom.h"
  16. #endif
  17. #include "version.h"
  18. #include "types.h"
  19. #include "arduino.h"
  20. #include "device.h"
  21. #include "defaults.h"
  22. #include "general.h"
  23. #include "dependencies.h"
  24. #include "prototypes.h"
  25. #include "sensors.h"
  26. #include "webui.h"
  27. #include "progmem.h"
  28. #include "debug.h"
  29. #ifdef USE_CORE_VERSION_H
  30. #include "core_version.h"
  31. #endif