Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-16 | Define a _NOP() macro | Matthijs Kooijman | |
Recent avr-libc releases define one, but this allows using it also on older avr-libc releases. | |||
2014-01-16 | Simplify HardwareSerial::begin() | Matthijs Kooijman | |
This simplifies the baud rate calculation, removing the need for a goto and shortening the code a bit. Other than that, this code should not use any different settings than before. Code was suggested by Rob Tillaart on github. Closes: #1262 | |||
2014-01-16 | Remove unused variable | Matthijs Kooijman | |
2014-01-16 | Slightly reduce code utilization by inlining HardwareSerail begin(baud) and ↵ | Cristian Maglie | |
operator bool() | |||
2014-01-16 | Remove duplicate code from HardwareSerial::begin() methods. | Matthijs Kooijman | |
There are two begin methods, one which accepts just a baud rate and uses the default bit settings and one which accepts both a baudrate and a bit config. Previously, both of these contained a complete implementation, but now the former just calls the latter, explicitely passing the default 8N1 configuration. Technically, this causes a small change: Before the UCSRC register was untouched when calling begin(baud), now it is explicitely initialized with 8N1. However, since this is the default configuration for at least the Uno and the Mega (didn't check any others), probably for all avrs, this shouldn't effectively change anything. Given that the Arduino documentation also documents this as the default when none is passed, explicitly setting it is probably a good idea in any case. | |||
2014-01-15 | Make some operators in IPAddress const | Matthijs Kooijman | |
These functions do not modify the IPAddress object, but were not marked as const. This meant that you could not do: void set_ip(const IPAddress& ip) { uint32_t copy = ip; } Since calling operator uint32_t() on ip would discard the constness of the reference. | |||
2014-01-09 | Merge pull request #1790 from cmaglie/platform-paths | Cristian Maglie | |
Fixed "runtime.hardware.path" and "runtime.platform.path" values | |||
2014-01-07 | Merge pull request #1794 from arduino/ide-1.5.x-euler | Cristian Maglie | |
Added new EULER constant | |||
2014-01-07 | Merge branch 'master' into ide-1.5.x | Cristian Maglie | |
Conflicts: build/windows/dist/drivers/arduino.cat | |||
2014-01-06 | Removed = char from #define. See ↵ | Federico Fissore | |
https://github.com/arduino/Arduino/issues/1792#issuecomment-31650586 | |||
2014-01-06 | Added new EULER constant. Fixes #1792 | Federico Fissore | |
2014-01-05 | Fixed "runtime.hardware.path" and "runtime.platform.path" values | Cristian Maglie | |
"runtime.hardware.path" now contains the path to the hardware folder of the currently selected board and "runtime.platform.path" the path to the specific platform. This should fix #1176 and #1761. | |||
2014-01-01 | Improved portability of String class (maniacbug) | Cristian Maglie | |
2013-12-31 | Merge branch 'cast' of github.com:Lauszus/Arduino into Lauszus-cast | Cristian Maglie | |
Conflicts: hardware/arduino/avr/cores/arduino/Print.cpp | |||
2013-12-31 | Use PGM_P instead of prog_char | Matthijs Kooijman | |
On later versions of avr-libc, prog_char is deprecated. In 0acebeeff48 the one occurence of prog_char was replaced by "char PROGMEM", which is not entirely correct (PROGMEM is supposed to be an attribute on a variable, not on a type, even though this is how things work in older libc versions). However, in 1130fede3a2 a few new occurences of prog_char are introduced, which break compilation on newer libc versions again. This commit changes all these pointer types to use the PGM_P macro from <avr/pgmspace.h>. This macro is just "const char *" in newer libc versions and "const prog_char *" in older versions, so it should always work. References #795 | |||
2013-12-30 | Merge pull request #1762 from matthijskooijman/ide-1.5.x-write-char | Cristian Maglie | |
Support both char* and uint8* in Stream and Print | |||
2013-12-27 | Use reinterpret_cast to cast __FlashStringHelper to const char* | Kristian Lauszus | |
2013-12-24 | Remove unneeded casts in Print::write(const String&) | Matthijs Kooijman | |
Now that Print::write(const char*) is also available, these casts are no longer needed. | |||
2013-12-24 | Add uint8_t* versions of methods in Stream | Matthijs Kooijman | |
The new functions just call their char* equivalents, but this allows reading bytes into a buffer of uint8_t as well as chars. | |||
2013-12-24 | Add Print::write(const char *, size_t) | Matthijs Kooijman | |
The new function just calls Print::write(const uint8_t *, size_t), but this allows writing out a buffer of chars (without having to learn about casts). | |||
2013-12-23 | Print.print optimization. Closes #1760 | Federico Fissore | |
2013-12-13 | Merge branch 'master' of github.com:arduino/Arduino | Cristian Maglie | |
2013-12-13 | Merge branch 'pins-define' into ide-1.5.x | Cristian Maglie | |
2013-12-13 | Changed pins definition in variants from constants to #defines. | Cristian Maglie | |
2013-12-13 | Removed redefinitions of SERIAL_* in Yun variant | Cristian Maglie | |
2013-12-09 | Merge remote-tracking branch 'arduino/master' into ide-1.5.x | Cristian Maglie | |
Conflicts: libraries/Ethernet/EthernetClient.cpp | |||
2013-12-08 | In boards.txt, rename atmega328diecimila to diecimila | Matthijs Kooijman | |
This board has a "cpu" submenu to select either atmega328 or atmega168, so it does not make sense to put atmega328 in the main board name. | |||
2013-12-06 | remove all Changes besides operator== | ntruchsess | |
2013-11-28 | Upped version to 1.5.5 | Cristian Maglie | |
2013-11-27 | add localPort to EthernetClient, simplify operator== | ntruchsess | |
2013-11-26 | add operator==, remoteIP and remotePort to EthernetClient | ntruchsess | |
2013-11-21 | Revert "SPI library to new format" | Cristian Maglie | |
2013-11-21 | Revert "EEPROM library to the new format" | Cristian Maglie | |
This reverts commits: 3223d4fdca32ec03de4a3a2a0c22f2d40de5f374 77f8dd63ab102ab5d2929ac4edd5c00ae9d70493 | |||
2013-11-15 | Revert "SoftwareSerial library to the new format" | Cristian Maglie | |
This reverts commit 38c3bbbd3c83eda057d4857635fbd78a4785c3a4. | |||
2013-11-15 | Revert "Wire library to the 1.5 format" | Cristian Maglie | |
This reverts commit a31857688bdc270ed65307755ff3b73ef4867982. | |||
2013-11-12 | Removed redundant LED_BUILTIN define in Yun variant. | Cristian Maglie | |
2013-11-12 | Merge pull request #1634 from cmaglie/adc-fix | Cristian Maglie | |
Improved ADC speed on Arduino Due | |||
2013-11-11 | Merge branch 'master' into serial-variant | Cristian Maglie | |
2013-11-11 | Fix SERIAL_* metadata in Arduino Ethernet variant | Cristian Maglie | |
2013-11-11 | Added SERIAL metadata into variant files. | Cristian Maglie | |
2013-11-11 | Merge branch 'master' into serial-variant | Cristian Maglie | |
2013-11-11 | Added SERIAL metadata into variant files. | Cristian Maglie | |
2013-11-11 | Added VID and PID for older Arduino Unos | Kristian Lauszus | |
2013-11-03 | Merge branch 'master' into ide-1.5.x | Cristian Maglie | |
2013-11-03 | Changed LED_BUILTIN to a macro to better support boards that do not have a ↵ | Cristian Maglie | |
built-in LED. Fixes #758 | |||
2013-11-03 | Added LED_BUILTIN constant to Leonardo board | Cristian Maglie | |
2013-11-03 | Merge branch 'master' into ide-1.5.x | Cristian Maglie | |
2013-11-03 | Added Arduino Ethernet variant. | Cristian Maglie | |
Fixes #925 | |||
2013-10-31 | Using NOT_AN_INTERRUPT defined constant | Cristian Maglie | |
2013-10-31 | Added digitalPinToInterrupt also to robot variants | Cristian Maglie | |