Extended.config_save.h 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /* ---------------------------------------------------------------------------------------------------------------------------------
  2. * Extended configuration for OnStepX INFREQUENTLY USED options
  3. *
  4. * For more information on setting OnStep up see http://www.stellarjourney.com/index.php?r=site/equipment_onstep
  5. * and join the OnStep Groups.io at https://groups.io/g/onstep
  6. *
  7. * *** Read the compiler warnings and errors, they are there to help guard against invalid configurations ***
  8. *
  9. * ---------------------------------------------------------------------------------------------------------------------------------
  10. * ADJUST THE FOLLOWING TO CONFIGURE YOUR CONTROLLER FEATURES ----------------------------------------------------------------------
  11. * <-Req'd = always must set, <-Often = usually must set, Option = optional, Adjust = adjust as req'd, Infreq = infrequently changed
  12. */
  13. // Parameter Name Value Default Notes Hint
  14. // =================================================================================================================================
  15. // CONTROLLER ======================================================================================================================
  16. // DEBUG ---------------------------------------------------------------------------------------------------------------------------
  17. // Enable additional debugging and/or status messages on the specified SERIAL_DEBUG port
  18. // Note that the SERIAL_DEBUG port cannot be used for normal communication with OnStep
  19. #define DEBUG VERBOSE // OFF, Use ON for background error messages only, use VERBOSE for all Infreq
  20. // error and status messages, use CONSOLE for VT100 debug console,
  21. // or use PROFILER for VT100 task profiler.
  22. #define DEBUG_SERVO OFF // OFF, n. Where n=1 to 9 as the designated axis for logging servo activity. Option
  23. #define DEBUG_ECHO_COMMANDS OFF // OFF, Use ON or ERRORS_ONLY to log commands to the debug serial port. Option
  24. #define SERIAL_DEBUG Serial // Serial, Use any available h/w serial port. Serial1 or Serial2, etc. Option
  25. #define SERIAL_DEBUG_BAUD 9600 // 9600, n. Where n=9600,19200,57600,115200 (common baud rates.) Option
  26. // NON-VOLATILE STORAGE ------------------------------------------------------------------------------------------------------------
  27. #define NV_WIPE OFF // OFF, Causes the defaults to be written back into NV (FLASH,EEPROM,etc.) Infreq
  28. // *** IMPORTANT: ENABLE THIS OPTION THEN UPLOAD, WAIT A MINUTE ***
  29. // Warning ---> // *** OR TWO THEN SET THIS OPTION TO OFF AND UPLOAD AGAIN. ***
  30. // *** LEAVING THIS OPTION ENABLED CAN CAUSE EXCESSIVE NV ***
  31. // *** WEAR AND DAMAGE THE MICROCONTROLLER NV SUBSYSTEM !!! ***
  32. // ESP32 VIRTUAL SERIAL BLUETOOTH AND IP COMMAND CHANNELS --------------------------------------------------------------------------
  33. #define SERIAL_BT_MODE OFF // OFF, Use SLAVE to enable the interface (ESP32 only.) Option
  34. #define SERIAL_BT_NAME "OnStepX" // "OnStepX", Bluetooth device name. Adjust
  35. #define SERIAL_IP_MODE OFF // OFF, WIFI_ACCESS_POINT or WIFI_STATION enables interface (ESP32 only.) Option
  36. #define WEB_SERVER OFF // OFF, ON enables Webserver (for Website plugin) Option
  37. // EXTERNAL GPIO SUPPORT -----------------------------------------------------------------------------------------------------------
  38. #define GPIO_DEVICE OFF // OFF, DS2413: for 2-ch or 4-ch using 1-wire gpio's (one or two devices.) Option
  39. // SWS: for 8-ch Serial gpio (normally 4 unused encoder pins.)
  40. // MCP23008: for 8-ch I2C gpio.
  41. // MCP23017, X9555, or X8575: for 16-ch I2C gpio.
  42. // SSR74HC595: for up to 32-ch gpio (serial shift register, output only.)
  43. // Works w/most OnStep features, channels assigned in order pin# 512 and up.
  44. // ---------------------------------------------------------------------------------------------------------------------------------