Arduino 1.5.5-r2 BETA

Bascom, Wiring és Arduino frissítések, hátterei esetleges hibái
Avatar
Robert
Elektronbűvölő
Hozzászólások: 10191
Csatlakozott: 2005. december 9. péntek, 7:00

Arduino 1.5.5-r2 BETA

Hozzászólás Szerző: Robert »

Az Arduino 1.5.x sorozat BETA tesztelésre megjelent. Éles, publikálható kódhoz NE használd, mert egzotikus hibák vannak még benne.


ARDUINO 1.5.5-r2 BETA 2014.01.10

* Signed drivers for Windows 8.1
* Fixed Windows drivers signature (that prevented installation on
some Windows 8.x OS). Now the signature is timestamped and should
not expire.

ARDUINO 1.5.5 BETA 2013.11.28

NOTICE:
The 1.5 library format is under heavy review on the Arduino Developers mailing list.
We suggest to delay the adoption of the new format until a stable 1.5.x is released.

[ide]
* Added missing keywords: YunServer, YunClient, pow
* Improved folder ignore: now hidden, starting with a dot, and SCCS folders are ignored
* Improved auto format: now handled by Artistic Style http://astyle.sourceforge.net/
* Improved SSH uploader (Arduino Yun): uses file ~/.ssh/config if available.
Allows public key only authentication and ssh servers listening on ports other than 22.
* Font anti-aliasing now ON by default (users will have to either delete or manually edit their preferences.txt file)
* Added warning message when opening sketches with additional files with illegal names
* (windows) Upgraded embedded Java runtime to version 7: much faster startup
* Improved files open/save dialogs
* Added line numbers, can be enabled/disabled from preferences (Cayci Gorlitsky)
* Removed check on forbidden file in 1.5 formatted libraries (#1692)
* (windows) Updated msys-1.0.dll to the latest version (Windows 8.1 compatibility)
* Using

Kód: Egész kijelölése

 tag instead of [quote] in "Copy for forum". Removed color coding.
* When an hardware addon reference another core also the libraries are referenced.
* It's now possible to specify additional custom board parameters from command line.
* Sketches path can be relative (#1493)
* Example and Boards are now scrollable.
* Fixed localization issues that sometimes prevented the IDE to start.
* Added "Using library..." debugging message in verbose compile.
* Improved preprocessor (fixes #1653, #1687, #817, #1293, #1245)
* Fixed StringStartsWithEndsWith, KeyboardMessage, LCD CustomCharacter, Blink without delay, SD List files, Arduino Robot examples
* Added PID/VID for older Arduinos
* (mac) Improved board autodetection on Mac OS X

[libraries]
* Bridge: Fixed buffer overflow in File::doBuffer() (dreggy)
* Bridge: Fixed timeout in Bridge::transfer()
* Bridge: Fixed return value of Bridge::get(..) (returning 0 with valid data len >0)
* Bridge: Implemented multi-byte File::read(..)
* sam: Fixed SPI initialization (when using extended API and multiple CS)
* Partially fixed the behavior of EthernetClient::flush(), now it doesn't discard
  incoming data BUT it doesn't wait for outgoing data to be successfully transmitted.
* Esplora: Added support for display GREENTAB_L

[core]
* sam: Fixed wrong initialization for ADC timings (analogRead speed Arduino DUE improved by a factor x10)
       https://github.com/arduino/Arduino/issues/1418
       (http://www.djerickson.com/arduino/)
* avr: Fixed wrong extended fuses on Arduino Yún when using external programmer
* Added LED_BUILTIN metadata in variant files
* avr: Refactored Mega* variants definitions in boards.txt (Kristian Sloth Lauszus)
* avr: Removed File object destructor. In order to free memory allocated by a File object the safest way is to call its close() method
* Added digitalPinToInterrupt variant macro (Paul Stoffregen)
* avr: added variant file for Arduino Ethernet
* Added SERIAL_* metadata in variants files (Paul Stoffregen)
Avatar
csabeszq
Bitfaragó
Hozzászólások: 678
Csatlakozott: 2012. szeptember 5. szerda, 6:00

Re: Arduino 1.5.5-r2 BETA

Hozzászólás Szerző: csabeszq »

Hát, szerintem azzal kellene kezdeni, hogy konstans pinszám esetén a digitalWrite és digitalRead függvényhívás helyett sbi/cbi/in 2 byte-os assemblyre fordítódjon le. Ja, meg a toggle is menjen.

A jelenlegi megoldás a legjobb esetben is csak ideiglenesnek nevezhető.
Avatar
Robert
Elektronbűvölő
Hozzászólások: 10191
Csatlakozott: 2005. december 9. péntek, 7:00

Re: Arduino 1.5.5-r2 BETA

Hozzászólás Szerző: Robert »

Egy megoldás. Csak ez túlmutat az Arduino logikán, mert kell ismerni a chip lábkiosztását/regiszterkezelést.
De akkor is meg kellene/lehetne csinálni.
Bár szerintem a lábbeállítás idejét időzítésre/késleltetésre is használják, így nem megy. Bár egy NewDigitalWrite utasítás születhetne :)

http://skpang.co.uk/blog/archives/323


Még nem próbáltam ki, de a 0...13 lábra jó lenne...

Kód: Egész kijelölése

// Macros To Speed Up Read/Writes
#define Macro_SetPin( pin, state ) \
( state == LOW ) ? Macro_SetPinLow( (pin) ) : Macro_SetPinHigh( (pin) )

#define Macro_SetPinLow( pin ) \
( (pin) < 8 ) ? PORTD = PORTD & ~( 1 << (pin) ) \
: PORTB = PORTB & ~( 1 << ( (pin) – 8 ) )

#define Macro_SetPinHigh( pin ) \
( (pin) < 8 ) ? PORTD = PORTD | ( 1 << (pin) ) \
: PORTB = PORTB | ( 1 << ( (pin) – 8 ) )
Válasz küldése