Federico Fissore
b5a130afb5
Examples: mass code format. See example_formatter.conf
2015-07-06 15:19:05 +02:00
Federico Fissore
b40f171220
Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc . Fixes #3191
2015-05-20 17:10:06 +02:00
Federico Fissore
7c585abf3f
Libraries bundled with cores will take the type of that core, instead of relying on an undocumented 'types' property. Fixes #2875
2015-05-19 12:24:11 +02:00
Federico Fissore
da5830c4bf
LibraryManager: better type filtering
2015-03-27 14:51:19 +01:00
Victor Aprea
8fcf5c9406
Do not influence state of SS if it's already been set to an output previously, e.g. by user sketch
...
squashes and closes PR #2659
2015-03-18 10:37:40 +01:00
Cristian Maglie
17ad4fe5ef
Corrected some email contacts.
2015-02-05 16:47:22 +01:00
Cristian Maglie
1e699c3600
Fix atomicity issues in SPI::beginTransaction and SPI::endTransaction (Andrew Kroll)
...
Previously, it could happen that SPI::beginTransaction was
interrupted by an ISR, while it is changing the SPI_AVR_EIMSK
register or interruptSave variable (it seems that there is
a small window after changing SPI_AVR_EIMSK where an interrupt
might still occur). If this happens, interruptSave is overwritten
with an invalid value, permanently disabling the pin interrupts.
To prevent this, disable interrupts globally while changing
these values.
2014-11-25 15:56:11 +01:00
Cristian Maglie
00f5ed6b45
[avr] Made SPI.usingInterrupt() synchronized (Andrew Kroll)
2014-11-25 15:56:11 +01:00
Cristian Maglie
4948bf5650
[avr] Added SPI.notUsingInterrupt() (Andrew Kroll)
2014-11-25 15:56:11 +01:00
Cristian Maglie
6cfc5c23cc
[avr] Made SPI.begin() and SPI.end() synchronized (Andrew Kroll)
2014-11-25 15:49:17 +01:00
Cristian Maglie
d4edece7e6
[avr] Improved SPI speed on 16bit transfer.
...
From https://github.com/arduino/Arduino/pull/2376#issuecomment-59671152
Quoting Andrew Kroll:
[..this commit..] introduces a small delay that can prevent the wait
loop form iterating when running at the maximum speed. This gives
you a little more speed, even if it seems counter-intuitive. At
lower speeds, it is unnoticed. Watch the output on an oscilloscope
when running full SPI speed, and you should see closer back-to-back
writes.
Quoting Paul Stoffregen:
I did quite a bit of experimenting with the NOP addition. The one
that's in my copy gives about a 10% speedup on AVR.
2014-11-25 15:49:17 +01:00
Cristian Maglie
1daa5ea931
[avr] SPI: removed redundant include
2014-11-14 00:23:11 +01:00
Cristian Maglie
39b2b39234
[avr] Small comments and headers fixes in SPI
2014-11-14 00:23:11 +01:00
PaulStoffregen
48f5256789
SPI Transactions for AVR
2014-08-01 05:38:27 -07:00
Fede85
6fb4b2795c
missing paragraph field in library.properties
2014-07-18 20:08:01 +02:00
Fede85
2f7cc5ff55
modified sentences in library.properties files
2014-07-18 19:41:34 +02:00
Cristian Maglie
66ca83a809
Revert "SPI library to new format"
2013-11-21 15:05:36 +01:00
Fede85
fd8c367304
SPI library to the new format and moved Robot_Motor and Robot_Control libraries
2013-07-03 22:00:02 +02:00
Cristian Maglie
7207108255
Merged 1.0.5
...
Still missing:
- updates to WiFi lib for sam.
- updates to examples of Ehternet and WiFi for sam.
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
Conflicts:
app/src/processing/app/Base.java
app/src/processing/app/Editor.java
app/src/processing/app/helpers/FileUtils.java
app/src/processing/app/i18n/Resources_fr.po
app/src/processing/app/i18n/Resources_fr.properties
build/shared/revisions.txt
hardware/arduino/avr/libraries/Ethernet/examples/DnsWebClient/DnsWebClient.ino
hardware/arduino/avr/libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino
hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino
hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino
hardware/arduino/avr/libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino
hardware/arduino/avr/libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino
hardware/arduino/avr/libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino
hardware/arduino/avr/libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino
hardware/arduino/avr/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
libraries/WiFi/examples/WiFiChatServer/WiFiChatServer.ino
libraries/WiFi/examples/WiFiPachubeClient/WiFiPachubeClient.ino
libraries/WiFi/examples/WiFiPachubeClientString/WiFiPachubeClientString.ino
libraries/WiFi/examples/WiFiTwitterClient/WiFiTwitterClient.ino
libraries/WiFi/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino
libraries/WiFi/examples/WiFiWebClient/WiFiWebClient.ino
libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino
libraries/WiFi/examples/WiFiWebServer/WiFiWebServer.ino
libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino
libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino
libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino
libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino
libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino
libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino
libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino
libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
2013-05-11 14:37:25 +02:00
Cristian Maglie
79521e1a15
Merged upstream Arduino master branch
2012-06-26 00:51:35 +02:00
Cristian Maglie
8c2b5b979a
Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform
2012-01-04 15:14:51 +01:00