Commit graph

66 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
4e80db2b3f Use setClockSpeed to increase SPI clock speed
This is only available in newer version of the API. It can be downloaded here: http://www.intel.com/support/edison/sb/CS-035180.htm and can both be used with the Edison and the Galileo
Note that I tried to set the clock rate higher than 12 MHz, but it did not work
2015-03-19 21:20:06 +01:00
Kristian Sloth Lauszus
d881e514ee Check for MIPSEL at the same place as Teensy 3.x and Galileo 2015-03-19 18:25:26 +01:00
Kristian Sloth Lauszus
424e351923 Put avrpins include back at original order
Also some whitespace fixes
2015-03-19 18:24:41 +01:00
Kristian Sloth Lauszus
73ce976198 Merge branch 'SPI' into Galileo
Conflicts:
	Usb.h
	avrpins.h
	usbhost.h
2015-03-19 16:36:51 +01:00
Kristian Sloth Lauszus
585b357ee5 Merge branch 'master' into SPI
Conflicts:
	settings.h
	usbhost.h
2015-03-19 15:34:07 +01:00
Andrew J. Kroll
2412be1bd9 Janitorial tab removal 2015-03-12 18:10:04 -04:00
Kristian Sloth Lauszus
73f791c859 Merge branch 'SPI' into Galileo
Conflicts:
	avrpins.h
	settings.h
	usbhost.h
2015-03-03 19:57:35 +01:00
Kristian Sloth Lauszus
d19d78f940 Always favour SPI library if it has transactions 2015-03-03 19:22:43 +01:00
Kristian Sloth Lauszus
c39e8a180c Merge branch 'master' into SPI
Conflicts:
	examples/Bluetooth/SPPMulti/SPPMulti.ino
	examples/adk/ArduinoBlinkLED/ArduinoBlinkLED.ino
	settings.h
	usbhost.h
2015-03-03 18:56:59 +01:00
Andrew J. Kroll
d25f28109d all sources to LF 2015-02-22 13:18:45 -05:00
Kristian Sloth Lauszus
6047962d60 Merge branch 'xxxajk'
Conflicts:
	XBOXUSB.h
	examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino
	hiduniversal.h
	settings.h
	usbhost.h
2015-02-22 18:25:22 +01:00
Matt Sieren
4cf9f34228 Moved include for nRF51822
Moved the include into the right file.
2014-11-22 09:53:59 +01:00
Matt Sieren
3646c650b6 Added RBL nRF51822 Support
Added support for the nRF51822 Board by RedBearLab.
2014-11-21 22:58:54 +01:00
Andrew J. Kroll
f2f57d71a3 Speedup SPI, fix PIC32 corner case for include 2014-09-25 23:14:04 -04:00
Andrew J. Kroll
740fa097e6 Add support for MIPS uC (PIC32X) and the ancient mpide "IDE" used for it 2014-09-22 22:53:11 -04:00
Kristian Lauszus
4ab24d9973 No need to __ARDUINO_X86__ to have it's own entry 2014-09-07 22:06:19 -07:00
Kristian Lauszus
a3db3d9451 Added support for the Intel Galileo
Still not tested
2014-08-24 16:40:18 -07:00
Kristian Lauszus
963c157bc5 Make sure that we send out empty bytes when receiving multiple bytes
Also fixed some comments
2014-08-03 18:01:55 +02:00
Kristian Lauszus
45df70641b Use new Arduino SPI library
See: https://github.com/arduino/Arduino/pull/2223
2014-08-02 15:06:46 -07:00
Kristian Lauszus
62f8cbbc25 Do not set SS pin for the Due
Let the Arduino SPI library take care of that
2014-03-07 02:19:34 +01:00
Kristian Lauszus
d8cadc5744 Increase SPI speed on the Due to 21MHz 2014-03-02 16:35:16 +01:00
Kristian Lauszus
39b6c3b124 Added support for the Arduino Due
Untested
2014-02-25 11:47:59 +01:00
Andrew J. Kroll
3ee654bb12 Very small optimization. 2013-12-28 14:43:21 -05:00
Andrew J. Kroll
f1af9b08ec Janitorial, whitespace fixes. No new code. 2013-12-25 05:09:57 -05:00
Kristian Lauszus
f283e90402 Renamed CLK, MOSI, MISO and SS variables, as they conflicted with defines in pins_arduino.h
See: 7fcba37acf
2013-12-15 22:19:50 +01:00
Andrew J. Kroll
6e70087f0b teensy 3.1 support 2013-12-11 14:15:51 -05:00
Andrew J. Kroll
8715cbde67 Add spi4teensy3 library support 2013-11-24 08:56:34 -05:00
Kristian Sloth Lauszus
82c52542cc Use pin definition in avrpins.h to set MAX_RESET pin on Arduino ADK 2013-10-21 02:17:47 +02:00
Kristian Sloth Lauszus
6752a52b82 Added error messages and updated some comments 2013-10-21 01:59:29 +02:00
Kristian Sloth Lauszus
59e9e0256b Merge branch 'xxxajk' into arm 2013-10-20 23:42:27 +02:00
Andrew J. Kroll
42fc48d129 locks and constructor/init fixes 2013-10-08 15:52:24 -04:00
Kristian Sloth Lauszus
84bab09221 Merge branch 'xxxajk' into arm
Conflicts:
	Usb.cpp
	Usb.h
	XBOXRECV.cpp
	adk.h
	avrpins.h
	cdcacm.h
	cdcprolific.h
	hid.h
	hidboot.h
	hidescriptorparser.cpp
	hidescriptorparser.h
	masstorage.h
	message.cpp
	parsetools.h
	usbhub.h
