2013-10-30 02:10:39 +01:00
|
|
|
/*
|
2013-12-31 02:44:46 +01:00
|
|
|
cpu_map.h - CPU and pin mapping configuration file
|
2015-02-16 01:36:08 +01:00
|
|
|
Part of Grbl
|
2013-10-30 02:10:39 +01:00
|
|
|
|
2015-01-15 06:14:52 +01:00
|
|
|
Copyright (c) 2012-2015 Sungeun K. Jeon
|
2013-10-30 02:10:39 +01:00
|
|
|
|
|
|
|
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 <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2015-05-23 20:43:52 +02:00
|
|
|
/* The cpu_map.h files serve as a central pin mapping selection file for different processor
|
2015-05-22 16:48:25 +02:00
|
|
|
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
|
2013-10-30 02:10:39 +01:00
|
|
|
other supplied pin mappings are supplied by users, so your results may vary. */
|
|
|
|
|
2015-05-23 20:43:52 +02:00
|
|
|
// NOTE: With new processors, only add the define name and filename to use.
|
2013-10-30 02:10:39 +01:00
|
|
|
|
2013-12-31 02:44:46 +01:00
|
|
|
#ifndef cpu_map_h
|
|
|
|
#define cpu_map_h
|
|
|
|
|
2014-09-05 23:38:17 +02:00
|
|
|
|
2015-01-15 06:14:52 +01:00
|
|
|
#ifdef CPU_MAP_ATMEGA328P // (Arduino Uno) Officially supported by Grbl.
|
2015-05-23 20:43:52 +02:00
|
|
|
#include "cpu_map/cpu_map_atmega328p.h"
|
2014-09-05 23:38:17 +02:00
|
|
|
#endif
|
|
|
|
|
2014-01-04 20:12:44 +01:00
|
|
|
#ifdef CPU_MAP_ATMEGA2560 // (Arduino Mega 2560) Working @EliteEng
|
2015-05-23 20:43:52 +02:00
|
|
|
#include "cpu_map/cpu_map_atmega2560.h"
|
2014-01-04 20:12:44 +01:00
|
|
|
#endif
|
2014-01-02 05:42:22 +01:00
|
|
|
|
2013-10-30 02:10:39 +01:00
|
|
|
/*
|
2013-12-31 02:44:46 +01:00
|
|
|
#ifdef CPU_MAP_CUSTOM_PROC
|
2015-05-23 20:43:52 +02:00
|
|
|
// For a custom pin map or different processor, copy and edit one of the available cpu
|
|
|
|
// map files and modify it to your needs. Make sure the defined name is also changed in
|
|
|
|
// the config.h file.
|
2013-10-30 02:10:39 +01:00
|
|
|
#endif
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endif
|