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.

38 lines
925 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 "arduino.h"
  19. #include "hardware.h"
  20. #include "defaults.h"
  21. #include "general.h"
  22. #include "prototypes.h"
  23. #include "sensors.h"
  24. #ifdef USE_CORE_VERSION_H
  25. #include "core_version.h"
  26. #endif
  27. #include "build.h"