Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
154de69c
Commit
154de69c
authored
Feb 9, 2012
by
Erik van der Zalm
Browse files
Options
Downloads
Patches
Plain Diff
Print configuration.h version during startup (thanks hairykiwi)
parent
6ef84594
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/Configuration.h
+6
-0
6 additions, 0 deletions
Marlin/Configuration.h
Marlin/Marlin.pde
+11
-1
11 additions, 1 deletion
Marlin/Marlin.pde
with
17 additions
and
1 deletion
Marlin/Configuration.h
+
6
−
0
View file @
154de69c
...
@@ -5,6 +5,12 @@
...
@@ -5,6 +5,12 @@
// Advanced settings can be found in Configuration_adv.h
// Advanced settings can be found in Configuration_adv.h
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
//User specified version info of THIS file to display in [Pronterface, etc] terminal window during startup.
//Implementation of an idea by Prof Braino to inform user that any changes made
//to THIS file by the user have been successfully uploaded into firmware.
#define STRING_VERSION_CONFIG_H "2012-02-08j" //Personal revision number for changes to THIS file.
#define STRING_CONFIG_H_AUTHOR "username" //Who made the changes.
// This determines the communication speed of the printer
// This determines the communication speed of the printer
#define BAUDRATE 250000
#define BAUDRATE 250000
//#define BAUDRATE 115200
//#define BAUDRATE 115200
...
...
...
...
This diff is collapsed.
Click to expand it.
Marlin/Marlin.pde
+
11
−
1
View file @
154de69c
...
@@ -248,9 +248,19 @@ void setup()
...
@@ -248,9 +248,19 @@ void setup()
{
{
setup_powerhold
();
setup_powerhold
();
SERIAL
.
begin
(
BAUDRATE
);
SERIAL
.
begin
(
BAUDRATE
);
SERIAL_PROTOCOLLNPGM
(
"start"
);
SERIAL_ECHO_START
;
SERIAL_ECHO_START
;
SERIAL_ECHOPGM
(
"Marlin: "
);
SERIAL_ECHOLNPGM
(
VERSION_STRING
);
SERIAL_ECHOLNPGM
(
VERSION_STRING
);
SERIAL_PROTOCOLLNPGM
(
"start"
);
#ifdef STRING_VERSION_CONFIG_H
#ifdef STRING_CONFIG_H_AUTHOR
SERIAL_ECHO_START
;
SERIAL_ECHOPGM
(
"Configuration.h: "
);
SERIAL_ECHOPGM
(
STRING_VERSION_CONFIG_H
);
SERIAL_ECHOPGM
(
" | Author: "
);
SERIAL_ECHOLNPGM
(
STRING_CONFIG_H_AUTHOR
);
#endif
#endif
SERIAL_ECHO_START
;
SERIAL_ECHO_START
;
SERIAL_ECHOPGM
(
"Free Memory:"
);
SERIAL_ECHOPGM
(
"Free Memory:"
);
SERIAL_ECHO
(
freeMemory
());
SERIAL_ECHO
(
freeMemory
());
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment