Commit Graph

4791 Commits

Author SHA1 Message Date
Martino Facchin d4a80be045 pulseIn: add alternative implementation based on micros()
pulseInLong is suitable for long pulses in interrupt context
2015-05-29 15:01:38 +02:00
Martino Facchin 93f74f84ce pulseIn: modify function to use ASM implementation 2015-05-29 15:01:37 +02:00
Martino Facchin b37b0d1b6d pulseIn: add ASM implementation
this assembly code was generated by avr-gcc 4.8.3
2015-05-29 15:01:37 +02:00
Martino Facchin 0c9f0d50a5 Revert "Temporary fix for pulseIn() regression."
This reverts commit 8ddc5198f6.
To be substituted by ASM generated code
2015-05-29 15:01:37 +02:00
Federico Fissore 5933a7e8d3 Changing order of boards in boards menu: built-in first, boards manager second,
sketchbook hardware folder third. Each group if sorted by alpha, case
insensitive. Fixes #2650
2015-05-29 14:22:45 +02:00
Federico Fissore 1b7574a8b9 Boards Manager: contributions MAY miss tools, but we missed to consider this case. Fixes #3248 2015-05-29 14:22:45 +02:00
Cristian Maglie 31290179e7 update revision log 2015-05-29 12:55:41 +02:00
Arturo Guadalupi 394bab072c Merge pull request #3036 from damellis/tft-spi-transactions
Add SPI transactions to TFT library.
2015-05-29 12:45:27 +02:00
Federico Fissore 7d6518f68e Merge pull request #3229 from ffissore/indent-with-tab-no-brackets
Stop using [ and ] as indentation menu accelerators
2015-05-29 11:35:07 +02:00
Federico Fissore 886590e015 Merge pull request #3236 from ffissore/build-hooks
Additional build hooks
2015-05-29 11:34:54 +02:00
Federico Fissore 4bf40fc23b Stop using [ and ] as indentation menu accelerators. Use TAB/SHIFT+TAB instead. CMD+BRAKETS are still available on MacOSX only
Fixes #3224 and #220
Also see https://github.com/processing/processing/issues/2199
2015-05-28 17:28:46 +02:00
Federico Fissore b11d54e503 Compiler: adding hooks (custom recipes) between the main phases. New hooks are:
hooks.sketch.prebuild, hooks.sketch.postbuild, hooks.libraries.prebuild,
hooks.libraries.postbuild, hooks.core.prebuild, hooks.core.postbuild,
hooks.linking.prelink, hooks.linking.postlink, hooks.objcopy.preobjcopy,
hooks.objcopy.postobjcopy, hooks.savehex.presavehex, hooks.savehex.postsavehex
2015-05-28 17:28:24 +02:00
PaulStoffregen c1002e247f Add build symbols for compile time and sketch path 2015-05-28 17:28:24 +02:00
Federico Fissore 5490b96f2e SHIFT-save (upper toolbar) triggers "save as". Fixes #2220 2015-05-28 16:48:33 +02:00
Federico Fissore c84fb7fc90 Removed a handful of static methods delegates 2015-05-28 15:25:44 +02:00
Federico Fissore 8c83281a19 Do not cache PrinterJob instances. Cache is evil 2015-05-28 14:55:05 +02:00
Matthias Hertel a9cdd44d27 Optimizations: remove multiple calls to the status() function. 2015-05-28 11:00:23 +02:00
Martino Facchin d92bf5bdaa Merge pull request #3202 from Chris--A/randomSeed
Modified randomSeed, now uses unsigned long.
2015-05-28 10:54:26 +02:00
Martino Facchin 29e253495d Merge pull request #3193 from Chris--A/SD_Strings
Added String handling to SD class
2015-05-28 10:48:37 +02:00
Martino Facchin 9d13023075 Merge pull request #3211 from Chris--A/println-optimize
Println optimize
2015-05-28 10:24:12 +02:00
Cristian Maglie b4c5fa7109 Merge pull request #3244 from Lauszus/INT2
Check if INT2 is actually defined before issuing warning in detachInterrupt
2015-05-28 09:51:25 +02:00
Martino Facchin f816e76d47 Merge pull request #3207 from chromhelm/master
Fixed bug with HWSerial flushing
2015-05-28 09:44:46 +02:00
Kristian Sloth Lauszus 272d5cc93d Check if INT2 is actually defined before issuing warning in detachInterrupt
This was caused after: https://github.com/arduino/Arduino/pull/3221
2015-05-28 03:42:32 +02:00
Federico Fissore bd8f7932e6 Saving a couple of variables won't make the IDE any faster, but will make the dev slower 2015-05-27 19:20:45 +02:00
Federico Fissore 4bc93e5d53 MacOSX: millis arg was ignored 2015-05-27 17:43:15 +02:00
Federico Fissore 606aaee668 Toogle comments even using the DIVIDE key on the keypad, so non US keyboard can use the shortcut. Fixes #431 and https://code.google.com/p/arduino/issues/detail?id=76 2015-05-27 12:07:26 +02:00
Federico Fissore 4748e9df5e Avoid warning about SCCS folders in libraries, just ignore them. Fixes #3237 2015-05-27 11:26:00 +02:00
Federico Fissore a3eae13e5d Missing call to BaseNoGui.getPlatform().init() in tests 2015-05-26 14:53:15 +02:00
Federico Fissore 6f48a4083d Merge pull request #3227 from ffissore/editor-assembly-support
Allowing editing .S files
2015-05-26 12:04:49 +02:00
Federico Fissore 56e0349287 Allowing editing .S files. Fixes #1616 and #3059 2015-05-26 12:04:12 +02:00
Federico Fissore 2afdb8a6c3 MacOSX: when closing, no confirmation is displayed any more, unless at least one sketch is modified. In essence: now mac behaves just like the other OSs. Fixes #3093 2015-05-26 12:02:20 +02:00
Cristian Maglie 5ada9fae71 update revisions log 2015-05-26 10:51:12 +02:00
Cristian Maglie af512be286 Merge branch 'master' of github.com:arduino/Arduino 2015-05-26 10:47:30 +02:00
Federico Fissore 015f952f71 Merge pull request #2652 from swordmaster2k/master
Fix for #2402
2015-05-26 09:48:33 +02:00
Federico Fissore 9c1fd0d745 Scrollable menus can be a little higher 2015-05-26 09:26:52 +02:00
Cristian Maglie f495be46b6 Merge branch 'fixdetachinterrupt' of https://github.com/vicatcu/Arduino 2015-05-26 00:26:20 +02:00
Federico Fissore 777e726816 Windows: additional metadata to .exe 2015-05-25 17:51:46 +02:00
Federico Fissore 8a1e6c8a9b CollectStdOutExecutor and CollectStdOutStdErrExecutor were plain wrong, were losing data and were blocking compilation. Fixes #3124 and #3115 2015-05-25 16:34:25 +02:00
Federico Fissore 5faa1c9866 Removed Preferences.init: no one used it 2015-05-25 14:43:32 +02:00
Federico Fissore 6c2a6aef6f Revert "MacOSX: set NSSupportsAutomaticGraphicsSwitching to true, so the OSX can switch back to the integrated GPU and save battery. Fixes #3210"
This reverts commit 45b61ef02b.
2015-05-25 10:09:41 +02:00
Victor Aprea e9045d8b8a Add missing case to detachinterrupt 2015-05-24 20:35:23 -04:00
David A. Mellis de671f7e38 Don't find on Cmd+E, just set find text (Mac OS X). 2015-05-24 14:59:01 -04:00
Christopher Andrews 527c7c2572 Updated printLn on SAM core 2015-05-23 01:56:06 +10:00
Federico Fissore 45b61ef02b MacOSX: set NSSupportsAutomaticGraphicsSwitching to true, so the OSX can switch back to the integrated GPU and save battery. Fixes #3210 2015-05-22 17:44:55 +02:00
Federico Fissore cc4af81ac5 Fixed wrong storage of recently opened sketches 2015-05-22 17:44:55 +02:00
Cristian Maglie ab87be0b4f update revision log 2015-05-22 17:23:46 +02:00
Cristian Maglie e273178425 Indent fix. 2015-05-22 17:23:46 +02:00
Cano c4080efdb5 zero delay fix, ADC prescaler fix 2015-05-22 17:23:46 +02:00
Cano 219914ef22 delayMicroseconds(): added support for 1Mhz, 12Mhz and 24Mhz
1Mhz is a default clock speed on Atmega328, many users run it on the
internal 1Mhz clock to save battery power. Up until now
delayMicroseconds() function wasn't taking this frequencies into an
account.
2015-05-22 17:23:45 +02:00
Federico Fissore ab7b7351f5 Removed lots of calls to BaseNoGui.getPlatform(): static is evil 2015-05-22 15:58:47 +02:00