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

5727 Commits

Author SHA1 Message Date
Cristian Maglie
43d3428d2b [HID] Added missing const in length 2015-09-28 17:05:36 +02:00
Cristian Maglie
953e6fa206 [HID] Removed unused PUSBReturn structure 2015-09-28 17:05:35 +02:00
Cristian Maglie
7d985f97a3 [HID] Changed 'u8' to 'uint8_t' in definitions 2015-09-28 17:05:35 +02:00
Nico
fa52c41ede Removed not needed Timer warning
Timer is declared above, so nothing is missing here.
2015-09-28 16:30:40 +02:00
Nico
5e1b4c7434 Removed Timer warnings when Timer 2 is not present 2015-09-28 16:30:40 +02:00
Nico
3bbff6fd2a Remove Compiler Warning in Tone.cpp 2015-09-28 16:30:39 +02:00
Nico
900ae49ee7 Fix compiler warning in CDC.cpp 2015-09-28 16:30:39 +02:00
Nico
228fa37568 Fix compiler warnings in USBCore.cpp 2015-09-28 16:30:39 +02:00
Nico
bd1124eb0f Fixed typo in Keyboard API 2015-09-28 14:21:01 +02:00
Paul Stoffregen
3f1b23bf61 Merge pull request #3847 from PaulStoffregen/keywords_per_platform
Allow per-platform keywords.txt
2015-09-28 05:11:14 -07:00
Cristian Maglie
209b0796e6 [HID] added 'const' qualifier in HID initialization
See https://github.com/arduino/Arduino/pull/3840#discussion_r40438845
2015-09-28 13:32:01 +02:00
Cristian Maglie
fba6ca88ed [HID] fixed wrong datatype for descriptor len
See https://github.com/arduino/Arduino/pull/3840/files#r40438845
2015-09-28 13:23:12 +02:00
Cristian Maglie
e4d63adf45 Merge branch 'pluggable_hid_impr' of https://github.com/cmaglie/Arduino 2015-09-28 12:06:35 +02:00
Arturo Guadalupi
bb1f584019 Added Arduino Zero exclusion to README 2015-09-28 11:29:18 +02:00
Cristian Maglie
435fc323e0 SAM: tidy up -mcpu and -mthumb params in platform.txt 2015-09-25 17:00:22 +02:00
Cristian Maglie
9eeeb50050 SAM: small cosmetic fix to platform.txt 2015-09-25 16:58:38 +02:00
Federico Fissore
fd79bfe8c9 Implemented Go to Line menu and shortcut CTRL+L. Fixes #976 2015-09-25 16:13:42 +02:00
Martino Facchin
53049046cb Merge pull request #3864 from facchinm/pulseInLongOVF
fix pulseInLong considering overflow
2015-09-25 16:05:35 +02:00
Federico Fissore
017640a621 Fixed license headers. See https://github.com/arduino/Arduino/pull/3498 2015-09-25 15:17:35 +02:00
Federico Fissore
f511c2451f Fallback to stock library_index.json file if the copy in .arduino15 is missing/corrupted or if it the downloaded one if corrupted. Fixes #3778 2015-09-25 12:54:50 +02:00
Federico Fissore
3872f5d315 Whoops, local packages were loaded at all. Fixed 2015-09-25 12:28:57 +02:00
Federico Fissore
b82aebd99a If a package is already defined, don't replace it with the one found (for example) in sketchbook/hardware, but merge their contents. Fixes #3851 2015-09-25 12:05:19 +02:00
Federico Fissore
469bc4ad6e Updating arduino-builder to 1.0.0-beta15 2015-09-25 10:34:32 +02:00
Federico Fissore
e2608e076e compile_everything.bash 2015-09-24 17:08:12 +02:00
Federico Fissore
befd7d42be OSX: attempting to draw a black dot in the upper left red button. Fixes #3816 2015-09-24 16:44:07 +02:00
Federico Fissore
71c81e30a7 Allow highlighting line with error even if gcc reports full path to file 2015-09-24 16:24:48 +02:00
Cristian Maglie
563a7306b9 Fixed another regression in IPAddress.h
If the includer tries to inlcude IPAddress.h without first including
WString.h the build will fail.
2015-09-24 15:52:32 +02:00
Federico Fissore
fc8f84f06b Adding .elf extension to compiled sketch list 2015-09-24 15:37:49 +02:00
Arturo Guadalupi
b01887424c Merge pull request #3855 from agdl/pulseInLongKeyword
Added pulseInLong Keyword
2015-09-24 12:32:23 +02:00
Arturo Guadalupi
c67e4244e3 Added pulseInLong Keyword 2015-09-24 12:30:12 +02:00
Federico Fissore
0b1f5249d4 Removing Esplora library from this repo. Downloaded at build time 2015-09-24 11:33:16 +02:00
Federico Fissore
737faaaba5 {build.path}/{archive_file} is now {archive_file_path} in recipe.ar.pattern 2015-09-24 11:28:26 +02:00
Cristian Maglie
7d0355c8f1 SAM: Stop build on unresolved symbols
Previously the linker flag:

  -Wl,--warn-unresolved-symbols

