Commit Graph

5096 Commits

Author SHA1 Message Date
Peter Van Hoyweghen 13cc57ed7e Reset target before driving SCK or MOSI, reset sequence as in AVR datasheets under "Serial Programming Algorithm" 2015-08-26 22:43:00 +02:00
Peter Van Hoyweghen 044a7b78c7 Fix warnings. Use unsigned int to represent a (word) address: the compiler will use the most efficient type on each platform: 32 bit on arm,
16 bit on avr which is is big enough.
2015-07-29 21:37:04 +02:00
Peter Van Hoyweghen d271c1c8a2 BitBangedSPI::begin(): initialize levels of SCK and MOSI. Correct indentation. 2015-07-28 22:31:34 +02:00
Peter Van Hoyweghen 8d95899450 Call SPI.beginTransaction() after SPI.begin() 2015-07-28 22:26:58 +02:00
Peter Van Hoyweghen 89184a3668 Use new style SPI::beginTransaction() api, make SPI_CLOCK configurable, select hardware or software SPI based on SPI_CLOCK. 2015-07-14 23:06:54 +02:00
Peter Van Hoyweghen 50f9e539d8 Ensure minimum spi pulse width. 2015-07-14 21:20:39 +02:00
Peter Van Hoyweghen 5a04ab2a32 Don't pulse error led if avrdude enters programming mode twice 2015-07-13 21:49:42 +02:00
Peter Van Hoyweghen eca360bf42 Fix typo: SPI_CLOCK_DIV128 2015-07-13 21:30:34 +02:00
Peter Van Hoyweghen c8b5e99267 Configure the serial port to use. Prefer native USB port if the Arduino has one. 2015-07-13 21:30:33 +02:00
Peter Van Hoyweghen 64e52d8016 Implement bitbang SPI for slow clock devices. (Sylvan Butler). 2015-07-13 21:22:00 +02:00
Peter Van Hoyweghen a17a757722 Configure SPI pins as input when target is not in reset. 2015-07-13 21:22:00 +02:00
Peter Van Hoyweghen 15da182399 Support at89sx mcu's by adding the possibility to specify the polarity of the target reset signal. 2015-07-13 21:21:58 +02:00
Peter Van Hoyweghen 56e09109df The delay between reset and the enter progmode command got lost when introducing the SPI library. Put it back in. 2015-07-13 21:21:57 +02:00
Peter Van Hoyweghen 93b31b6cfa Simply use pin 10 to reset the target. It works for all Arduino's and allows the same "ArduinoISP shield" to be used on all of them. Such a shield has an ISP connector that: - wires MISO,MOSI, SCK, GND and 5V to the ISP connector of the programming Arduino - wires RESET to pin 10 of the programming Arduino. 2015-07-13 21:21:57 +02:00
Peter Van Hoyweghen ad2a32fd24 Avoid delay in heartbeat. That way we can also set the baudrate back to the value used in the IDE. In fact, with this fix, baud rates of up to 115200 work also. 2015-07-13 21:21:57 +02:00
Randall Bohn (Huckle) aeaed27e13 Use SPI library. 2015-07-13 21:18:17 +02:00
Randall Bohn (Huckle) 8dfe833e49 Set error if GET_SIGN_ON not followed by CRC_EOP 2015-07-13 21:13:54 +02:00
Randall Bohn (Huckle) d968c7a8ee Don't start_pmode if we're already in pmode. 2015-07-13 21:13:53 +02:00
Randall Bohn (Huckle) a2a06f56cc Be more specific about datatypes in the parameter struct. 2015-07-13 21:13:53 +02:00
Federico Fissore ce595ce818 Updating translations 2015-07-10 12:31:43 +02:00
Martino Facchin 27bc345ff8 Merge pull request #3490 from facchinm/PR3123
Merging PR3123
2015-07-09 13:45:19 +00:00
Martino Facchin e75d029c81 Ethernet: add getSocketNumber to keywords 2015-07-09 15:42:45 +02:00
Aberto Panu c5f0815f27 Add EthernetClient getSocketNumber() function 2015-07-09 15:42:26 +02:00
Federico Fissore 5d388e1646 Cleanup and java8 goodness 2015-07-09 15:20:38 +02:00
Federico Fissore 43f33d8220 Tools marked as installed but missing (as when you want to use a system installed avr-gcc) sets to "" the final build preference. Fixes #3074 2015-07-09 15:16:19 +02:00
Martino Facchin 2f3914eb97 LiquidCrystal: bumb version to 1.0.3
fix compatibility with Galileo and Edison
2015-07-09 15:04:26 +02:00
Federico Fissore 8f4c08af86 Added missing conditionals in keywords.txt. Fixes #966 2015-07-09 13:13:22 +02:00
Federico Fissore 28e8eb41cc Removed old app/format folder and its contents 2015-07-09 12:51:54 +02:00
Federico Fissore 2c05841588 EditorStatus rewritten: less shared state, shorter and cleaner code. Also fixes #666 2015-07-09 12:02:59 +02:00
Federico Fissore 444babdcb8 Merge pull request #3483 from sandeepmistry/issue-2911
Hide stack trace when the SerialUploader cannot find the selected board
2015-07-09 09:25:41 +02:00
Federico Fissore 0ec9431fc3 Merge pull request #3485 from Chris--A/fix_sketch_file_types
This adds 'hh' and 'hpp' as valid sketch files.
2015-07-09 09:17:55 +02:00
Chris--A 7f061ccb0c This adds 'hh' and 'hpp' as valid sketch files.
For completeness a sketch should allow the same extensions as a
library. These missing sketch extensions have already been enabled for
libraries in #3186.
2015-07-09 04:23:33 +10:00
Federico Fissore a906f23287 Base: removed dead code 2015-07-08 17:44:57 +02:00
Federico Fissore 09e2fedf52 Commit a9d10e069d may have caused issues when using IDE CLI 2015-07-08 17:35:24 +02:00
Federico Fissore 110a6e20d4 MacOSX: removed old Quaqua references 2015-07-08 17:21:24 +02:00
Federico Fissore a9d10e069d Editor: force setting text area content in event dispatcher thread 2015-07-08 16:43:58 +02:00
Federico Fissore f61cbb48b0 Code cleanup 2015-07-08 16:22:28 +02:00
Federico Fissore 3cf1204833 Keywords: added preprocessor directives. Fixes #3480 2015-07-08 16:21:31 +02:00
Federico Fissore 0ad73ebed3 Boards manager, nightly core support: missing negation on String.empty() made check report an opposite result 2015-07-08 14:46:48 +02:00
Federico Fissore 03a66b1035 Applying code inspection suggestions 2015-07-08 14:46:44 +02:00
Federico Fissore dae6e4fff7 Dropping Guava predicates in favour of java.util.function.Predicate 2015-07-08 14:20:25 +02:00
Federico Fissore ad1062455d Boards/Libs Manager: added Updatable filter. Shows Boards/Libs that can be updated 2015-07-08 12:43:25 +02:00
Federico Fissore fe3fa56a15 Yun bootloader without blink 2015-07-07 17:15:42 +02:00
Federico Fissore bf3fc880ac Compiler: compiled sketch discovery was missing merged sketch 2015-07-07 17:15:39 +02:00
Federico Fissore 974fef1000 Serial plotter: added comment to ReadAnalogVoltage. See #3451 2015-07-07 09:04:00 +02:00
Federico Fissore d9b3a86e84 Serial plotter: added comment to AnalogReadSerial. Fixes #3451 2015-07-06 15:27:07 +02:00
Federico Fissore 5e98cd8528 Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
Federico Fissore 1af21b2233 Fixed error when redoing/undoing auto format 2015-07-06 14:35:18 +02:00
Federico Fissore 0d857e7e20 libastyle update was wrong. here is right one 2015-07-06 13:31:15 +02:00
Federico Fissore 3158139e76 Updated revisions.txt 2015-07-06 12:48:06 +02:00