/******************************************************************************\

                  This file is part of the Buildbotics firmware.

         Copyright (c) 2015 - 2023, Buildbotics LLC, All rights reserved.

          This Source describes Open Hardware and is licensed under the
                                  CERN-OHL-S v2.

          You may redistribute and modify this Source and make products
     using it under the terms of the CERN-OHL-S v2 (https:/cern.ch/cern-ohl).
            This Source is distributed WITHOUT ANY EXPRESS OR IMPLIED
     WARRANTY, INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS
      FOR A PARTICULAR PURPOSE. Please see the CERN-OHL-S v2 for applicable
                                   conditions.

                 Source location: https://github.com/buildbotics

       As per CERN-OHL-S v2 section 4, should You produce hardware based on
     these sources, You must maintain the Source Location clearly visible on
     the external case of the CNC Controller or other product you make using
                                   this Source.

                 For more information, email info@buildbotics.com

\******************************************************************************/

STAT_MSG(OK,                    "OK")
STAT_MSG(AGAIN,                 "Run command again")
STAT_MSG(NOP,                   "No op")
STAT_MSG(INTERNAL_ERROR,        "Internal error")
STAT_MSG(ESTOP_USER,            "User triggered EStop")
STAT_MSG(ESTOP_SWITCH,          "Switch triggered EStop")
STAT_MSG(POWER_SHUTDOWN,        "Power shutdown")
STAT_MSG(UNRECOGNIZED_NAME,     "Unrecognized command or variable name")
STAT_MSG(INVALID_COMMAND,       "Invalid command")
STAT_MSG(INVALID_ARGUMENTS,     "Invalid arguments")
STAT_MSG(TOO_MANY_ARGUMENTS,    "Too many arguments")
STAT_MSG(TOO_FEW_ARGUMENTS,     "Too few arguments")
STAT_MSG(MACHINE_ALARMED,       "Machine alarmed - Command not processed")
STAT_MSG(EXPECTED_MOVE,         "A move expected but none queued")
STAT_MSG(BAD_FLOAT,             "Failed to parse float")
STAT_MSG(BAD_INT,               "Failed to parse integer")
STAT_MSG(INVALID_VALUE,         "Invalid value")
STAT_MSG(INVALID_TYPE,          "Invalid type")
STAT_MSG(READ_ONLY,             "Variable is read only")
STAT_MSG(ALL_ZERO_SCURVE_TIMES, "All zero s-curve times")
STAT_MSG(NEGATIVE_SCURVE_TIME,  "Negative s-curve time")
STAT_MSG(SEEK_NOT_ENABLED,      "Switch not enabled")
STAT_MSG(SEEK_NOT_FOUND,        "Switch not found")
STAT_MSG(MOTOR_ID_INVALID,      "Invalid motor ID")
STAT_MSG(MOTOR_NOT_PREPPED,     "Motor move not prepped")
STAT_MSG(MOTOR_NOT_READY,       "Motor not ready for move")
STAT_MSG(MOTOR_FAULT,           "Motor fault")
STAT_MSG(STEPPER_NULL_MOVE,     "Null move in stepper driver")
STAT_MSG(STEPPER_NOT_READY,     "Stepper driver not ready for move")
STAT_MSG(LONG_SEG_TIME,         "Long segment time")
STAT_MSG(MODBUS_BUF_LENGTH,     "Modbus invalid buffer length")
STAT_MSG(INVALID_QCMD,          "Invalid command in queue")
STAT_MSG(Q_OVERRUN,             "Command queue overrun")
STAT_MSG(Q_UNDERRUN,            "Command queue underrun")
STAT_MSG(Q_INVALID_PUSH,        "Invalid command pushed to queue")
