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.

40 lines
1004 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. #include <core_version.h>
  15. #ifdef USE_CUSTOM_H
  16. #include "custom.h"
  17. #endif
  18. #include "version.h"
  19. #include "types.h"
  20. #include "arduino.h"
  21. #include "hardware.h"
  22. #include "defaults.h"
  23. #include "buildtime.h"
  24. #include "deprecated.h"
  25. #include "general.h"
  26. #include "dependencies.h"
  27. #include "prototypes.h"
  28. #include "sensors.h"
  29. #include "webui.h"
  30. #include "progmem.h"