Commit Graph

4764 Commits

Author SHA1 Message Date
Martino Facchin 8d840c5e8a Merge pull request #3042 from facchinm/test_PR3037
SD: allow multiple SD instances
2015-04-27 12:00:27 +02:00
squelched 1c25d2432f SD: allow multiple SD instances
The SDClass class makes a reference to "SD.card" instead of just "card". SD is a global instance of SDClass.
This prevents any other instance of SDClass from functioning correctly.
The fix also allows SDClass to be used with an SD card which is removed and replaced, whereas previously, using the global instance SD did not allow this due to the limitation of begin() which cannot be called more than once.
2015-04-27 11:53:02 +02:00
Federico Fissore 90026f3764 Disabling uncertified warning, leaving vids/pids 2015-04-27 10:55:16 +02:00
Federico Fissore b10417505f Windows: added comment to DoubleQuotedArgumentsOnWindowsCommandLine to explain the need for such a char replacement 2015-04-24 12:20:42 +02:00
Federico Fissore f54851ecfa Windows: Compiler wasn't supplying Windows command line with the correct double quotes 2015-04-24 12:03:41 +02:00
Federico Fissore d805fb4e1f Renamed compiler.warning_flags pref to compiler.warning_level
Provided a default value for compiler.warning_flags
Releasing avr core 1.6.5
2015-04-24 09:27:28 +02:00
Federico Fissore 871bc172d0 Added lib_sync, utility script 2015-04-23 17:46:20 +02:00
Federico Fissore 5519f15663 Libraries: added help files to mitigate missing contextual reference issue 2015-04-23 17:19:15 +02:00
Federico Fissore 9a75cd3867 MacOSX: fixed wrong checksum 2015-04-23 13:34:17 +02:00
Federico Fissore e720bb058d Audio and Servo library version bump 2015-04-23 13:28:17 +02:00
Federico Fissore 0b4b76fa67 Bundled libraries update 2015-04-23 13:01:30 +02:00
Arturo Guadalupi f76087cd10 Update Firmata.h 2015-04-23 12:53:30 +02:00
Arturo Guadalupi 42f62fc3e5 Update README.adoc 2015-04-23 12:53:30 +02:00
Enrico Gueli 38ccd55399 added license on TFT library 2015-04-23 12:53:30 +02:00
Arturo Guadalupi 5bfdbe853c minor changes 2015-04-23 12:53:30 +02:00
Arturo Guadalupi 9eb2bac42e First licenses review 2015-04-23 12:53:30 +02:00
Federico Fissore 8b0fcbe281 Temboo: updated bundled library 2015-04-23 12:45:31 +02:00
Federico Fissore 4cf77cd90d If previously downloaded package_index.json is older than the bundled one, the bundled one wins 2015-04-23 11:10:54 +02:00
Federico Fissore 2f31b8a80c AVR: upgrading avr core version 2015-04-23 11:10:17 +02:00
Federico Fissore ba77ade694 AVR: Upgrading bundled toolchains 2015-04-23 10:56:56 +02:00
Federico Fissore ea9a7a11c7 Converted Robot_Control files to unix format for better git diffs 2015-04-22 16:40:00 +02:00
Cristian Maglie a7e6a39f4e programmer.txt has now priority over platforms.txt tools definitions
This allows properties defined in programmers.txt to override generic
configurations in platform.txt where needed, for example in the
following configuration:

programmers.txt:

   myprog.name=My New Programmer
   [...]
   myprog.program.tool=avrdude
   myprog.config.path={runtime.platform.path}/myprog_avrdude.conf
   [...]

platform.txt:

   tools.avrdude.path={runtime.tools.avrdude.path}
   tools.avrdude.cmd.path={path}/bin/avrdude
   tools.avrdude.config.path={path}/etc/avrdude.conf
   [...]
   tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"

the generic tools.avrdude.config.path value

   {path}/etc/avrdude.conf

is replaced by the more specific myprog.config.path used in "myprog" programmer

   {runtime.plaform.path}/myprog_avrdude.conf
