Sometimes you need some extras and don't want to create a custom board file.
How to call make and add some extra DEFINES. like those:
I think just DEFINES=-Dhello ... make will do it?
DEFINES=-Dhello ... make
Was a bit sceptical about this, because of DEFINES+= but it works - thanks.
DEFINES+= just means 'add to the end of DEFINES' - so if you've set DEFINES to something before running make then you should be fine ;)
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem