Skip to content

Commit

Permalink
Fix multiple definition in mbed framework when using abstract class /…
Browse files Browse the repository at this point in the history
…/ Issue #641, #666
  • Loading branch information
valeros committed Jun 2, 2016
1 parent 03d9351 commit 0c8f469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platformio/builder/scripts/frameworks/mbed.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def get_build_flags(data):

def _mbed_whole_archive_hook(libs_):
if (not isinstance(libs_, list) or
env.get("BOARD_OPTIONS", {}).get("platform") != "ststm32"):
env.get("BOARD_OPTIONS", {}).get("platform") == "nordicnrf51"):
return libs_

_dynlibs = []
Expand Down

0 comments on commit 0c8f469

Please sign in to comment.