From 6558a71fb1fbeec26da98e467bb84343cd14cb50 Mon Sep 17 00:00:00 2001 From: ashelly Date: Fri, 22 May 2015 10:48:25 -0400 Subject: [PATCH] Fixing up comment blocks in headers --- grbl/cpu_map.h | 5 +++-- grbl/cpu_map_atmega2560.h | 22 ++++++++++++++++++++++ grbl/cpu_map_atmega328p.h | 24 ++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/grbl/cpu_map.h b/grbl/cpu_map.h index 8623fdc..1781795 100644 --- a/grbl/cpu_map.h +++ b/grbl/cpu_map.h @@ -18,8 +18,9 @@ along with Grbl. If not, see . */ -/* The cpu_map.h file serves as a central pin mapping settings file for different processor - types, i.e. AVR 328p or AVR Mega 2560. Grbl officially supports the Arduino Uno, but the +/* The cpu_map.h file serves as a central pin mapping selection file for different processor + types, i.e. AVR 328p or AVR Mega 2560. Each processor has its own pin mapping file. + (i.e. cpu_map_atmega328p.h) Grbl officially supports the Arduino Uno, but the other supplied pin mappings are supplied by users, so your results may vary. */ // NOTE: This is still a work in progress. We are still centralizing the configurations to diff --git a/grbl/cpu_map_atmega2560.h b/grbl/cpu_map_atmega2560.h index 1c1ef39..b8a0aa2 100644 --- a/grbl/cpu_map_atmega2560.h +++ b/grbl/cpu_map_atmega2560.h @@ -1,3 +1,25 @@ +/* + cpu_map_atmega2560.h - CPU and pin mapping configuration file + Part of Grbl + + Copyright (c) 2012-2015 Sungeun K. Jeon + + Grbl is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Grbl is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Grbl. If not, see . +*/ + +/* This cpu_map file serves as a central pin mapping settings file for AVR Mega 2560 */ + #ifdef GRBL_PLATFORM #error "cpu_map already defined: GRBL_PLATFORM=" GRBL_PLATFORM #endif diff --git a/grbl/cpu_map_atmega328p.h b/grbl/cpu_map_atmega328p.h index 5d38011..8bb071d 100644 --- a/grbl/cpu_map_atmega328p.h +++ b/grbl/cpu_map_atmega328p.h @@ -1,3 +1,27 @@ +/* + cpu_map_atmega328p.h - CPU and pin mapping configuration file + Part of Grbl + + Copyright (c) 2012-2015 Sungeun K. Jeon + + Grbl is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Grbl is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Grbl. If not, see . +*/ + +/* This cpu_map file serves as a central pin mapping settings file for AVR 328p + used on the Arduino Uno */ + + #ifdef GRBL_PLATFORM #error "cpu_map already defined: GRBL_PLATFORM=" GRBL_PLATFORM #endif