- 17 Sep, 2020 3 commits
-
-
Matthijs Kooijman authored
This makes these functions weak, so that a sketch or library can replace them. This does not apply to all of these operators, only for the ones that the C++ standard specifies as replaceable.
-
Matthijs Kooijman authored
This makes this header complete up to including C++14, except two exception classes that cannot be defined without `<exception>`. The functions related to the "new_handler" are declared but not actually defined, to prevent overhead and complexity. They are still declared to allow implementing them in user code if needed. This makes the implementation of all operator new and delete functions comply with the C++11/C++14 specification in terms of which should be actually implemented and which should be delegate to other functions. There are still some areas where these implementations are not entirely standards-compliant, which will be fixed in subsequent commits. This fixes part of #287 and fixes #47.
-
Matthijs Kooijman authored
Originally, the Arduino core used "new.h", rather than the standard "new", probably because the implementation was incomplete, and for the most commonly used new and delete operators, no include is needed at all (they are defined implicitly by the compiler). However, now Arduino does expose the "new" name, as an alias for the older "new.h". Given that the standard name is "new", it makes more sense to put the actual content in "new", and make "new.h" a compatibility header that includes "new" instead of the other way around.
-
- 11 Jun, 2020 7 commits
-
-
Martino Facchin authored
-
Martino Facchin authored
-
Matthijs Kooijman authored
-
Martino Facchin authored
-
Greyson Christoforo authored
move timout handling into its own function change timeout from milliseconds to microseconds don't forget operating slave address or the bitrate when we reset because of a timeout Co-Authored-By: Witold Markowski <witold.a.markowski@gmail.com> fix delay datatype uint16_t --> uint32_t Update libraries/Wire/src/utility/twi.c fix mix up using TWBR instea of TWAR! Co-Authored-By: Matthijs Kooijman <matthijs@stdin.nl> Update libraries/Wire/src/utility/twi.c fix 2nd TWBR/TWAR mixup Co-Authored-By: Matthijs Kooijman <matthijs@stdin.nl> twi_stop() should use the same timeout as everywhere else all while loops are now protected by timeouts Revert "twi_stop() should use the same timeout as everywhere else" This reverts commit 68fe5f1dae1bb41183bb37eeda3fb453394a580c. make timeout counter volatile rename timeout function for improved clarity - resetting the twi interface on timeouts is now optional - timeouts in the ISR are no longer hardcoded and now obey the set timeout value - a user-readable flag is now set whenever a timeout occurs - the user can clear this flag whenever they like
-
Martino Facchin authored
Add "new" proxy header for compatibility with c++-standard #include<new>
-
Martino Facchin authored
Added precompiled library support
-
- 13 May, 2020 1 commit
-
-
eudoxos authored
-
- 04 May, 2020 1 commit
-
-
Martino Facchin authored
Correct comment on wiring_analog.c
-
- 02 May, 2020 1 commit
-
-
Maximilian Leopold authored
-
- 28 Apr, 2020 1 commit
-
-
Cristian Maglie authored
-
- 19 Mar, 2020 1 commit
-
-
Martino Facchin authored
Fix sine -> since typo in HardwareSerial files
-
- 18 Mar, 2020 1 commit
-
-
Daniel Jackson authored
-
- 02 Dec, 2019 1 commit
-
-
Cristian Maglie authored
-
- 25 Sep, 2019 1 commit
-
-
Manuel Reimer authored
* Interrupt ordering for 32u2 and 16u2 MCU * Added missing chip variants
-
- 20 Sep, 2019 3 commits
-
-
Giampiero Baggiani authored
Port of https://github.com/arduino/Arduino/pull/7023
-
Martino Facchin authored
Remove Genuino Occurrences
-
Cristian Maglie authored
-
- 19 Sep, 2019 1 commit
-
-
Luca Cipriani authored
-
- 18 Sep, 2019 2 commits
-
-
Alexander Entinger authored
Revert "Changed linking order, so precompiled libraries can be used"
-
Alexander Entinger authored
This reverts commit 41f15a13.
-
- 16 Sep, 2019 15 commits
-
-
Alexander Entinger authored
No fixed value for USB power current.
-
Asuki Kono authored
-
Corjan85 authored
* Changed linking order, so precompiled libraries can use the Arduino code functions. * Added 'compiler.libraries.ldflags', reverted object order in previous commit
-
Alexander Entinger authored
Minor optimization in shiftOut function
-
Alexander Entinger authored
Cast pins to signed integers to avoid Wtype-limits compile warning
-
Alexander Entinger authored
Do not claim AT-protocol in CDC interface descriptor
-
Alexander Entinger authored
Correct yunmini.bootloader.file on boards.txt
-
Alexander Entinger authored
[TWI] Add __attribute__ ((fallthrough)) to remove recent GCC warnings
-
Alexander Entinger authored
Add `bitToggle` macro to complement `bitSet` etc
-
Alexander Entinger authored
-
Alexander Entinger authored
Add placement new operator
-
Alexander Entinger authored
Add parameter names to common prototypes
-
Alexander Entinger authored
Adding parenthesis around 'bitvalue' allowing correct macro expansion when using with ternary operator such as bitWrite(value, bit, some_computed_value == 5 ? 1: 0);'
-
Alexander Entinger authored
Fix unused variable warning for non-pluggable USB in SendDescriptor
-
Alexander Entinger authored
Removes unnecessary if branch (because length is checked in while statement below the if-clause).
-
- 04 Sep, 2019 1 commit
-
-
Akihiro YAMAZAKI authored
checking `length` in below while statement
-