Skip to content

Use GCC binary constants format #3561

Open
@mikaelpatel

Description

@mikaelpatel

https://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html

This would allow a simpler solution to binary number constants and the file binary.h https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/binary.h becomes unnecessary.

Motivation: Standard, less complex, portability, reduce error risk (unsigned/signed/number size), reduce source code size.

Drawbacks: Large ripple effect on code that uses the Arduino "binary" format.

Metadata

Metadata

Assignees

Labels

Component: CoreRelated to the code for the standard Arduino APIComponent: DocumentationRelated to Arduino's documentation contentLibrary: OtherArduino libraries that don't have their own labelfeature requestA request to make an enhancement (not a bug fix)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions