Explorar el Código

JGAurora A5S & A1 touch support (#14768)

pinchies hace 4 años
padre
commit
d98b9d54f1

+ 2
- 0
Marlin/src/HAL/HAL_STM32/pinsDebug_STM32GENERIC.h Ver fichero

@@ -89,6 +89,8 @@ static inline bool GET_ARRAY_IS_DIGITAL(const int16_t array_pin) {
89 89
   );
90 90
 }
91 91
 
92
+#include "../../inc/MarlinConfig.h" // Allow pins/pins.h to set density
93
+
92 94
 static inline void pwm_details(const pin_t pin) {
93 95
   if (PWM_PIN(pin)) {
94 96
     timer_dev * const tdev = PIN_MAP[pin].timer_device;

+ 2
- 0
Marlin/src/HAL/HAL_STM32F1/HAL_sdio_STM32F1.cpp Ver fichero

@@ -25,6 +25,8 @@
25 25
 
26 26
 #include <libmaple/stm32.h>
27 27
 
28
+#include "../../inc/MarlinConfig.h" // Allow pins/pins.h to set density
29
+
28 30
 #if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY)
29 31
 
30 32
 #include "HAL_sdio_STM32F1.h"

+ 1
- 1
Marlin/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.cpp Ver fichero

@@ -57,7 +57,7 @@ void HAL_timer_start(const uint8_t timer_num, const uint32_t frequency) {
57 57
     case 3: irq_num = NVIC_TIMER3; break;
58 58
     case 4: irq_num = NVIC_TIMER4; break;
59 59
     case 5: irq_num = NVIC_TIMER5; break;
60
-    #ifdef STM32_HIGH_DENSITY
60
+    #if ENABLED(STM32_HIGH_DENSITY)
61 61
       // 6 & 7 are basic timers, avoid them
62 62
       case 8: irq_num = NVIC_TIMER8_CC; break;
63 63
     #endif

+ 6
- 6
Marlin/src/HAL/HAL_STM32F1/dogm/u8g_com_stm32duino_fsmc.cpp Ver fichero

@@ -119,7 +119,7 @@ __attribute__((always_inline)) __STATIC_INLINE void __DSB(void) {
119 119
 
120 120
 #define FSMC_CS_NE1   PD7
121 121
 
122
-#ifdef STM32_XL_DENSITY
122
+#if ENABLED(STM32_XL_DENSITY)
123 123
   #define FSMC_CS_NE2 PG9
124 124
   #define FSMC_CS_NE3 PG10
125 125
   #define FSMC_CS_NE4 PG12
@@ -151,7 +151,7 @@ __attribute__((always_inline)) __STATIC_INLINE void __DSB(void) {
151 151
 #define FSMC_RS_A22   PE6
152 152
 #define FSMC_RS_A23   PE2
153 153
 
154
-#ifdef STM32_XL_DENSITY
154
+#if ENABLED(STM32_XL_DENSITY)
155 155
   #define FSMC_RS_A24 PG13
156 156
   #define FSMC_RS_A25 PG14
157 157
 #endif
@@ -173,7 +173,7 @@ void LCD_IO_Init(uint8_t cs, uint8_t rs) {
173 173
 
174 174
   switch (cs) {
175 175
     case FSMC_CS_NE1: controllerAddress = (uint32_t)FSMC_NOR_PSRAM_REGION1; break;
176
-    #ifdef STM32_XL_DENSITY
176
+    #if ENABLED(STM32_XL_DENSITY)
177 177
       case FSMC_CS_NE2: controllerAddress = (uint32_t)FSMC_NOR_PSRAM_REGION2; break;
178 178
       case FSMC_CS_NE3: controllerAddress = (uint32_t)FSMC_NOR_PSRAM_REGION3; break;
179 179
       case FSMC_CS_NE4: controllerAddress = (uint32_t)FSMC_NOR_PSRAM_REGION4; break;
@@ -184,7 +184,7 @@ void LCD_IO_Init(uint8_t cs, uint8_t rs) {
184 184
   #define _ORADDR(N) controllerAddress |= (_BV32(N) - 2)
185 185
 
186 186
   switch (rs) {
187
-    #ifdef STM32_XL_DENSITY
187
+    #if ENABLED(STM32_XL_DENSITY)
188 188
       case FSMC_RS_A0:  _ORADDR( 1); break;
189 189
       case FSMC_RS_A1:  _ORADDR( 2); break;
190 190
       case FSMC_RS_A2:  _ORADDR( 3); break;
@@ -210,7 +210,7 @@ void LCD_IO_Init(uint8_t cs, uint8_t rs) {
210 210
     case FSMC_RS_A21: _ORADDR(22); break;
211 211
     case FSMC_RS_A22: _ORADDR(23); break;
212 212
     case FSMC_RS_A23: _ORADDR(24); break;
213
-    #ifdef STM32_XL_DENSITY
213
+    #if ENABLED(STM32_XL_DENSITY)
214 214
       case FSMC_RS_A24: _ORADDR(25); break;
215 215
       case FSMC_RS_A25: _ORADDR(26); break;
216 216
     #endif
@@ -242,7 +242,7 @@ void LCD_IO_Init(uint8_t cs, uint8_t rs) {
242 242
   gpio_set_mode(PIN_MAP[cs].gpio_device, PIN_MAP[cs].gpio_bit, GPIO_AF_OUTPUT_PP);  //FSMC_CS_NEx
243 243
   gpio_set_mode(PIN_MAP[rs].gpio_device, PIN_MAP[rs].gpio_bit, GPIO_AF_OUTPUT_PP);  //FSMC_RS_Ax
244 244
 
245
-  #ifdef STM32_XL_DENSITY
245
+  #if ENABLED(STM32_XL_DENSITY)
246 246
     FSMC_NOR_PSRAM4_BASE->BCR = FSMC_BCR_WREN | FSMC_BCR_MTYP_SRAM | FSMC_BCR_MWID_16BITS | FSMC_BCR_MBKEN;
247 247
     FSMC_NOR_PSRAM4_BASE->BTR = (FSMC_DATA_SETUP_TIME << 8) | FSMC_ADDRESS_SETUP_TIME;
248 248
   #else // PSRAM1 for STM32F103V (high density)

+ 8
- 9
Marlin/src/feature/touch/xpt2046.cpp Ver fichero

@@ -63,9 +63,9 @@ void XPT2046::init(void) {
63 63
 uint8_t XPT2046::read_buttons() {
64 64
   int16_t tsoffsets[4] = { 0 };
65 65
 
66
-  static uint32_t timeout = 0;
67
-  if (PENDING(millis(), timeout)) return 0;
68
-  timeout = millis() + 250;
66
+  static uint32_t touchtimeout = 0;
67
+  if (PENDING(millis(), touchtimeout)) return 0;
68
+  touchtimeout = millis() + 80; // ideally want to set this lower for the games... 30 or 40.
69 69
 
70 70
   if (tsoffsets[0] + tsoffsets[1] == 0) {
71 71
     // Not yet set, so use defines as fallback...
@@ -82,12 +82,11 @@ uint8_t XPT2046::read_buttons() {
82 82
                  y = uint16_t(((uint32_t(getInTouch(XPT2046_Y))) * tsoffsets[2]) >> 16) + tsoffsets[3];
83 83
   if (!isTouched()) return 0; // Fingers must still be on the TS for a valid read.
84 84
 
85
-  if (y < 185 || y > 224) return 0;
86
-
87
-       if (WITHIN(x,  21,  98)) encoderDiff = -(ENCODER_STEPS_PER_MENU_ITEM) * ENCODER_PULSES_PER_STEP;
88
-  else if (WITHIN(x, 121, 198)) encoderDiff =   ENCODER_STEPS_PER_MENU_ITEM  * ENCODER_PULSES_PER_STEP;
89
-  else if (WITHIN(x, 221, 298)) return EN_C;
85
+  if (y < 175 || y > 234) return 0;
90 86
 
87
+       if (WITHIN(x,  11, 109)) encoderDiff = -(ENCODER_STEPS_PER_MENU_ITEM) * ENCODER_PULSES_PER_STEP;
88
+  else if (WITHIN(x, 111, 209)) encoderDiff =   ENCODER_STEPS_PER_MENU_ITEM  * ENCODER_PULSES_PER_STEP;
89
+  else if (WITHIN(x, 211, 309)) return EN_C;
91 90
   return 0;
92 91
 }
93 92
 
@@ -96,7 +95,7 @@ bool XPT2046::isTouched() {
96 95
     #if PIN_EXISTS(TOUCH_INT)
97 96
       READ(TOUCH_INT_PIN) != HIGH
98 97
     #else
99
-      getInTouch(XPT2046_Z1) >= XPT2046_Z1_TRESHHOLD
98
+      getInTouch(XPT2046_Z1) >= XPT2046_Z1_THRESHOLD
100 99
     #endif
101 100
   );
102 101
 }

+ 3
- 1
Marlin/src/feature/touch/xpt2046.h Ver fichero

@@ -34,7 +34,9 @@ enum XPTCoordinate : uint8_t {
34 34
   XPT2046_Z2 = 0x40
35 35
 };
36 36
 
37
-#define XPT2046_Z1_TRESHHOLD 10
37
+#ifndef XPT2046_Z1_THRESHOLD
38
+  #define XPT2046_Z1_THRESHOLD 10
39
+#endif
38 40
 
39 41
 class XPT2046 {
40 42
 public:

+ 1
- 1
Marlin/src/pins/pins.h Ver fichero

@@ -463,7 +463,7 @@
463 463
 #elif MB(BIGTREE_SKR_E3_DIP)
464 464
   #include "stm32/pins_BIGTREE_SKR_E3_DIP.h"    // STM32F1                                env:BIGTREE_SKR_MINI
465 465
 #elif MB(JGAURORA_A5S_A1)
466
-  #include "stm32/pins_JGAURORA_A5S_A1.h"       // STM32F1                                env:JGAURORA_A5S_A1
466
+  #include "stm32/pins_JGAURORA_A5S_A1.h"       // STM32F1                                env:jgaurora_a5s_a1
467 467
 #elif MB(FYSETC_AIO_II)
468 468
   #include "stm32/pins_FYSETC_AIO_II.h"         // STM32F1                                env:fysetc_STM32F1
469 469
 #elif MB(FYSETC_CHEETAH)

+ 21
- 22
Marlin/src/pins/stm32/pins_JGAURORA_A5S_A1.h Ver fichero

@@ -22,35 +22,30 @@
22 22
 #pragma once
23 23
 
24 24
  /**
25
-  * 2017 Victor Perez Marlin for stm32f1 test
26
-  * 2018 Modified by Pablo Crespo for Morpheus Board (https://github.com/pscrespo/Morpheus-STM32)
27
-  * 2019 Modified by Roberto Mariani & Samuel Pinches for JGAurora A5S & A1 Board.
25
+  *  ╦╔═╗╔═╗┬ ┬┬─┐┌─┐┬─┐┌─┐╔═╗┌─┐┬─┐┬ ┬┌┬┐ ┌─┐┌─┐┌┬┐
26
+  *  ║║ ╦╠═╣│ │├┬┘│ │├┬┘├─┤╠╣ │ │├┬┘│ ││││ │  │ ││││
27
+  * ╚╝╚═╝╩ ╩└─┘┴└─└─┘┴└─┴ ┴╚  └─┘┴└─└─┘┴ ┴o└─┘└─┘┴ ┴
28
+  *   Pin assignments for 32-bit JGAurora A5S & A1
28 29
   */
29 30
 
30
-/**
31
- * JGAurora A5S A1 Board pin assignments
32
- */
33
-
34 31
 #ifndef __STM32F1__
35 32
   #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
33
+#elif HOTENDS > 1 || E_STEPPERS > 1
34
+  #error "JGAurora 32-bit board only supports 1 hotend / E-stepper. Comment out this line to continue."
36 35
 #endif
37
-
38 36
 #define BOARD_NAME "JGAurora A5S A1 board"
39 37
 
40
-// #define STM32_XL_DENSITY // required, but should be set by platformio flags, not here! (why? not sure.)
41
-
42
-//#define MCU_STM32F103ZE // not yet required
38
+#define STM32_XL_DENSITY
39
+// #define MCU_STM32F103ZE // not yet required
40
+// Enable EEPROM Emulation for this board, so that we don't overwrite factory data
43 41
 
44 42
 // #define I2C_EEPROM   // AT24C64
45 43
 // #define E2END 0x7FFF // 64KB
46
-
47
-// Enable EEPROM Emulation for this board
48
-
49
-//#define FLASH_EEPROM_EMULATION 1
50
-//#define E2END 0xFFF // 4KB
51
-//#define E2END uint32(EEPROM_START_ADDRESS + (EEPROM_PAGE_SIZE * 2) - 1)
52
-//#define EEPROM_CHITCHAT
53
-//#define DEBUG_EEPROM_READWRITE
44
+// #define FLASH_EEPROM_EMULATION 1
45
+// #define E2END 0xFFF // 4KB
46
+// #define E2END uint32(EEPROM_START_ADDRESS + (EEPROM_PAGE_SIZE * 2) - 1)
47
+// #define EEPROM_CHITCHAT
48
+// #define DEBUG_EEPROM_READWRITE
54 49
 
55 50
 //
56 51
 // Limit Switches
@@ -58,6 +53,9 @@
58 53
 #define X_STOP_PIN         PC6
59 54
 #define Y_STOP_PIN         PG8
60 55
 #define Z_STOP_PIN         PG7
56
+//#define X_MAX_PIN          PC5
57
+//#define Y_MAX_PIN          PC4
58
+//#define Z_MAX_PIN          PB0
61 59
 
62 60
 //
63 61
 // Steppers
@@ -96,7 +94,6 @@
96 94
 
97 95
 #define FAN_PIN            PA1
98 96
 
99
-#define PS_ON_PIN          PA0
100 97
 #define FIL_RUNOUT_PIN     PC7
101 98
 
102 99
 //
@@ -106,6 +103,10 @@
106 103
 #define FSMC_CS_PIN        PD7
107 104
 #define FSMC_RS_PIN        PG0
108 105
 
106
+#define LCD_USE_DMA_FSMC          // Use DMA transfers to send data to the TFT
107
+#define FSMC_DMA_DEV       DMA2
108
+#define FSMC_DMA_CHANNEL   DMA_CH5
109
+
109 110
 //
110 111
 // SD Card
111 112
 //
@@ -125,5 +126,3 @@
125 126
   #define TOUCH_CS_PIN     PA4
126 127
   #define TOUCH_INT_PIN    PC4
127 128
 #endif
128
-
129
-#define NO_PAUSE_AFTER_PRINT

+ 12
- 5
config/examples/JGAurora/A1/Configuration.h Ver fichero

@@ -73,9 +73,14 @@
73 73
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
74 74
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
75 75
 // build by the user have been successfully uploaded into firmware.
76
+
77
+//  ╦╔═╗╔═╗┬ ┬┬─┐┌─┐┬─┐┌─┐╔═╗┌─┐┬─┐┬ ┬┌┬┐ ┌─┐┌─┐┌┬┐
78
+//  ║║ ╦╠═╣│ │├┬┘│ │├┬┘├─┤╠╣ │ │├┬┘│ ││││ │  │ ││││
79
+// ╚╝╚═╝╩ ╩└─┘┴└─└─┘┴└─┴ ┴╚  └─┘┴└─└─┘┴ ┴o└─┘└─┘┴ ┴
80
+
76 81
 #define STRING_CONFIG_H_AUTHOR "(Roberto Mariani & Samuel Pinches)" // Who made the changes.
77 82
 #define SHOW_BOOTSCREEN
78
-#define STRING_SPLASH_LINE1 "Marlin 2b6 (10/6/19)" // will be shown during bootup in line 1
83
+#define STRING_SPLASH_LINE1 "JG-A1 v2.0 (29-7-19)" // will be shown during bootup in line 1
79 84
 #define STRING_SPLASH_LINE2 "JGAuroraForum.com"         // will be shown during bootup in line 2
80 85
 
81 86
 /**
@@ -725,7 +730,7 @@
725 730
  * Override with M203
726 731
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
727 732
  */
728
-#define DEFAULT_MAX_FEEDRATE          { 360, 150, 15, 25 }
733
+#define DEFAULT_MAX_FEEDRATE          { 360, 150, 30, 40 }
729 734
 
730 735
 /**
731 736
  * Default Max Acceleration (change/s) change = mm/s
@@ -921,7 +926,7 @@
921 926
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
922 927
 
923 928
 // Feedrate (mm/m) for the "accurate" probe of each point
924
-#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
929
+#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 4)
925 930
 
926 931
 /**
927 932
  * Multiple Probing
@@ -1330,7 +1335,7 @@
1330 1335
 #endif
1331 1336
 
1332 1337
 // Homing speeds (mm/m)
1333
-#define HOMING_FEEDRATE_XY (50*60)
1338
+#define HOMING_FEEDRATE_XY (90*60)
1334 1339
 #define HOMING_FEEDRATE_Z  (12*60)
1335 1340
 
1336 1341
 // Validate that endstops are triggered on homing moves
@@ -2036,6 +2041,7 @@
2036 2041
 // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.)
2037 2042
 //
2038 2043
 #define FSMC_GRAPHICAL_TFT
2044
+//#define PRINTER_EVENT_LEDS
2039 2045
 
2040 2046
 //=============================================================================
2041 2047
 //============================  Other Controllers  ============================
@@ -2044,12 +2050,13 @@
2044 2050
 //
2045 2051
 // ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8
2046 2052
 //
2047
-//#define TOUCH_BUTTONS
2053
+#define TOUCH_BUTTONS
2048 2054
 #if ENABLED(TOUCH_BUTTONS)
2049 2055
   #define XPT2046_X_CALIBRATION   12316
2050 2056
   #define XPT2046_Y_CALIBRATION  -8981
2051 2057
   #define XPT2046_X_OFFSET       -43
2052 2058
   #define XPT2046_Y_OFFSET        257
2059
+  #define XPT2046_Z1_THRESHOLD 1
2053 2060
 #endif
2054 2061
 
2055 2062
 //

+ 30
- 30
config/examples/JGAurora/A1/Configuration_adv.h Ver fichero

@@ -306,7 +306,7 @@
306 306
  *
307 307
  * Define one or both of these to override the default 0-255 range.
308 308
  */
309
-//#define FAN_MIN_PWM 50
309
+#define FAN_MIN_PWM 30
310 310
 //#define FAN_MAX_PWM 128
311 311
 
312 312
 /**
@@ -522,9 +522,9 @@
522 522
 #define X_HOME_BUMP_MM 5
523 523
 #define Y_HOME_BUMP_MM 5
524 524
 #define Z_HOME_BUMP_MM 2
525
-#define HOMING_BUMP_DIVISOR { 2, 2, 4 }  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
526
-//#define QUICK_HOME                     // If homing includes X and Y, do a diagonal move initially
527
-//#define HOMING_BACKOFF_MM { 2, 2, 2 }  // (mm) Move away from the endstops after homing
525
+#define HOMING_BUMP_DIVISOR { 5, 5, 5 }  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
526
+#define QUICK_HOME                     // If homing includes X and Y, do a diagonal move initially
527
+#define HOMING_BACKOFF_MM { 1, 1, 0 }  // (mm) Move away from the endstops after homing
528 528
 
529 529
 // When G28 is called, this option will make Y home before X
530 530
 //#define HOME_Y_BEFORE_X
@@ -654,7 +654,7 @@
654 654
 // @section lcd
655 655
 
656 656
 #if EITHER(ULTIPANEL, EXTENSIBLE_UI)
657
-  #define MANUAL_FEEDRATE { 50*60, 50*60, 4*60, 60 } // Feedrates for manual moves along X, Y, Z, E from panel
657
+  #define MANUAL_FEEDRATE { 60*60, 60*60, 10*60, 10*60 } // Feedrates for manual moves along X, Y, Z, E from panel
658 658
   #define SHORT_MANUAL_Z_MOVE 0.025 // (mm) Smallest manual Z move (< 0.1mm)
659 659
   #if ENABLED(ULTIPANEL)
660 660
     #define MANUAL_E_MOVES_RELATIVE // Display extruder move distance rather than "position"
@@ -862,13 +862,13 @@
862 862
 #endif
863 863
 
864 864
 // Scroll a longer status message into view
865
-//#define STATUS_MESSAGE_SCROLLING
865
+#define STATUS_MESSAGE_SCROLLING
866 866
 
867 867
 // On the Info Screen, display XY with one decimal place when possible
868
-//#define LCD_DECIMAL_SMALL_XY
868
+#define LCD_DECIMAL_SMALL_XY
869 869
 
870 870
 // The timeout (in ms) to return to the status screen from sub-menus
871
-//#define LCD_TIMEOUT_TO_STATUS 15000
871
+#define LCD_TIMEOUT_TO_STATUS 15000
872 872
 
873 873
 // Add an 'M73' G-code to set the current percentage
874 874
 //#define LCD_SET_PROGRESS_MANUALLY
@@ -892,12 +892,12 @@
892 892
 #if ENABLED(LED_CONTROL_MENU)
893 893
   #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
894 894
   #if ENABLED(LED_COLOR_PRESETS)
895
-    #define LED_USER_PRESET_RED        0  // User defined RED value
896
-    #define LED_USER_PRESET_GREEN      255  // User defined GREEN value
897
-    #define LED_USER_PRESET_BLUE       255  // User defined BLUE value
895
+    #define LED_USER_PRESET_RED        255  // User defined RED value
896
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
897
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
898 898
     #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
899 899
     #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
900
-    #define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
900
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
901 901
   #endif
902 902
 #endif // LED_CONTROL_MENU
903 903
 
@@ -908,7 +908,7 @@
908 908
   // as SD_DETECT_PIN in your board's pins definitions.
909 909
   // This setting should be disabled unless you are using a push button, pulling the pin to ground.
910 910
   // Note: This is always disabled for ULTIPANEL (except ELB_FULL_GRAPHIC_CONTROLLER).
911
-  //#define SD_DETECT_INVERTED
911
+  #define SD_DETECT_INVERTED
912 912
 
913 913
   #define SD_FINISHED_STEPPERRELEASE true          // Disable steppers when SD Print is finished
914 914
   #define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E" // You might want to keep the Z enabled so your bed stays in place.
@@ -982,10 +982,10 @@
982 982
   #endif
983 983
 
984 984
   // This allows hosts to request long names for files and folders with M33
985
-  //#define LONG_FILENAME_HOST_SUPPORT
985
+  #define LONG_FILENAME_HOST_SUPPORT
986 986
 
987 987
   // Enable this option to scroll long filenames in the SD card menu
988
-  //#define SCROLL_LONG_FILENAMES
988
+  #define SCROLL_LONG_FILENAMES
989 989
 
990 990
   // Leave the heaters on after Stop Print (not recommended!)
991 991
   //#define SD_ABORT_NO_COOLDOWN
@@ -1081,13 +1081,13 @@
1081 1081
  */
1082 1082
 #if HAS_GRAPHICAL_LCD
1083 1083
   // Show SD percentage next to the progress bar
1084
-  //#define DOGM_SD_PERCENT
1084
+  #define DOGM_SD_PERCENT
1085 1085
 
1086 1086
   // Enable to save many cycles by drawing a hollow frame on the Info Screen
1087
-  #define XYZ_HOLLOW_FRAME
1087
+  //#define XYZ_HOLLOW_FRAME
1088 1088
 
1089 1089
   // Enable to save many cycles by drawing a hollow frame on Menu Screens
1090
-  #define MENU_HOLLOW_FRAME
1090
+  //#define MENU_HOLLOW_FRAME
1091 1091
 
1092 1092
   // A bigger font is available for edit items. Costs 3120 bytes of PROGMEM.
1093 1093
   // Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese.
@@ -1137,7 +1137,7 @@
1137 1137
   //#define STATUS_ALT_BED_BITMAP     // Use the alternative bed bitmap
1138 1138
   //#define STATUS_ALT_FAN_BITMAP     // Use the alternative fan bitmap
1139 1139
   //#define STATUS_FAN_FRAMES 3       // :[0,1,2,3,4] Number of fan animation frames
1140
-  //#define STATUS_HEAT_PERCENT       // Show heating in a progress bar
1140
+  #define STATUS_HEAT_PERCENT       // Show heating in a progress bar
1141 1141
   //#define BOOT_MARLIN_LOGO_SMALL    // Show a smaller Marlin logo on the Boot Screen (saving 399 bytes of flash)
1142 1142
 
1143 1143
   // Frivolous Game Options
@@ -1184,14 +1184,14 @@
1184 1184
   #if ENABLED(DOUBLECLICK_FOR_Z_BABYSTEPPING)
1185 1185
     #define DOUBLECLICK_MAX_INTERVAL 1250   // Maximum interval between clicks, in milliseconds.
1186 1186
                                             // Note: Extra time may be added to mitigate controller latency.
1187
-    //#define BABYSTEP_ALWAYS_AVAILABLE     // Allow babystepping at all times (not just during movement).
1188
-    #define MOVE_Z_WHEN_IDLE              // Jump to the move Z menu on doubleclick when printer is idle.
1187
+    #define BABYSTEP_ALWAYS_AVAILABLE     // Allow babystepping at all times (not just during movement).
1188
+    //#define MOVE_Z_WHEN_IDLE              // Jump to the move Z menu on doubleclick when printer is idle.
1189 1189
     #if ENABLED(MOVE_Z_WHEN_IDLE)
1190 1190
       #define MOVE_Z_IDLE_MULTIPLICATOR 10   // Multiply 1mm by this factor for the move step size.
1191 1191
     #endif
1192 1192
   #endif
1193 1193
 
1194
-  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1194
+  #define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1195 1195
 
1196 1196
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1197 1197
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
@@ -1491,23 +1491,23 @@
1491 1491
  * Requires NOZZLE_PARK_FEATURE.
1492 1492
  * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
1493 1493
  */
1494
-//#define ADVANCED_PAUSE_FEATURE
1494
+#define ADVANCED_PAUSE_FEATURE
1495 1495
 #if ENABLED(ADVANCED_PAUSE_FEATURE)
1496 1496
   #define PAUSE_PARK_RETRACT_FEEDRATE         60  // (mm/s) Initial retract feedrate.
1497 1497
   #define PAUSE_PARK_RETRACT_LENGTH            2  // (mm) Initial retract.
1498 1498
                                                   // This short retract is done immediately, before parking the nozzle.
1499
-  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE     10  // (mm/s) Unload filament feedrate. This can be pretty fast.
1499
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE     40  // (mm/s) Unload filament feedrate. This can be pretty fast.
1500 1500
   #define FILAMENT_CHANGE_UNLOAD_ACCEL        25  // (mm/s^2) Lower acceleration may allow a faster feedrate.
1501
-  #define FILAMENT_CHANGE_UNLOAD_LENGTH      100  // (mm) The length of filament for a complete unload.
1501
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH      820  // (mm) The length of filament for a complete unload.
1502 1502
                                                   //   For Bowden, the full length of the tube and nozzle.
1503 1503
                                                   //   For direct drive, the full length of the nozzle.
1504 1504
                                                   //   Set to 0 for manual unloading.
1505
-  #define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE   6  // (mm/s) Slow move when starting load.
1506
-  #define FILAMENT_CHANGE_SLOW_LOAD_LENGTH     0  // (mm) Slow length, to allow time to insert material.
1505
+  #define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE   40  // (mm/s) Slow move when starting load.
1506
+  #define FILAMENT_CHANGE_SLOW_LOAD_LENGTH     730  // (mm) Slow length, to allow time to insert material.
1507 1507
                                                   // 0 to disable start loading and skip to fast load only
1508 1508
   #define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE   6  // (mm/s) Load filament feedrate. This can be pretty fast.
1509 1509
   #define FILAMENT_CHANGE_FAST_LOAD_ACCEL     25  // (mm/s^2) Lower acceleration may allow a faster feedrate.
1510
-  #define FILAMENT_CHANGE_FAST_LOAD_LENGTH     0  // (mm) Load length of filament, from extruder gear to nozzle.
1510
+  #define FILAMENT_CHANGE_FAST_LOAD_LENGTH     75  // (mm) Load length of filament, from extruder gear to nozzle.
1511 1511
                                                   //   For Bowden, the full length of the tube and nozzle.
1512 1512
                                                   //   For direct drive, the full length of the nozzle.
1513 1513
   //#define ADVANCED_PAUSE_CONTINUOUS_PURGE       // Purge continuously up to the purge length until interrupted.
@@ -1528,10 +1528,10 @@
1528 1528
   #define FILAMENT_CHANGE_ALERT_BEEPS         10  // Number of alert beeps to play when a response is needed.
1529 1529
   #define PAUSE_PARK_NO_STEPPER_TIMEOUT           // Enable for XYZ steppers to stay powered on during filament change.
1530 1530
 
1531
-  //#define PARK_HEAD_ON_PAUSE                    // Park the nozzle during pause and filament change.
1531
+  #define PARK_HEAD_ON_PAUSE                    // Park the nozzle during pause and filament change.
1532 1532
   //#define HOME_BEFORE_FILAMENT_CHANGE           // Ensure homing has been completed prior to parking for filament change
1533 1533
 
1534
-  //#define FILAMENT_LOAD_UNLOAD_GCODES           // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
1534
+  #define FILAMENT_LOAD_UNLOAD_GCODES           // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
1535 1535
   //#define FILAMENT_UNLOAD_ALL_EXTRUDERS         // Allow M702 to unload all extruders above a minimum target temp (as set by M302)
1536 1536
 #endif
1537 1537
 

+ 12
- 6
config/examples/JGAurora/A5S/Configuration.h Ver fichero

@@ -73,9 +73,14 @@
73 73
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
74 74
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
75 75
 // build by the user have been successfully uploaded into firmware.
76
+
77
+//  ╦╔═╗╔═╗┬ ┬┬─┐┌─┐┬─┐┌─┐╔═╗┌─┐┬─┐┬ ┬┌┬┐ ┌─┐┌─┐┌┬┐
78
+//  ║║ ╦╠═╣│ │├┬┘│ │├┬┘├─┤╠╣ │ │├┬┘│ ││││ │  │ ││││
79
+// ╚╝╚═╝╩ ╩└─┘┴└─└─┘┴└─┴ ┴╚  └─┘┴└─└─┘┴ ┴o└─┘└─┘┴ ┴
80
+
76 81
 #define STRING_CONFIG_H_AUTHOR "(Roberto Mariani & Samuel Pinches)" // Who made the changes.
77 82
 #define SHOW_BOOTSCREEN
78
-#define STRING_SPLASH_LINE1 "Marlin 2b6 (10/6/19)" // will be shown during bootup in line 1
83
+#define STRING_SPLASH_LINE1 "JG-A5S v2.0 (29-7-19)" // will be shown during bootup in line 1
79 84
 #define STRING_SPLASH_LINE2 "JGAuroraForum.com"         // will be shown during bootup in line 2
80 85
 
81 86
 /**
@@ -725,7 +730,7 @@
725 730
  * Override with M203
726 731
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
727 732
  */
728
-#define DEFAULT_MAX_FEEDRATE          { 360, 150, 15, 25 }
733
+#define DEFAULT_MAX_FEEDRATE          { 360, 150, 30, 40 }
729 734
 
730 735
 /**
731 736
  * Default Max Acceleration (change/s) change = mm/s
@@ -921,7 +926,7 @@
921 926
 #define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z
922 927
 
923 928
 // Feedrate (mm/m) for the "accurate" probe of each point
924
-#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
929
+#define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 4)
925 930
 
926 931
 /**
927 932
  * Multiple Probing
@@ -1330,7 +1335,7 @@
1330 1335
 #endif
1331 1336
 
1332 1337
 // Homing speeds (mm/m)
1333
-#define HOMING_FEEDRATE_XY (50*60)
1338
+#define HOMING_FEEDRATE_XY (90*60)
1334 1339
 #define HOMING_FEEDRATE_Z  (12*60)
1335 1340
 
1336 1341
 // Validate that endstops are triggered on homing moves
@@ -2036,7 +2041,7 @@
2036 2041
 // FSMC display (MKS Robin, Alfawise U20, JGAurora A5S, A1, etc.)
2037 2042
 //
2038 2043
 #define FSMC_GRAPHICAL_TFT
2039
-#define PRINTER_EVENT_LEDS
2044
+//#define PRINTER_EVENT_LEDS
2040 2045
 
2041 2046
 //=============================================================================
2042 2047
 //============================  Other Controllers  ============================
@@ -2045,12 +2050,13 @@
2045 2050
 //
2046 2051
 // ADS7843/XPT2046 ADC Touchscreen such as ILI9341 2.8
2047 2052
 //
2048
-//#define TOUCH_BUTTONS
2053
+#define TOUCH_BUTTONS
2049 2054
 #if ENABLED(TOUCH_BUTTONS)
2050 2055
   #define XPT2046_X_CALIBRATION   12316
2051 2056
   #define XPT2046_Y_CALIBRATION  -8981
2052 2057
   #define XPT2046_X_OFFSET       -43
2053 2058
   #define XPT2046_Y_OFFSET        257
2059
+  #define XPT2046_Z1_THRESHOLD 1
2054 2060
 #endif
2055 2061
 
2056 2062
 //

+ 31
- 31
config/examples/JGAurora/A5S/Configuration_adv.h Ver fichero

@@ -306,7 +306,7 @@
306 306
  *
307 307
  * Define one or both of these to override the default 0-255 range.
308 308
  */
309
-//#define FAN_MIN_PWM 50
309
+#define FAN_MIN_PWM 30
310 310
 //#define FAN_MAX_PWM 128
311 311
 
312 312
 /**
@@ -522,9 +522,9 @@
522 522
 #define X_HOME_BUMP_MM 5
523 523
 #define Y_HOME_BUMP_MM 5
524 524
 #define Z_HOME_BUMP_MM 2
525
-#define HOMING_BUMP_DIVISOR { 2, 2, 4 }  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
526
-//#define QUICK_HOME                     // If homing includes X and Y, do a diagonal move initially
527
-//#define HOMING_BACKOFF_MM { 2, 2, 2 }  // (mm) Move away from the endstops after homing
525
+#define HOMING_BUMP_DIVISOR { 5, 5, 5 }  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
526
+#define QUICK_HOME                     // If homing includes X and Y, do a diagonal move initially
527
+#define HOMING_BACKOFF_MM { 1, 1, 0 }  // (mm) Move away from the endstops after homing
528 528
 
529 529
 // When G28 is called, this option will make Y home before X
530 530
 //#define HOME_Y_BEFORE_X
@@ -654,7 +654,7 @@
654 654
 // @section lcd
655 655
 
656 656
 #if EITHER(ULTIPANEL, EXTENSIBLE_UI)
657
-  #define MANUAL_FEEDRATE { 50*60, 50*60, 4*60, 60 } // Feedrates for manual moves along X, Y, Z, E from panel
657
+  #define MANUAL_FEEDRATE { 60*60, 60*60, 10*60, 10*60 } // Feedrates for manual moves along X, Y, Z, E from panel
658 658
   #define SHORT_MANUAL_Z_MOVE 0.025 // (mm) Smallest manual Z move (< 0.1mm)
659 659
   #if ENABLED(ULTIPANEL)
660 660
     #define MANUAL_E_MOVES_RELATIVE // Display extruder move distance rather than "position"
@@ -862,13 +862,13 @@
862 862
 #endif
863 863
 
864 864
 // Scroll a longer status message into view
865
-//#define STATUS_MESSAGE_SCROLLING
865
+#define STATUS_MESSAGE_SCROLLING
866 866
 
867 867
 // On the Info Screen, display XY with one decimal place when possible
868
-//#define LCD_DECIMAL_SMALL_XY
868
+#define LCD_DECIMAL_SMALL_XY
869 869
 
870 870
 // The timeout (in ms) to return to the status screen from sub-menus
871
-//#define LCD_TIMEOUT_TO_STATUS 15000
871
+#define LCD_TIMEOUT_TO_STATUS 15000
872 872
 
873 873
 // Add an 'M73' G-code to set the current percentage
874 874
 //#define LCD_SET_PROGRESS_MANUALLY
@@ -888,16 +888,16 @@
888 888
  * LED Control Menu
889 889
  * Enable this feature to add LED Control to the LCD menu
890 890
  */
891
-#define LED_CONTROL_MENU
891
+//#define LED_CONTROL_MENU
892 892
 #if ENABLED(LED_CONTROL_MENU)
893 893
   #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
894 894
   #if ENABLED(LED_COLOR_PRESETS)
895
-    #define LED_USER_PRESET_RED        0  // User defined RED value
896
-    #define LED_USER_PRESET_GREEN      255  // User defined GREEN value
897
-    #define LED_USER_PRESET_BLUE       255  // User defined BLUE value
895
+    #define LED_USER_PRESET_RED        255  // User defined RED value
896
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
897
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
898 898
     #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
899 899
     #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
900
-    #define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
900
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
901 901
   #endif
902 902
 #endif // LED_CONTROL_MENU
903 903
 
@@ -908,7 +908,7 @@
908 908
   // as SD_DETECT_PIN in your board's pins definitions.
909 909
   // This setting should be disabled unless you are using a push button, pulling the pin to ground.
910 910
   // Note: This is always disabled for ULTIPANEL (except ELB_FULL_GRAPHIC_CONTROLLER).
911
-  //#define SD_DETECT_INVERTED
911
+  #define SD_DETECT_INVERTED
912 912
 
913 913
   #define SD_FINISHED_STEPPERRELEASE true          // Disable steppers when SD Print is finished
914 914
   #define SD_FINISHED_RELEASECOMMAND "M84 X Y Z E" // You might want to keep the Z enabled so your bed stays in place.
@@ -982,10 +982,10 @@
982 982
   #endif
983 983
 
984 984
   // This allows hosts to request long names for files and folders with M33
985
-  //#define LONG_FILENAME_HOST_SUPPORT
985
+  #define LONG_FILENAME_HOST_SUPPORT
986 986
 
987 987
   // Enable this option to scroll long filenames in the SD card menu
988
-  //#define SCROLL_LONG_FILENAMES
988
+  #define SCROLL_LONG_FILENAMES
989 989
 
990 990
   // Leave the heaters on after Stop Print (not recommended!)
991 991
   //#define SD_ABORT_NO_COOLDOWN
@@ -1081,13 +1081,13 @@
1081 1081
  */
1082 1082
 #if HAS_GRAPHICAL_LCD
1083 1083
   // Show SD percentage next to the progress bar
1084
-  //#define DOGM_SD_PERCENT
1084
+  #define DOGM_SD_PERCENT
1085 1085
 
1086 1086
   // Enable to save many cycles by drawing a hollow frame on the Info Screen
1087
-  #define XYZ_HOLLOW_FRAME
1087
+  //#define XYZ_HOLLOW_FRAME
1088 1088
 
1089 1089
   // Enable to save many cycles by drawing a hollow frame on Menu Screens
1090
-  #define MENU_HOLLOW_FRAME
1090
+  //#define MENU_HOLLOW_FRAME
1091 1091
 
1092 1092
   // A bigger font is available for edit items. Costs 3120 bytes of PROGMEM.
1093 1093
   // Western only. Not available for Cyrillic, Kana, Turkish, Greek, or Chinese.
@@ -1137,7 +1137,7 @@
1137 1137
   //#define STATUS_ALT_BED_BITMAP     // Use the alternative bed bitmap
1138 1138
   //#define STATUS_ALT_FAN_BITMAP     // Use the alternative fan bitmap
1139 1139
   //#define STATUS_FAN_FRAMES 3       // :[0,1,2,3,4] Number of fan animation frames
1140
-  //#define STATUS_HEAT_PERCENT       // Show heating in a progress bar
1140
+  #define STATUS_HEAT_PERCENT       // Show heating in a progress bar
1141 1141
   //#define BOOT_MARLIN_LOGO_SMALL    // Show a smaller Marlin logo on the Boot Screen (saving 399 bytes of flash)
1142 1142
 
1143 1143
   // Frivolous Game Options
@@ -1184,14 +1184,14 @@
1184 1184
   #if ENABLED(DOUBLECLICK_FOR_Z_BABYSTEPPING)
1185 1185
     #define DOUBLECLICK_MAX_INTERVAL 1250   // Maximum interval between clicks, in milliseconds.
1186 1186
                                             // Note: Extra time may be added to mitigate controller latency.
1187
-    //#define BABYSTEP_ALWAYS_AVAILABLE     // Allow babystepping at all times (not just during movement).
1188
-    #define MOVE_Z_WHEN_IDLE              // Jump to the move Z menu on doubleclick when printer is idle.
1187
+    #define BABYSTEP_ALWAYS_AVAILABLE     // Allow babystepping at all times (not just during movement).
1188
+    //#define MOVE_Z_WHEN_IDLE              // Jump to the move Z menu on doubleclick when printer is idle.
1189 1189
     #if ENABLED(MOVE_Z_WHEN_IDLE)
1190 1190
       #define MOVE_Z_IDLE_MULTIPLICATOR 10   // Multiply 1mm by this factor for the move step size.
1191 1191
     #endif
1192 1192
   #endif
1193 1193
 
1194
-  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1194
+  #define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1195 1195
 
1196 1196
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1197 1197
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
@@ -1491,23 +1491,23 @@
1491 1491
  * Requires NOZZLE_PARK_FEATURE.
1492 1492
  * This feature is required for the default FILAMENT_RUNOUT_SCRIPT.
1493 1493
  */
1494
-//#define ADVANCED_PAUSE_FEATURE
1494
+#define ADVANCED_PAUSE_FEATURE
1495 1495
 #if ENABLED(ADVANCED_PAUSE_FEATURE)
1496 1496
   #define PAUSE_PARK_RETRACT_FEEDRATE         60  // (mm/s) Initial retract feedrate.
1497 1497
   #define PAUSE_PARK_RETRACT_LENGTH            2  // (mm) Initial retract.
1498 1498
                                                   // This short retract is done immediately, before parking the nozzle.
1499
-  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE     10  // (mm/s) Unload filament feedrate. This can be pretty fast.
1499
+  #define FILAMENT_CHANGE_UNLOAD_FEEDRATE     40  // (mm/s) Unload filament feedrate. This can be pretty fast.
1500 1500
   #define FILAMENT_CHANGE_UNLOAD_ACCEL        25  // (mm/s^2) Lower acceleration may allow a faster feedrate.
1501
-  #define FILAMENT_CHANGE_UNLOAD_LENGTH      100  // (mm) The length of filament for a complete unload.
1501
+  #define FILAMENT_CHANGE_UNLOAD_LENGTH      820  // (mm) The length of filament for a complete unload.
1502 1502
                                                   //   For Bowden, the full length of the tube and nozzle.
1503 1503
                                                   //   For direct drive, the full length of the nozzle.
1504 1504
                                                   //   Set to 0 for manual unloading.
1505
-  #define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE   6  // (mm/s) Slow move when starting load.
1506
-  #define FILAMENT_CHANGE_SLOW_LOAD_LENGTH     0  // (mm) Slow length, to allow time to insert material.
1505
+  #define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE   40  // (mm/s) Slow move when starting load.
1506
+  #define FILAMENT_CHANGE_SLOW_LOAD_LENGTH     730  // (mm) Slow length, to allow time to insert material.
1507 1507
                                                   // 0 to disable start loading and skip to fast load only
1508 1508
   #define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE   6  // (mm/s) Load filament feedrate. This can be pretty fast.
1509 1509
   #define FILAMENT_CHANGE_FAST_LOAD_ACCEL     25  // (mm/s^2) Lower acceleration may allow a faster feedrate.
1510
-  #define FILAMENT_CHANGE_FAST_LOAD_LENGTH     0  // (mm) Load length of filament, from extruder gear to nozzle.
1510
+  #define FILAMENT_CHANGE_FAST_LOAD_LENGTH     75  // (mm) Load length of filament, from extruder gear to nozzle.
1511 1511
                                                   //   For Bowden, the full length of the tube and nozzle.
1512 1512
                                                   //   For direct drive, the full length of the nozzle.
1513 1513
   //#define ADVANCED_PAUSE_CONTINUOUS_PURGE       // Purge continuously up to the purge length until interrupted.
@@ -1528,10 +1528,10 @@
1528 1528
   #define FILAMENT_CHANGE_ALERT_BEEPS         10  // Number of alert beeps to play when a response is needed.
1529 1529
   #define PAUSE_PARK_NO_STEPPER_TIMEOUT           // Enable for XYZ steppers to stay powered on during filament change.
1530 1530
 
1531
-  //#define PARK_HEAD_ON_PAUSE                    // Park the nozzle during pause and filament change.
1531
+  #define PARK_HEAD_ON_PAUSE                    // Park the nozzle during pause and filament change.
1532 1532
   //#define HOME_BEFORE_FILAMENT_CHANGE           // Ensure homing has been completed prior to parking for filament change
1533 1533
 
1534
-  //#define FILAMENT_LOAD_UNLOAD_GCODES           // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
1534
+  #define FILAMENT_LOAD_UNLOAD_GCODES           // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu.
1535 1535
   //#define FILAMENT_UNLOAD_ALL_EXTRUDERS         // Allow M702 to unload all extruders above a minimum target temp (as set by M302)
1536 1536
 #endif
1537 1537
 

+ 2
- 3
platformio.ini Ver fichero

@@ -478,13 +478,13 @@ lib_ignore    = c1921b4
478 478
 #
479 479
 # JGAurora A5S A1 (STM32F103ZET6)
480 480
 #
481
-[env:JGAURORA_A5S_A1]
481
+[env:jgaurora_a5s_a1]
482 482
 platform      = ststm32
483 483
 framework     = arduino
484 484
 board         = genericSTM32F103ZE
485 485
 extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
486 486
 build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
487
-  ${common.build_flags} -std=gnu++14
487
+  ${common.build_flags} -DSTM32F1xx -std=gnu++14
488 488
 build_unflags = -std=gnu++11
489 489
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
490 490
 lib_deps      = ${common.lib_deps}
@@ -495,7 +495,6 @@ lib_ignore    = c1921b4
495 495
   Adafruit NeoPixel
496 496
   libf3e
497 497
   TMC26XStepper
498
-lib_ldf_mode  = chain
499 498
 monitor_speed = 250000
500 499
 
501 500
 #

Loading…
Cancelar
Guardar