Skip to content

Conversation

@jafr
Copy link

@jafr jafr commented Mar 7, 2014

No description provided.

Federico Fissore and others added 30 commits October 22, 2013 15:36
…running the IDE from the command line

Eg: --board arduino:avr:pro:cpu=8MHzatmega168,other=value
Closes arduino#1353
…flicting with files in IDE install location
… see: arduino#223

It now also parses PID and VID values with text afterwards properly
Can now detect devices with serial number in the port number on OSX
Added VID and PID for older Arduino Unos
Conflicts:
	libraries/Ethernet/examples/XivelyClient/XivelyClient.ino
	libraries/Ethernet/examples/XivelyClientString/XivelyClientString.ino
	libraries/GSM/examples/GSMXivelyClient/GSMXivelyClient.ino
	libraries/GSM/examples/GSMXivelyClientString/GSMXivelyClientString.ino
	libraries/Servo/examples/Knob/Knob.ino
	libraries/Servo/examples/Sweep/Sweep.ino
	libraries/WiFi/examples/WiFiXivelyClient/WiFiXivelyClient.ino
	libraries/WiFi/examples/WiFiXivelyClientString/WiFiXivelyClientString.ino
Federico Fissore and others added 28 commits February 17, 2014 09:19
Conflicts:
	app/src/processing/app/Base.java
This was already fixed for HardwareSerial.cpp in arduino#1863, but there was
one more case hidden in HardwareSerial_private.h.

The index attributes have been uint8_t for a while, so there is no point
in using int for local variables. This should allow the compiler to
generate slightly more efficient code, but (at least on gcc 4.8.2) it
also confuses the register allocator, causing this change to increase
code size by 2 bytes instead due to extra push/pop instructions (but
this will probably change in the future if the compiler improves).
…every time we build the IDE.

This is particularly nice when working offline
Don't try to fetch astyle/jre on each build.
The code used to say:

  while (EFC0->EEFC_FSR & EEFC_FSR_FRDY == 0);

This triggered a compiler warning, which is why I looked at this line
more closely:

	warning: suggest parentheses around comparison in operand of '&'

As the warning indicates, because the == operator has higher precedence
than the & operator, the compiler is interpreting this line as:

  while (EFC0->EEFC_FSR & (EEFC_FSR_FRDY == 0));

Since EEFC_FSR_FRDY is defined as 1, (EEFC_FSR_FRDY == 0) is always
false (== 0) and this reduces to:

  while (EFC0->EEFC_FSR & 0);

Which reduces to:

  while (0);

So effectively this line is a no-op.

This commit adds parenthesis to restore the intended behaviour.
…l-int

In HardwareSerial::_rx_complete_irq, don't use int for buffer index
JSSC, on unix based systems like linux and MacOSX, when listing serial ports
tries to open each port to ensure its existence. While this check works well for
linux ports /dev/ttyS0..31, it leads to unexpected behaviuors on MacOSX in
particular with USB-CDC virtual serial ports.
This patch disable the check and keep it enabled only for linux ttySxx ports.

This adds also tty.* and cu.* to the list of available serial ports on MacOSX.
…as they require a different approach and have a different history
…8.1' into xmegaduino-with-avr-toolchain-gcc-4.8.1
@ffissore
Copy link
Contributor

ffissore commented Mar 7, 2014

Wrong pull request. It contains months of commits and is lacking a description of the proposed feature. Closing

@ffissore ffissore closed this Mar 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.