1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-11 22:24:13 +01:00
Commit Graph

4794 Commits

Author SHA1 Message Date
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
Federico Fissore
350adb99cb Also SerialDiscovery was affected by bug found at 40535dfc55. Fixes #2892 2015-04-13 13:38:55 +02:00
Federico Fissore
40535dfc55 NetworkDiscovery was silently failing because packages werenìt ready yet. Fixes #2837 2015-04-13 13:29:05 +02:00
Federico Fissore
b42c6667e1 Better preference for setting warnings level. See 61592d78fa (commitcomment-10668365) 2015-04-13 12:22:37 +02:00
Federico Fissore
c740f251f4 SAM boards stop compiling due to way of handling params with spaces on different OSs. Fixed 2015-04-13 12:05:00 +02:00
Jan
3cde93501c Update Tone.cpp
Rebased the bugfix from the original Google Code issue #292 to work with Arduino 1.6.x

Description of original fix provided by Pete62:
The later 8 bit AVR's use two registers (TCCRxA, TCCRxB) whereas the ATmega8 only uses a single register (TCCR2) to house the control bits for Timer 2.  Bits were inadvertently being cleared.
2015-04-11 00:15:58 +02:00
Federico Fissore
4c9e5fc564 Restored error messages. Got rid of MessageSyphon as ther were losing some error messages. Fixes #2737 2015-04-10 17:44:13 +02:00
Federico Fissore
9521d54bee Windows: added listComPorts test case 2015-04-10 15:31:11 +02:00
Federico Fissore
61592d78fa New preference: enable all compiler warnings, off by default. Fixes #1728 and #2415. Also affects #2634 and #2207 2015-04-10 15:29:15 +02:00
Federico Fissore
37e2a1994a build.xml: spreading failonerror on all exec tasks, it's better to crash early 2015-04-10 12:32:55 +02:00
Federico Fissore
7d0ffe92b2 Lib/Board Manager CRC check is now case insensitive. Fixes #2953 2015-04-10 09:52:31 +02:00
Cristian Maglie
dd50e6d349 Merge pull request #2951 from agdl/master
License fix to audio library
2015-04-10 01:15:01 +02:00
Arturo Guadalupi
d7c32eefa1 License fix to audio library 2015-04-09 18:18:24 +02:00
Federico Fissore
0eb5ce63ce Merge pull request #2950 from agdl/master
License fix
2015-04-09 17:34:49 +02:00
Arturo Guadalupi
0c01e66402 License fix 2015-04-09 17:22:46 +02:00
Federico Fissore
3c67e74382 Library Manager: better error message 2015-04-09 16:04:56 +02:00
Federico Fissore
b35ab60ea2 Library Manager: some lib names end with numbers, hence separate version with 'version' 2015-04-09 15:56:15 +02:00
Federico Fissore
df1b82ac20 CLI: library manager, man page updated 2015-04-09 15:34:34 +02:00
Federico Fissore
f0cc644d8f Library installer: made messages play nicer with i18n 2015-04-09 15:30:40 +02:00
Federico Fissore
81876495c9 Merge pull request #2948 from Lauszus/LibraryDebug
Library debug
2015-04-09 15:17:31 +02:00
Federico Fissore
7032fcf037 Merge pull request #2947 from Lauszus/MultipleLibraries
Allow library manager to install multiple libraries at once.
2015-04-09 15:16:47 +02:00