2015-04-22 14:33:20 +02:00
Federico Fissore 269a8b1199 "No internet connection" copy change. Closes #3007 2015-04-22 09:59:28 +02:00
Cristian Maglie 5af390b5e2 Added missing eclipse classpath entries 2015-04-21 18:28:26 +02:00
Cristian Maglie c944a4c84d Updated Stream.cpp in SAM core to the latest version 2015-04-21 18:11:05 +02:00
Cristian Maglie c96c917dd0 Fixed indentation in Stream.cpp, no code change 2015-04-21 18:10:32 +02:00
Cristian Maglie 35fc66c23d Fixed wrong bracket placement (see #3011) 2015-04-21 18:07:42 +02:00
Cristian Maglie 6a22efef7c Merge pull request #3011 from Lauszus/warnings
Fixed some warnings
2015-04-21 08:54:41 +02:00
Kristian Sloth Lauszus 91489d7ba8 Fixed: warning: comparison between signed and unsigned integer expressions 2015-04-21 00:08:11 +02:00
Kristian Sloth Lauszus f3e7a3909d Fixed: warning: suggest explicit braces to avoid ambiguous 'else' 2015-04-21 00:08:02 +02:00
Federico Fissore 38d5e916ca Merge pull request #2973 from ffissore/warnings
Reviewed warnings key names and dropdown in Preferences
2015-04-17 23:55:54 +02:00
Federico Fissore d201069172 Merge pull request #2980 from ffissore/delete_on_exit
Delete temporary files on exit
2015-04-15 17:15:21 +02:00
Federico Fissore dabd6e4903 Tests weren't deleting temporary files: fixed 2015-04-15 11:00:23 +02:00
Federico Fissore 96c4576962 Added --preserve-temp-files command line option 2015-04-15 11:00:01 +02:00
Federico Fissore e7dc30dae4 Update revisions.txt 2015-04-15 10:21:37 +02:00
Federico Fissore 3465fcf97b File.deleteOnExit is not recursive. Replaced by DeleteFilesOnShutdown shutdown hook. Fixes #2971 2015-04-15 10:21:37 +02:00
Martino Facchin d72bc63d6e Merge pull request #2974 from facchinm/test_2659_2
SD: remove any reference to pinMode(10, OUTPUT) in the examples
2015-04-15 08:57:32 +01:00
Martino Facchin d3a6c37980 increase version number 2015-04-15 09:55:37 +02:00
Martino Facchin b41e4a3d7d Merge branch 'jipp-master' 2015-04-14 10:13:58 +02:00
Martino Facchin cbd6812e98 Merge branch 'master' of https://github.com/jipp/Arduino into jipp-master 2015-04-14 10:12:11 +02:00
Martino Facchin 3bbdf495f2 Merge pull request #2961 from jan-r/issue292-fix
Tone: fix for ATmega8
2015-04-14 08:36:12 +01:00
Jan df577bf244 Fix for issue #292
Replaced direct register manipulation with calls to bitWrite(). Fixed TIMSK5 usage on Leonardo (as well as some other preprocessor statements).
2015-04-13 20:36:28 +02:00
Martino Facchin a57d390499 SD: remove any reference to pinMode(10, OUTPUT) in the examples
correct SS pin setup is already handled by SPI subsystem.
this should prevent future issues like #2868

current implementation assures that:
* pin10 is OUTPUT HIGH if SPI.begin() is called and the pin was unconfigured
* pin10 state is not modified if pinMode(10, OUTPUT) is called before SPI.begin()
* pin10 is INPUT HI-Z if nor pinMode(10, OUTPUT) nor SPI.begin() are called
2015-04-13 18:08:31 +02:00
Federico Fissore 25aeb68fd6 Windows: build_pull_request needed to be upgraded as well 2015-04-13 17:43:41 +02:00
Federico Fissore f7fe11c825 Reviewed warnings key names and dropdown in Preferences 2015-04-13 17:18:23 +02:00
Federico Fissore 890c2ada1c Update revisions.txt 2015-04-13 16:32:47 +02:00
Federico Fissore 34d2f08118 Windows: JRE is chosen at build time via WINDOWS_BUNDLED_JVM property 2015-04-13 16:28:26 +02:00
jipp b5cc55ec3e Update Tone.cpp
Tone.cpp stops compile when TCCR0A/TCCR0B defined and WGM01 not defined #2923
2015-04-13 16:18:18 +02:00
Federico Fissore 818dc19553 Update revisions.txt 2015-04-13 15:36:34 +02:00
Federico Fissore eacddd6120 Block discovery threads until packages is not null, otherwise boards discovered during startup will miss model name 2015-04-13 15:36:17 +02:00