Skip to content

pass board type from boards.txt [imported] #308

Closed
@cmaglie

Description

@cmaglie

This is Issue 308 moved from a Google Code project.
Added by 2010-07-30T17:41:03.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium

Original description

What change would like to see?

Something that I think is desperately needed is a way to pass a #define from the boards.txt file to the compiler.
For example

arduino.build.define=BOARD_MEGA1280

And allow for as many of these, then would then be passed to the compiler as -DBOARD_MEGA1280

Why?

There are many boards that use the same CPU but have different capabilities. This would allow easier pre-processing in the various files

Would this cause any incompatibilities with previous versions? If so, how
can these be mitigated?

No issues at all.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions