Include pins.h in dependencies script (#19468)

This commit is contained in:
Victor Oliveira
2020-09-23 17:06:36 -03:00
committed by GitHub
parent 362145f608
commit 90bc1993b6
169 changed files with 213 additions and 181 deletions

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef TARGET_STM32F1
#if NOT_TARGET(TARGET_STM32F1)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef TARGET_STM32F1
#if NOT_TARGET(TARGET_STM32F1)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef TARGET_STM32F1
#if NOT_TARGET(TARGET_STM32F1)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef TARGET_STM32F1
#if NOT_TARGET(TARGET_STM32F1)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 1 || E_STEPPERS > 1
#error "CCROBOT-ONLINE MEEB_3DP only supports 1 hotend / E-stepper. Comment out this line to continue."

View File

@ -21,7 +21,7 @@
*/
#pragma once
#if !defined(__STM32F1__) && !defined(__STM32F4__)
#if NOT_TARGET(__STM32F1__, __STM32F4__)
#error "Oops! Select an STM32F1/4 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#if !defined(__STM32F1__) && !defined(__STM32F4__)
#if NOT_TARGET(__STM32F1__, __STM32F4__)
#error "Oops! Select an STM32F1/4 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#if !defined(__STM32F1__) && !defined(__STM32F4__)
#if NOT_TARGET(__STM32F1__, __STM32F4__)
#error "Oops! Select an STM32F1/4 board in 'Tools > Board.'"
#endif

View File

@ -24,7 +24,7 @@
* CREALITY (STM32F103) board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -24,7 +24,7 @@
* CREALITY v4.2.7 (STM32F103) board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -26,7 +26,7 @@
* Schematic: https://github.com/chepo92/Smartto/blob/master/circuit_diagram/Rostock301/Hardware_GTM32_PRO_VB.pdf
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -26,7 +26,7 @@
* Schematic: https://github.com/chepo92/Smartto/blob/master/circuit_diagram/Rostock301/Hardware_GTM32_PRO_VB.pdf
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -26,7 +26,7 @@
* Schematic: https://github.com/chepo92/Smartto/blob/master/circuit_diagram/Rostock301/Hardware_GTM32_PRO_VB.pdf
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -26,7 +26,7 @@
* Schematic: https://github.com/chepo92/Smartto/blob/master/circuit_diagram/Rostock301/Hardware_GTM32_PRO_VB.pdf
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -28,7 +28,7 @@
* Pin assignments for 32-bit JGAurora A5S & A1
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 1 || E_STEPPERS > 1
#error "JGAurora 32-bit board only supports 1 hotend / E-stepper. Comment out this line to continue."

View File

@ -22,7 +22,7 @@
* Longer3D LK1/LK2 & Alfawise U20/U30 (STM32F103VET6) board pin assignments
*/
#if !defined(__STM32F1__) && !defined(STM32F1xx)
#if NOT_TARGET(__STM32F1__, STM32F1xx)
#error "Oops! Select a STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 1 || E_STEPPERS > 1
#error "Longer3D board only supports 1 hotend / E-stepper. Comment out this line to continue."

View File

@ -25,7 +25,7 @@
* MALYAN M200 pin assignments
*/
#if NONE(__STM32F1__, STM32F1xx, STM32F0xx)
#if NOT_TARGET(__STM32F1__, STM32F1xx, STM32F0xx)
#error "Oops! Select an STM32 board in your IDE."
#endif

View File

@ -27,7 +27,7 @@
* https://github.com/makerbase-mks/MKS-Robin/tree/master/MKS%20Robin/Hardware
*/
#if !defined(STM32F1) && !defined(STM32F1xx)
#if NOT_TARGET(STM32F1, STM32F1xx)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "MKS Robin supports up to 2 hotends / E-steppers. Comment out this line to continue."

View File

@ -25,7 +25,7 @@
* MKS Robin nano (STM32F130VET6) board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 1 || E_STEPPERS > 1
#error "MKS Robin e3p supports up to 1 hotends / E-steppers. Comment out this line to continue."
@ -184,7 +184,7 @@
#define MT_DET_1_PIN PA4 // LVGL UI FILAMENT RUNOUT1 PIN
#define MT_DET_PIN_INVERTING false // LVGL UI filament RUNOUT PIN STATE
#define WIFI_IO0_PIN PC13 // MKS ESP WIFI IO0 PIN
#define WIFI_IO1_PIN PC7 // MKS ESP WIFI IO1 PIN
#define WIFI_RESET_PIN PE9 // MKS ESP WIFI RESET PIN

View File

@ -25,7 +25,7 @@
* MKS Robin E3 & E3D (STM32F103RCT6) common board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 1 || E_STEPPERS > 1
#error "MKS Robin Lite supports only 1 hotend / E-stepper. Comment out this line to continue."

View File

@ -25,7 +25,7 @@
* MKS Robin Lite 3 (STM32F103RCT6) board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "MKS Robin Lite3 supports up to 2 hotends / E-steppers. Comment out this line to continue."

View File

@ -25,7 +25,7 @@
* MKS Robin mini (STM32F130VET6) board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 1 || E_STEPPERS > 1
#error "MKS Robin mini only supports 1 hotend / E-stepper. Comment out this line to continue."

View File

@ -25,7 +25,7 @@
* MKS Robin nano (STM32F130VET6) board pin assignments
*/
#if !defined(STM32F1) && !defined(STM32F1xx)
#if NOT_TARGET(STM32F1, STM32F1xx)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."

View File

@ -25,7 +25,7 @@
* MKS Robin nano (STM32F130VET6) board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."
@ -204,7 +204,7 @@
#define MT_DET_1_PIN PA4 // LVGL UI FILAMENT RUNOUT1 PIN
#define MT_DET_2_PIN PE6 // LVGL UI FILAMENT RUNOUT2 PIN
#define MT_DET_PIN_INVERTING false // LVGL UI filament RUNOUT PIN STATE
#define WIFI_IO0_PIN PC13 // MKS ESP WIFI IO0 PIN
#define WIFI_IO1_PIN PC7 // MKS ESP WIFI IO1 PIN
#define WIFI_RESET_PIN PE9 // MKS ESP WIFI RESET PIN

View File

@ -25,7 +25,7 @@
* MKS Robin pro (STM32F103ZET6) board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 3 || E_STEPPERS > 3
#error "MKS Robin pro supports up to 3 hotends / E-steppers. Comment out this line to continue."

View File

@ -30,7 +30,7 @@
* MORPHEUS Board pin assignments
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#if !defined(__STM32F1__) && !defined(__STM32F4__)
#if NOT_TARGET(__STM32F1__, __STM32F4__)
#error "Oops! Select an STM32F1/4 board in 'Tools > Board.'"
#endif

View File

@ -28,7 +28,7 @@
* https://github.com/MarlinFirmware/Marlin/files/3401484/x5sa-main_board-2.pdf
*/
#ifndef __STM32F1__
#if NOT_TARGET(__STM32F1__)
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "Trigorilla Pro supports up to 2 hotends / E-steppers. Comment out this line to continue."