Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use GCC binary constants format #3561

Open
Assignees
Labels
Component: CoreRelated to the code for the standard Arduino API Component: DocumentationRelated to Arduino's documentation content Library: OtherArduino libraries that don't have their own label feature requestA request to make an enhancement (not a bug fix)
@mikaelpatel

Description

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 API Component: DocumentationRelated to Arduino's documentation content Library: OtherArduino libraries that don't have their own label feature 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

      AltStyle によって変換されたページ (->オリジナル) /