preprocessor defines and flags

30 views
Skip to first unread message

Rui Azevedo

unread,
Mar 22, 2014, 3:46:51 PM3/22/14
to devel...@arduino.cc
Is there any place, or planed to be any place for us to put defines other than the main file?

The idea is to customize included system code, i'm working on some arduino environment code that i would like to control by using defines.. and i'm sure there are much more reasons we need this.

due to the construction of IDE some environment includes are already done when the compiler reaches the user code, making the user lose the opportunity to customize the included code.

having a nice dialog to put some defines to be included in the main code before the libraries would work, and they could would work also for compiler flags.

Matthijs Kooijman

unread,
Mar 24, 2014, 6:36:51 AM3/24/14
to devel...@arduino.cc
Hi Rui,

> Is there any place, or planed to be any place for us to put defines other
> than the main file?
This is not currently possible, but there has been some talk about
implementing something for this.

See https://github.com/arduino/Arduino/issues/421

Gr.

Matthijs
signature.asc
Reply all
Reply to author
Forward
0 new messages