Browse Source

🎨 Update SAMD51 headers

Scott Lahteine 1 year ago
parent
commit
1c2d37eb0b

+ 7
- 2
Marlin/src/HAL/SAMD51/HAL.cpp View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +19,10 @@
18 19
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 20
  *
20 21
  */
22
+
23
+/**
24
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
25
+ */
21 26
 #ifdef __SAMD51__
22 27
 
23 28
 #include "../../inc/MarlinConfig.h"

+ 7
- 2
Marlin/src/HAL/SAMD51/HAL.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 #pragma once
22 23
 
24
+/**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
23 28
 #define CPU_32_BIT
24 29
 
25 30
 #include "../shared/Marduino.h"

+ 7
- 2
Marlin/src/HAL/SAMD51/HAL_SPI.cpp View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 
22 23
 /**
24
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
25
+ */
26
+
27
+/**
23 28
  * Hardware and software SPI implementations are included in this file.
24 29
  *
25 30
  * Control of the slave select pin(s) is handled by the calling routines and

+ 7
- 2
Marlin/src/HAL/SAMD51/MarlinSerial_AGCM4.cpp View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +19,10 @@
18 19
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 20
  *
20 21
  */
22
+
23
+/**
24
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
25
+ */
21 26
 #ifdef ADAFRUIT_GRAND_CENTRAL_M4
22 27
 
23 28
 /**

+ 7
- 2
Marlin/src/HAL/SAMD51/MarlinSerial_AGCM4.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 #pragma once
22 23
 
24
+/**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
23 28
 #include "../../core/serial_hook.h"
24 29
 
25 30
 typedef Serial1Class<Uart> UartT;

+ 7
- 2
Marlin/src/HAL/SAMD51/SAMD51.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 #pragma once
22 23
 
24
+/**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
23 28
 #define SYNC(sc)    while (sc) {  \
24 29
                       asm("");    \
25 30
                     }

+ 7
- 2
Marlin/src/HAL/SAMD51/Servo.cpp View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 
22 23
 /**
24
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
25
+ */
26
+
27
+/**
23 28
  * This comes from Arduino library which at the moment is buggy and uncompilable
24 29
  */
25 30
 

+ 7
- 2
Marlin/src/HAL/SAMD51/ServoTimers.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 #pragma once
22 23
 
24
+/**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
23 28
 #define _useTimer1
24 29
 #define _useTimer2
25 30
 

+ 7
- 2
Marlin/src/HAL/SAMD51/eeprom_flash.cpp View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +19,10 @@
18 19
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 20
  *
20 21
  */
22
+
23
+/**
24
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
25
+ */
21 26
 #ifdef __SAMD51__
22 27
 
23 28
 #include "../../inc/MarlinConfig.h"

+ 7
- 2
Marlin/src/HAL/SAMD51/eeprom_qspi.cpp View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +19,10 @@
18 19
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 20
  *
20 21
  */
22
+
23
+/**
24
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
25
+ */
21 26
 #ifdef __SAMD51__
22 27
 
23 28
 #include "../../inc/MarlinConfig.h"

+ 7
- 2
Marlin/src/HAL/SAMD51/eeprom_wired.cpp View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +19,10 @@
18 19
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 20
  *
20 21
  */
22
+
23
+/**
24
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
25
+ */
21 26
 #ifdef __SAMD51__
22 27
 
23 28
 #include "../../inc/MarlinConfig.h"

+ 7
- 2
Marlin/src/HAL/SAMD51/endstop_interrupts.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -21,6 +22,10 @@
21 22
 #pragma once
22 23
 
23 24
 /**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
28
+/**
24 29
  * Endstop interrupts for ATMEL SAMD51 based targets.
25 30
  *
26 31
  * On SAMD51, all pins support external interrupt capability.

+ 7
- 2
Marlin/src/HAL/SAMD51/fastio.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -21,6 +22,10 @@
21 22
 #pragma once
22 23
 
23 24
 /**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
28
+/**
24 29
  * Fast IO functions for SAMD51
25 30
  */
26 31
 

+ 8
- 2
Marlin/src/HAL/SAMD51/inc/SanityCheck.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +19,11 @@
18 19
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 20
  *
20 21
  */
22
+#pragma once
23
+
24
+/**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
21 27
 
22 28
 /**
23 29
  * Test SAMD51 specific configuration values for errors at compile-time.

+ 7
- 2
Marlin/src/HAL/SAMD51/pinsDebug.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 #pragma once
22 23
 
24
+/**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
23 28
 #define NUMBER_PINS_TOTAL PINS_COUNT
24 29
 
25 30
 #define digitalRead_mod(p) extDigitalRead(p)

+ 7
- 2
Marlin/src/HAL/SAMD51/spi_pins.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 #pragma once
22 23
 
24
+/**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
23 28
 #ifdef ADAFRUIT_GRAND_CENTRAL_M4
24 29
 
25 30
  /*

+ 7
- 2
Marlin/src/HAL/SAMD51/timers.cpp View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -18,6 +19,10 @@
18 19
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 20
  *
20 21
  */
22
+
23
+/**
24
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
25
+ */
21 26
 #ifdef __SAMD51__
22 27
 
23 28
 // --------------------------------------------------------------------------

+ 7
- 2
Marlin/src/HAL/SAMD51/timers.h View File

@@ -1,8 +1,9 @@
1 1
 /**
2 2
  * Marlin 3D Printer Firmware
3
- *
4 3
  * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
- * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
6 7
  *
7 8
  * This program is free software: you can redistribute it and/or modify
8 9
  * it under the terms of the GNU General Public License as published by
@@ -20,6 +21,10 @@
20 21
  */
21 22
 #pragma once
22 23
 
24
+/**
25
+ * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
26
+ */
27
+
23 28
 #include <stdint.h>
24 29
 
25 30
 // --------------------------------------------------------------------------

Loading…
Cancel
Save