Include pins.h in dependencies script (#19468)
This commit is contained in:
@ -89,7 +89,7 @@
|
||||
* Many thanks to Hans Raaf (@oderwat) for developing the Anet-specific software and supporting the Anet community.
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega1284P__
|
||||
#if NOT_TARGET(__AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.' (For PlatformIO, use 'melzi' or 'melzi_optiboot.')"
|
||||
#endif
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega644P__
|
||||
#if NOT_TARGET(__AVR_ATmega644P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__, __AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__, __AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__, __AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -77,7 +77,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega644' or 'ATmega644P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega644__
|
||||
#if NOT_TARGET(__AVR_ATmega644__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Board' and ATmega644 in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__, __AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
|
||||
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega1284P__)
|
||||
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user