Thibault RICHARD
6ae6a0eaf2
[sam] fixing ADC, taken from ASF, checked and tested verified
2012-04-11 19:30:13 +02:00
Thibault RICHARD
0832334a71
[sam] fixing makefiles for toolchain path containing spaces
2012-04-11 19:26:06 +02:00
Thibaut VIARD
431f3ea5fe
[sam] preliminary update for analog
2012-04-10 18:27:43 +02:00
Cristian Maglie
650d2e9a1a
Added USBHost lib from Arduino ADK
2012-04-06 17:18:55 +02:00
Thibaut VIARD
be1ded6c86
[sam] adding -fdata-sections to makefiles
2012-04-05 20:14:21 +02:00
Thibaut VIARD
e10cabc054
[sam] fixing linker files and adding a compiler option
2012-04-05 18:23:19 +02:00
Thibaut VIARD
5e3faa6d5d
[sam] putting temporary USBCore as disabled to allow compilation
2012-04-05 18:00:45 +02:00
Thibaut VIARD
ba47ad6b8d
[sam] fixing badly the SAM3U UDPHS driver
2012-04-05 12:13:48 +02:00
Cristian Maglie
b7c8b3ea74
Fixed compiling on windows
2012-04-02 18:30:53 +02:00
Thibaut VIARD
f83cd2f3e7
[sam] prelimanary work on USB Device stack
2012-03-29 21:11:05 +02:00
Thibaut VIARD
5b3580fe36
[sam] fixing boards definitions
2012-03-29 17:16:37 +02:00
Thibaut VIARD
009bc1b722
[sam] adding prototypes to USB_driver.h
2012-03-29 11:37:35 +02:00
Thibaut VIARD
d7ae25360a
[sam] removing usb driver from API core
2012-03-29 11:00:47 +02:00
Thibaut VIARD
1b591962f1
[sam] separating usb driver from core part
2012-03-29 10:59:24 +02:00
Thibaut VIARD
f865dde7ee
[sam] moving ATMEL boards to dedicated place
2012-03-29 10:48:24 +02:00
Thibaut VIARD
dd8a20ad20
[sam] harmonizing building and source between variants (SAM EK need
...
rework)
2012-03-27 13:16:27 +02:00
Thibaut VIARD
d77dbe24ef
Merge branch 'platforms-arm' of https://github.com/arduino/ARM into platforms-arm
2012-03-27 12:22:32 +02:00
Thibaut VIARD
e84859656a
[sam] fixing int handlers prototypes and build files cleanup
2012-03-27 12:20:47 +02:00
Thibaut VIARD
baf2b2cc07
[sam] adding c99 and c++98 std options
2012-03-27 12:13:51 +02:00
Thibaut VIARD
3f1cdbaf5a
[sam] fixing warning and doing cleanup of libsam build
2012-03-27 12:03:40 +02:00
Cristian Maglie
21c661c9d4
[sam] fixed basic IDE compilation for sam3x
2012-03-26 19:27:45 +02:00
Thibaut VIARD
042149a9b1
[sam] Fixing arduino_due_x variant
2012-03-26 18:09:10 +02:00
Thibaut VIARD
2aa1f3ea34
[sam] removing useless DAC datasheet
2012-03-26 17:18:40 +02:00
Thibaut VIARD
02f620c1d3
[sam] switching to CMSIS Atmel package
2012-03-26 16:50:47 +02:00
Thibaut VIARD
62f3181008
[sam] removing current CMSIS package, better to use Atmel one
2012-03-26 13:46:46 +02:00
Thibaut VIARD
d1c8c5db3a
[sam] fixing variants names following Cristian renaming
2012-03-26 13:26:19 +02:00
unknown
aa3dde0973
[sam] fixing libsam and adding support of due_x
2012-03-23 16:24:17 +01:00
unknown
33d4e07315
[sam] fixing wrong function header
2012-03-23 16:10:35 +01:00
unknown
47a37049eb
[sam] Fixing cmsis system_sam3xa.c call to header
2012-03-23 16:03:41 +01:00
unknown
bdb4e991aa
[sam] renaming cmsis system files to be consistent with the series naming
2012-03-23 16:02:00 +01:00
Cristian Maglie
d32541353e
ARM: Added sam3x variant
2012-03-20 13:48:44 +01:00
Cristian Maglie
9d4cb18f05
ARM: Fixed some compiling issues
2012-02-13 18:00:10 +01:00
Cristian Maglie
1479b2b4cf
ARM: updated package preferences
2012-02-13 17:58:30 +01:00
Cristian Maglie
043c190876
Upload size computation is now parametric
2012-02-06 00:51:24 +01:00
Cristian Maglie
a141a1dc1e
Upload/Program with configurable generic command line tools (wip)
2012-02-05 23:17:15 +01:00
Cristian Maglie
30ec90aca3
First attemp to generalize upload for mutiplatform IDE
2012-02-01 14:34:29 +01:00
Cristian Maglie
861aa9308b
[arm] other refinements to platform.txt for sam3u
2012-01-13 20:41:01 +01:00
Cristian Maglie
fe001fdaba
Factored out some common build variables
2012-01-13 20:39:48 +01:00
Cristian Maglie
160fa18adb
Fixed platforms.txt and corrected some paths for multiplatform IDE
2012-01-13 19:09:07 +01:00
Cristian Maglie
34d9004db7
disabled test projects (should be moved in another folder)
2012-01-13 18:14:58 +01:00
Cristian Maglie
47e8a813c8
Merge refinements
2012-01-11 13:59:16 +01:00
Cristian Maglie
1a92ce8fdb
Moved 'sam' platform inside arduino package.
2012-01-11 13:46:51 +01:00
Cristian Maglie
c2d1de3844
Removed unused/unuseful defines from platform.txt
2012-01-09 18:51:51 +01:00
Cristian Maglie
57b8713cab
Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform
2012-01-04 15:14:51 +01:00
Cristian Maglie
387e6b63c7
Renamed platforms.txt to platform.txt
2012-01-02 19:11:57 +01:00
Cristian Maglie
06b6d060db
Removed implicit xxxx.platform=avr from boards.txt
2012-01-02 17:02:04 +01:00
Cristian Maglie
5ad4422fc7
Merge remote-tracking branch 'arduino/master' into platforms-b
2011-12-31 17:29:36 +01:00
Cristian Maglie
abe41d805d
platforms.txt recipes now have symbolic variables instead of indexes ({0},{1},etc.)
...
Recipes arguments are splitted with spaces instead of |. Single argument containing spaces
should be placed between "double quotes".
Refactored and formatted Compiler class, removed all unused code in comments.
2011-12-31 14:32:48 +01:00
David A. Mellis
f520bb5051
Simplifying microseconds <-> clock cycles conversions. (Rob Tillaart)
...
This should fix problems with overflows in pulseIn(). It may make millis() slightly less precise for clock speeds that aren't multiple of 1 million, but we don't really support those anyway.
http://code.google.com/p/arduino/issues/detail?id=675
2011-12-30 18:05:12 -05:00
Cristian Maglie
1b3ae5fa63
Created second level in hardware folder: hardware/PACKAGE/PLATFORM/...
...
Made some helper class for files filtering.
platforms.txt now contains only one platform at a time.
Some cleanup in Compiler and AvrDudeUploader classes.
2011-12-30 15:46:04 +01:00
David A. Mellis
80a2154279
Fixing ArduinoISP sketch by lowering baud rate to 9600 (from 19200).
...
http://code.google.com/p/arduino/issues/detail?id=661
2011-12-28 18:43:36 -05:00
Cristian Maglie
e63c2d1429
Various post-merge refinements.
2011-12-22 13:07:39 +01:00
Cristian Maglie
65c15d93eb
Merge commit 'fcbbf8f4b4960bae1091c0cd9dc58b4a1885baf6' into platforms-b
...
Conflicts:
app/src/processing/app/Base.java
app/src/processing/app/debug/Compiler.java
build/build.xml
hardware/arduino/boards.txt
2011-12-22 00:35:33 +01:00
David A. Mellis
eb380de972
Updated reference voltage defines for ATmega1284P.
...
http://code.google.com/p/arduino/issues/detail?id=728
2011-12-02 17:18:15 -05:00
David A. Mellis
d7d0e304d5
Support 3rd external interrupt on ATmega1284P (maniacbug)
...
http://code.google.com/p/arduino/issues/detail?id=728
2011-12-02 17:17:27 -05:00
David A. Mellis
0d70c7272e
Fixing delayMicroseconds() timing for 20 MHz clocks. (Erdem U. Altinyurt)
...
http://code.google.com/p/arduino/issues/detail?id=306
2011-12-02 17:04:20 -05:00
David A. Mellis
dca1dc429a
Removing Leonardo (and Mouse/Keyboard examples) for Arduino 1.0 release.
...
These will return, but the code isn't finished yet so I don't want to include it.
2011-11-28 18:47:45 -05:00
David A. Mellis
3df132aea9
Correcting Arduino Mini w/ ATmega328 bootloader file and fuses (untested).
2011-11-25 19:26:01 -06:00
David A. Mellis
ed48d17e20
readBytes() and readBytesUntil() handle zero bytes and return # of bytes read.
...
http://code.google.com/p/arduino/issues/detail?id=586
2011-11-19 16:23:19 -05:00
David A. Mellis
4119b9089b
Adding Arduino Mini w/ ATmega328.
...
http://code.google.com/p/arduino/issues/detail?id=710
2011-11-19 16:22:46 -05:00
Zach Eveland
75eb722759
Leonardo bootloader now sends iSerial string during enumeration. Seems to satisfy Windows' composite device requirements.
2011-11-16 16:38:22 -05:00
Zach Eveland
9b58072423
Fixed size of const array mapping digital pin number to bit mask.
2011-11-16 12:15:57 -05:00
Zach Eveland
21ee685489
Updated digital pin and port mapping constants in pins_arduino.h for Leonardo.
...
Changed digital_pin_to_port_PGM[] and digital_pin_to_bit_mask_PGM[] to reflect changes to constants for SPI and analog pins
2011-11-16 11:20:38 -05:00
Zach Eveland
5f574b3634
Swapped Dx assignment for MISO and SS to make numbering more sane (Dave Mellis). Also updated comments on pin numbers.
2011-11-16 11:00:21 -05:00
Zach Eveland
ba5d66c26f
Fixed handling of Ax constants on Leonardo
...
Fixed mistake in assignment and handling of A6-A11 constants. Renumbered constants for all Ax channels.
2011-11-16 10:49:41 -05:00
Zach Eveland
3ee847c8e2
updated pins_arduino.h for Leonardo to reflect final mapping of A6-A11
2011-11-15 09:48:09 -05:00
Zach Eveland
56d06e15ed
Merge branch 'new-extension' of github.com:arduino/Arduino into new-extension
2011-11-15 09:33:11 -05:00
Cristian Maglie
6ceb9a19de
Added latest firmware for usbserial (not combined with DFU)
2011-11-12 12:57:30 +01:00
Cristian Maglie
17adbbcfc5
Added latest firmware for atmega16u2 on R3 boards
2011-11-11 11:38:04 -05:00
Zach Eveland
cd6aa2b1f3
restored original non-interrupt-driven DiskLoader
...
Interrupt-driven version was a dead-end - too many bugs with that approach.
2011-11-09 14:04:59 -05:00
Zach Eveland
f0801e61e6
updated analog pin assignments and declared TWI/I2C pins
...
Fixed analog pin to ADC channel mapping to match new scheme. Changed mapping of analog pins to digital channels so that A6-A11 point back to the correct digital pins. Declared SDA and SCL pins.
(All from Federico Vanzati's comments)
2011-11-08 22:06:15 -05:00
Zach Eveland
42fadb6f6d
added 12th ADC channel for Leonardo. cleaned up and corrected comments for pin functions.
2011-11-02 07:37:39 -04:00
Zach Eveland
c8f495ba7f
changed Leonardo PID to 0x0032 for Diskloader testing. updated .inf to match.
2011-10-31 23:44:32 -04:00
Zach Eveland
76ed870de8
Merge branch 'new-extension' of github.com:arduino/Arduino into diskloader_reboot
2011-10-31 21:42:09 -04:00
Zach Eveland
4a77aea4e5
check to see if a sketch has been loaded before jumping out of bootloader
2011-10-31 21:36:29 -04:00
David A. Mellis
10001866e6
Protecting the version of parseInt() and parseFloat(). (Paul Stoffregen)
...
This should allow us more flexibility in determining how to handle these functions later. For example, in specifying that initial characters shouldn't be skipped.
http://code.google.com/p/arduino/issues/detail?id=698
2011-10-29 17:40:23 -04:00
Zach Eveland
a6381bb564
renamed bootloader file
2011-10-27 11:52:10 -04:00
Zach Eveland
a6a59f1783
Revert "Merge branch 'master' of github.com:arduino/Arduino into diskloader_reboot"
...
This reverts commit df9835efaf
, reversing
changes made to ec45af8bfa
.
Conflicts:
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
2011-10-27 11:45:13 -04:00
Zach Eveland
f2bd8a5394
Merge branch 'new-extension' of github.com:arduino/Arduino into diskloader_reboot
...
Conflicts:
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClient/PachubeClient.ino
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
2011-10-27 11:41:02 -04:00
Zach Eveland
03e1515a51
changes in core and boards.txt to support new bootloader
...
old bootloader could fit in only 2 kB of flash. new version has to have a 4 kB block - jump-to address and boards.txt must reflect this.
2011-10-27 11:36:10 -04:00
Zach Eveland
be51da6b0d
bootloader runs sketch after timeout, added bootloader LED breathing
2011-10-27 11:27:24 -04:00
Zach Eveland
b70f79ea2c
cosmetic changes - remove old comments, unused code
2011-10-27 10:54:21 -04:00
Zach Eveland
040a469f79
removed conditional compilation checks for CDC_ENABLED
...
bootloader must always have CDC enabled
2011-10-27 10:48:26 -04:00
Zach Eveland
9dc9e60704
removed old comments and unused USB core code
2011-10-27 10:45:13 -04:00
Zach Eveland
3d848a5b9a
brought nuevo_diskloader changes over to diskloader
...
Moved nuevo_diskloader files into diskloader directory. Changed back to real PID for Leonardo
2011-10-27 10:23:06 -04:00
Zach Eveland
df9835efaf
Merge branch 'master' of github.com:arduino/Arduino into diskloader_reboot
...
Conflicts:
app/src/processing/app/Editor.java
app/src/processing/app/Sketch.java
build/shared/examples/4.Communication/SerialCallResponse/SerialCallResponse.pde
build/shared/lib/theme/theme.txt
hardware/arduino/cores/arduino/HardwareSerial.h
hardware/arduino/cores/arduino/Print.cpp
hardware/arduino/cores/arduino/WString.h
hardware/arduino/variants/mega/pins_arduino.h
libraries/Ethernet/examples/PachubeClient/PachubeClient.ino
libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino
libraries/Firmata/examples/EchoString/EchoString.ino
libraries/SD/File.cpp
libraries/SoftwareSerial/SoftwareSerial.cpp
libraries/SoftwareSerial/SoftwareSerial.h
libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino
libraries/SoftwareSerial/keywords.txt
2011-10-27 09:32:27 -04:00
Zach Eveland
ec45af8bfa
working bootloader. had to move interrupts back to application section. NOTE: need to have sketch CDC jump to appropriate place for bootloader - 4k from end instead of 2k
2011-10-26 16:51:42 -04:00
Zach Eveland
32614bf841
working (?!?!?!) bootloader. doesn't yet restart chip after upload completes.
2011-10-26 12:53:57 -04:00
Zach Eveland
e806be8c2a
uploading now completes using RC2 on Win7
2011-10-26 11:28:07 -04:00
Zach Eveland
9e72b06a75
closer still - now up to 4680
2011-10-25 19:04:31 -04:00
Zach Eveland
d50b95eac1
progress on bootloader bug - have implemented blocking USB_Recv. avrdude makes it to flash programming address 0400 or so before hanging
2011-10-25 18:56:10 -04:00
David A. Mellis
d9f9676d23
Bug fix in replace().
...
http://code.google.com/p/arduino/issues/detail?id=694
2011-10-25 11:15:14 -04:00
Zach Eveland
cca9401589
fixed logic bug in waiting for synch. stripped out all Serial stuff
2011-10-24 22:12:45 -04:00
Zach Eveland
55178d9b8d
removed old comments
2011-10-24 21:36:06 -04:00
David A. Mellis
f729e0321b
Moving ARDUINO_MAIN from main.cpp to wiring_digital.c and hiding PA, PB, etc.
...
http://code.google.com/p/arduino/issues/detail?id=677
http://code.google.com/p/arduino/issues/detail?id=691
2011-10-24 16:50:15 -04:00
David A. Mellis
18838fb44a
Renaming LED to LED_BUILTIN.
...
http://code.google.com/p/arduino/issues/detail?id=651
2011-10-24 16:45:44 -04:00
David A. Mellis
8336c88211
Correcting analogReference() constants for ATtiny24/44/84 and 25/45/85.
...
DEFAULT, EXTERNAL, and INTERNAL have different values on those processors.
2011-10-24 15:44:01 -04:00
Zach Eveland
3e775af6d8
bootloader responds properly now. nearly there - still have an issue with it falling out of sync after completing most operations
2011-10-23 16:49:36 -04:00
Zach Eveland
fa26e288a5
more attempts to get parameter sending to work
2011-10-21 20:30:55 -04:00
Zach Eveland
44b90b9f6a
some progress on responding to parameter requests
2011-10-21 20:06:17 -04:00