Skip to content

sam: Missing support for HardwareSerial configuration #2966

@udoklein

Description

@udoklein

With commit 1fab8c8 on Jan 16 2014 the AVR version of HardwareSerial introduced a new method void HardwareSerial::begin(unsigned long baud, byte config) The SAM version https://github.com/arduino/Arduino/blob/master/hardware/arduino/sam/cores/arduino/HardwareSerial.h does not offer this kind of feature. According to the documentation http://arduino.cc/en/Serial/Begin I would have assumed that the SAM version offers this as well. How can this be fixed? Reason why I would need it: in my DCF77 project I have a "Meinberg Emulator" http://blog.blinkenlight.net/experiments/dcf77/meinberg-emulator/. This Emulator requires serial communication with mode 7e2. I want to port this to support both AVR and SAM.

Metadata

Metadata

Assignees

Labels

Architecture: AVRApplies only to the AVR microcontrollers (Uno, etc.)Component: CoreRelated to the code for the standard Arduino API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions