Skip to content

Build symbol with board identity #1237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mikaelpatel opened this issue Jan 20, 2013 · 1 comment
Closed

Build symbol with board identity #1237

mikaelpatel opened this issue Jan 20, 2013 · 1 comment
Labels
Type: Duplicate Another item already exists for this topic

Comments

@mikaelpatel
Copy link

Hi!

I am working on an object-oriented platform for the Arduino and have start to add support for several Arduino boards.

A compiler defined preprocessor symbol with the Arduino board would help when writing variant code. For instance -DBOARD=MEGA2560 passed to g++. This could come from the variant file (boards.txt).

For now I am using the AVR processor symbol (as in the Arduino code).

Keep up the great work, Mikael

PS: For interested the platform is available on github https://github.com/mikaelpatel/Cosa DS.

@cmaglie
Copy link
Member

cmaglie commented Mar 7, 2013

Duplicate of #308

@cmaglie cmaglie closed this as completed Mar 7, 2013
@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Jul 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

3 participants