Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 32ec5ee

Browse files
authored
Update Packages_Patches
1 parent a9f1e30 commit 32ec5ee

File tree

46 files changed

+11500
-2827
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+11500
-2827
lines changed

Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.6.18-alpha2/boards.txt

Lines changed: 1730 additions & 0 deletions
Large diffs are not rendered by default.

Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.7.0/boards.txt

Lines changed: 1730 additions & 0 deletions
Large diffs are not rendered by default.

Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.8.0/boards.txt

Lines changed: 1730 additions & 0 deletions
Large diffs are not rendered by default.

Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.9.0/boards.txt

Lines changed: 1751 additions & 0 deletions
Large diffs are not rendered by default.

Packages_Patches/Seeeduino/hardware/samd/1.7.0/boards.txt

Lines changed: 1730 additions & 0 deletions
Large diffs are not rendered by default.

Packages_Patches/Seeeduino/hardware/samd/1.7.7/cores/arduino/Arduino.h

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@ int __debug_buf(const char* head, char* buf, int len);
7676

7777
// The following headers are for C++ only compilation
7878
#ifdef __cplusplus
79-
#include "WCharacter.h"
80-
#include "WString.h"
81-
#include "Tone.h"
82-
#include "WMath.h"
83-
#include "HardwareSerial.h"
84-
#include "pulse.h"
79+
#include "WCharacter.h"
80+
#include "WString.h"
81+
#include "Tone.h"
82+
#include "WMath.h"
83+
#include "HardwareSerial.h"
84+
#include "pulse.h"
8585
#endif
8686
#include "delay.h"
8787
#ifdef __cplusplus
88-
#include "Uart.h"
88+
#include "Uart.h"
8989
#endif
9090

9191
// Include board variant
@@ -100,24 +100,24 @@ int __debug_buf(const char* head, char* buf, int len);
100100

101101
// undefine stdlib's abs if encountered
102102
#ifdef abs
103-
#undef abs
103+
#undef abs
104104
#endif // abs
105105
// undefine stdlib's abs if encountered
106106
#ifdef abs
107-
#undef abs
107+
#undef abs
108108
#endif // abs
109109

110110
#ifdef __cplusplus
111111
template<class T, class L>
112112
auto min(const T& a, const L& b) -> decltype((b < a) ? b : a)
113113
{
114-
return (b < a) ? b : a;
114+
return (b < a) ? b : a;
115115
}
116116

117117
template<class T, class L>
118118
auto max(const T& a, const L& b) -> decltype((b < a) ? b : a)
119119
{
120-
return (a < b) ? b : a;
120+
return (a < b) ? b : a;
121121
}
122122
#else
123123
#ifndef min
@@ -147,8 +147,8 @@ auto max(const T& a, const L& b) -> decltype((b < a) ? b : a)
147147
static inline unsigned char __interruptsStatus(void) __attribute__((always_inline, unused));
148148
static inline unsigned char __interruptsStatus(void)
149149
{
150-
// See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0497a/CHDBIBGJ.html
151-
return (__get_PRIMASK() ? 0 : 1);
150+
// See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0497a/CHDBIBGJ.html
151+
return (__get_PRIMASK() ? 0 : 1);
152152
}
153153
#define interruptsStatus() __interruptsStatus()
154154
#endif
@@ -164,18 +164,18 @@ static inline unsigned char __interruptsStatus(void)
164164
#define bit(b) (1UL << (b))
165165

166166
#if (ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10606)
167-
// Interrupts
168-
#define digitalPinToInterrupt(P) ( P )
167+
// Interrupts
168+
#define digitalPinToInterrupt(P) ( P )
169169
#endif
170170

171171
// USB
172172
#ifdef USE_TINYUSB
173-
#include "Adafruit_TinyUSB_Core.h"
173+
#include "Adafruit_TinyUSB_Core.h"
174174
#else
175-
#include "USB/USBDesc.h"
176-
#include "USB/USBCore.h"
177-
#include "USB/USBAPI.h"
178-
#include "USB/USB_host.h"
175+
#include "USB/USBDesc.h"
176+
#include "USB/USBCore.h"
177+
#include "USB/USBAPI.h"
178+
#include "USB/USB_host.h"
179179
#endif
180180

181181
#endif // Arduino_h

0 commit comments

Comments
 (0)