prevented the build to fail (the unresolved symbols were just
displayed as a warning).

See also: https://github.com/arduino/arduino-builder/issues/14
2015-09-24 10:31:15 +02:00
Federico Fissore
2fd3ee47f6 Updating arduino-builder to 1.0.0-beta14 2015-09-24 10:03:55 +02:00
Claudius Coenen
0a819edc54 removing unused variable from Stepper 2015-09-23 23:12:47 +02:00
Federico Fissore
2f586e2a88 Updated translations 2015-09-23 15:38:57 +02:00
Cristian Maglie
0083d75224 Fixed typo in Ethernet lib
Fix #3845
2015-09-23 14:50:28 +02:00
Cristian Maglie
361388e5d7 Fixed eclipse classhpath 2015-09-23 14:50:28 +02:00
PaulStoffregen
46cfb7f2d4 Allow per-platform keywords.txt 2015-09-23 05:43:14 -07:00
Federico Fissore
9421e1ceb5 Updating arduino-builder to 1.0.0-beta12 2015-09-23 14:11:32 +02:00
Cristian Maglie
401c4f0cf8 HID: merged HID_Descriptor into HIDDescriptorListNode
This simplifies the object model and produce a small gain in code
size and performance.
2015-09-22 16:51:30 +02:00
Cristian Maglie
f0cf13c89b HID: Renamed fields in HIDDescriptorListNode and HID_Descriptor
In particular HIDDescriptorListNode.cb has been renamed to
HIDDescriptorListNode.descriptor because it contains decriptor data
and not callbacks.

Moreover the HID_Descriptor.descriptor field has been renamed
to HID_Descriptor.data so the structure has now two fields length
and data.

   typedef struct __attribute__((packed)) {
     uint16_t length;
     const void* data;
   } HID_Descriptor;

   class HIDDescriptorListNode {
   public:
     HIDDescriptorListNode *next = NULL;
     const HID_Descriptor *descriptor;
     HIDDescriptorListNode(const HID_Descriptor *d) : descriptor(d) { }
   };

This imply a change in the use of the node from:

  node->cb->lenght
  node->cd->descriptor

to

  node->descriptor->length
  node->descriptor->data
2015-09-22 16:49:14 +02:00
Federico Fissore
6cfd50ea8d Updating arduino-builder to 1.0.0-beta11 2015-09-22 16:47:00 +02:00
Arturo Guadalupi
a4576a5c40 Merge pull request #3833 from agdl/ifSerialmods
Modified reference to Leonardo only in the examples
2015-09-22 15:55:58 +02:00
Federico Fissore
ccb7dd2974 Made an arduino-builder message easier to understand 2015-09-22 15:03:19 +02:00
Federico Fissore
f7358f3ddb Updating arduino-builder to 1.0.0-beta10 2015-09-22 14:25:08 +02:00
Federico Fissore
dbefad28e1 Examples from some libs have been retired 2015-09-22 09:10:29 +02:00
Federico Fissore
de8fcc9eb0 Examples menu: added group title. Fixes #3725 2015-09-21 15:31:22 +02:00
Federico Fissore
6128dace42 Removed some old code, including PdePreprocessor and OldCompiler 2015-09-21 15:20:31 +02:00
Arturo Guadalupi
9eaea4205d Modified reference to Leonardo only in the examples
According to #3786 removed the reference to Leonardo only in while(!Serial) of the examples.
Changed in in "wait for serial port to connect. Needed for native USB port only"
2015-09-21 14:58:58 +02:00