2013-10-05 01:11:51 +02:00
Andrew J. Kroll
387ec30447 Move Usb.h UsbCore.h and trim. Usb.h is now only includes, as it aught to be. Clean up more header files, more include traps. 2013-09-30 01:13:11 -04:00
Andrew J. Kroll
1a0d0690d3 compile faster 2013-09-23 18:40:10 -04:00
Andrew J. Kroll
156aa31a45 Shrink more. Fix capacity bug. Reduce includes, which reduces compile time. 2013-09-23 04:49:37 -04:00
Andrew J. Kroll
52445a97d7 remove unused defines, refactor vbus power enum 2013-09-08 13:11:22 -04:00
Kristian Sloth Lauszus
b3ead81c2c Added support for newest version of the Balanduino board 2013-08-31 13:24:52 +02:00
Andrew J. Kroll
a57215fb72 GPX vbus controls 2013-08-09 02:17:01 -04:00
Andrew J. Kroll
b30c56a86e Control switch via GPX pin. 2013-08-08 20:21:05 -04:00
Oleg Mazurov
261e5f1bd2 commit 2013-06-11 21:11:43 -06:00
PaulStoffregen
fca5a4125f Add Teensy 3.0 SPI to usbhost.h 2013-05-29 10:32:51 -07:00
Andrew J. Kroll
1cc3036eac Now mass storage works. Evil plans may begin. 2013-05-13 20:54:12 -04:00
Kristian Sloth Lauszus
06bf0f6227 Readded support for Arduino ADK, Leonardo etc. 2013-03-30 17:05:30 +01:00
Andrew J. Kroll
904f2ff25a Clean up code formatting to industry standards. 2013-03-28 04:46:43 -04:00
Andrew J. Kroll
629594f957 Merge my debug changes.
Merge my format sanity changes.
Track everything.
2013-03-28 03:26:02 -04:00
Kristian Lauszus
5a424b5523 Toggle the ADK reset pin 2012-09-09 14:37:16 +02:00
Kristian Lauszus
147c011750 Fixed ADK support 2012-03-19 16:21:19 +01:00
Oleg Mazurov
c86e258916 regression 2012-03-01 19:54:13 -07:00
Oleg Mazurov
702897bd5b acm bug fix 2012-02-29 12:37:16 -07:00
Ilya Bakulin
79668d97ea - Create conditional define BOARD_MEGA_ADK and move it into avrpins.h, which seems like a most suitable place for such things;
- Added pin define for Pj2;
- Use newly created BOARD_MEGA_ADK #define for separating Mega ADK-specific code from the common code.
2012-01-23 12:19:39 +04:00