From ecf679f78c0d8c0e376ed7d303f36c2acfaaddfa Mon Sep 17 00:00:00 2001 From: miguel Date: Mon, 4 Aug 2025 04:26:58 +0100 Subject: [PATCH] shell_command.cfg modified - 04/08/25 - 04:26:51 --- printer_data/config/printer.cfg | 1 + printer_data/config/shell_command.cfg | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 printer_data/config/shell_command.cfg diff --git a/printer_data/config/printer.cfg b/printer_data/config/printer.cfg index c3bddab..348d31a 100644 --- a/printer_data/config/printer.cfg +++ b/printer_data/config/printer.cfg @@ -1,3 +1,4 @@ +[include shell_command.cfg] # This file contains common pin mappings for the BigTreeTech Octopus V1. # To use this config, the firmware should be compiled for the STM32F446 with a "32KiB bootloader" # Enable "extra low-level configuration options" and select the "12MHz crystal" as clock reference diff --git a/printer_data/config/shell_command.cfg b/printer_data/config/shell_command.cfg new file mode 100644 index 0000000..34e7581 --- /dev/null +++ b/printer_data/config/shell_command.cfg @@ -0,0 +1,7 @@ +[gcode_shell_command hello_world] +command: echo hello world +timeout: 2. +verbose: True +[gcode_macro HELLO_WORLD] +gcode: + RUN_SHELL_COMMAND CMD=hello_world \ No newline at end of file