Skip to content
This repository was archived by the owner on Nov 26, 2020. It is now read-only.

Simplified PARSE_BOARD #12

Closed
wants to merge 1 commit into from
Closed

Simplified PARSE_BOARD #12

wants to merge 1 commit into from

Conversation

rei-vilo
Copy link

@rei-vilo rei-vilo commented Feb 7, 2012

Simplified PARSE_BOARD

PARSE_BOARD = $(shell grep $(1).$(2) $(BOARDS_TXT) | cut -d =... -f 2 )

instead of

nullstring  :=
spacestring := $(nullstring) # end of the line
equalstring := $(nullstring)=# end of the line
 # result = $(call READ_BOARD_TXT, 'boardname', 'parameter')
PARSE_BOARD = $(lastword $(subst $(equalstring),$(spacestring),$(shell grep $(1).$(2) $(BOARDS_TXT))))

@peplin
Copy link
Owner

peplin commented Feb 14, 2012

I tried to merge this, but the commit seems to have disappeared from your repository. I'll make the change manually - thanks!

@peplin peplin closed this Feb 14, 2012
peplin pushed a commit that referenced this pull request Jul 2, 2013
removed unnecessary .DS_Store from examples/BlinkWithoutDelay/
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants